No project description provided
Project description
Depending
Yet another dependency injection framework for python.
Usage
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())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
depending-0.1.4.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for depending-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ccf08772073db333caccda526b35cac2e6a7e82802502a71fb9f1138ccfce3e |
|
MD5 | 978f717626a18f1bdd0a95593483fd0a |
|
BLAKE2b-256 | 979651e2c7862ebb68e06aae35d9a9db9a185f39925b5cb71ccbf7d5835f5dfa |