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.5.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for depending-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8576c7775b23b2ec6c2ccd4fe552187b103bdbff6bb6de1c1cfc09808f68d580 |
|
MD5 | 7ac59a8bd05bfe19a11ce04d668c4567 |
|
BLAKE2b-256 | 8144bb078b16f10362766fae01313c13957d420f08d9ccb4f27829c0a25fb49d |