classic-components-1.0.0


توضیحات

Provides decorator for creating components
ویژگی مقدار
سیستم عامل OS Independent
نام فایل classic-components-1.0.0
نام classic-components
نسخه کتابخانه 1.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Sergei Variasov
ایمیل نویسنده variasov@gmail.com
آدرس صفحه اصلی https://github.com/variasov/classic_components
آدرس اینترنتی https://pypi.org/project/classic-components/
مجوز -
# Classic Components This package provides decorator for creating components with explicitly defined dependencies for Dependency Injection. Decorator marks class as component and, optionally, generates constructor from type annotations. Part of project "Classic". Usage: ```python from classic.components import component @component class SomeService: prop: int def action(self): print(self.prop) service = SomeService(prop=1) service.action() # prints 1 ```


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl classic-components-1.0.0:

    pip install classic-components-1.0.0.whl


نصب پکیج tar.gz classic-components-1.0.0:

    pip install classic-components-1.0.0.tar.gz