Metadata-Version: 2.1
Name: deps-helper
Version: 0.1.1
Summary: dependencies helper
Keywords: dependecy
Author: jason
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown

# deps_helper [WIP]
Dependency helper for properties of python class

```python
new_Dep = Dependencies.new("A")

class A(new_Dep):
    #  "_for" can be an array
    @new_Dep.register(_for="first_operation")[int]  # support type hinting, tested in pyright
    def number(self, value):
        return value
        
    @new_Dep.guard()
    def first_operation():
        ...
        
        
>>> a = A()
>>> a.first_operation() 
Traceback (most recent call last):
...
AttributeError: ("follow attributes are not assigned for first_operation => ", [number])

>>> a.number = 2
>>> a.first_operation()
>>>
        
 
```

