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.6.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for depending-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c10a72b8c0c9872b546f182fd8386d048d7b425a67f8783dea2d79c935115467 |
|
MD5 | 199602d96003486d5f2de8fdcd3da104 |
|
BLAKE2b-256 | 918c3027de0cf545793ac0c0b50d61849dffdbf99cdb61a72a6e87dede6d402b |