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.3.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for depending-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7ad83e5ee8065f491dccdc67e6b3d74a497f0dda83ea7b8c1c2d7a7a61c568e |
|
MD5 | 0a5715c5ef05fe326a5747c84c2a24ac |
|
BLAKE2b-256 | 55d5f20211316fed813641a231dde22210613250de51fc9351e80e667bf3fb33 |