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.7.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for depending-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 494c8d47f1e9b1c84843b97717d2b37319460a49d72b490d51e6cd15036b1a3c |
|
MD5 | 2c1a2bae7db17aee49adc1e70d8acfce |
|
BLAKE2b-256 | 75c41d3348114a8bc95521b22edb826467fa5d3d47adae8aa294d2d52c9d7164 |