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 details)
Built Distribution
File details
Details for the file depending-0.1.7.tar.gz
.
File metadata
- Download URL: depending-0.1.7.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.10.2-2-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f458a6815c1efd742faac3ea3a4b4085cc9cb0ac13fc8cc73943c7ac3adae77 |
|
MD5 | fa0b2422f21987a284765bdf168e8d7f |
|
BLAKE2b-256 | f6403c56e8fbe6b15cf87cbbbede72c3ede15f329620f72efd1b612b6cdefdbe |
File details
Details for the file depending-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: depending-0.1.7-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.10.2-2-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 494c8d47f1e9b1c84843b97717d2b37319460a49d72b490d51e6cd15036b1a3c |
|
MD5 | 2c1a2bae7db17aee49adc1e70d8acfce |
|
BLAKE2b-256 | 75c41d3348114a8bc95521b22edb826467fa5d3d47adae8aa294d2d52c9d7164 |