depending-0.1.7
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | depending-0.1.7 |
| نام | depending |
| نسخه کتابخانه | 0.1.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Blake |
| ایمیل نویسنده | blakeinvictoria@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/depending/ |
| مجوز | - |
# Depending
Yet another dependency injection framework for python.
## Usage
```python
import asyncio
from depending import dependency, bind, dependencies
@dependency
async def name():
return "Item"
@bind
async def function(name):
print(name)
async def main():
async with dependencies():
await function()
asyncio.run(main())
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl depending-0.1.7:
pip install depending-0.1.7.whl
نصب پکیج tar.gz depending-0.1.7:
pip install depending-0.1.7.tar.gz