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.2.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for depending-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2978ee11cf8b10412cbb81b5f372cb63bdd4619ea0c40592561fee5cb257aab6 |
|
MD5 | e22feefd2f2474085ef974d271e52da8 |
|
BLAKE2b-256 | 56c8a5f7348c6957f71f8c503c9e98b52df6ab099f83843a70cea766242a3fb4 |