A small example package
Project description
inject-typed
Dependency Injection for Python driven by type annotations
Features:
- does not require changes to your code, for example no need to use special decorators
- fully driven by typed annotations from
__init__
Dev setup
dnf install python3.6
pip install virtualenv
virtualenv --python python36 inject-typed-env36
source inject-typed-env36/bin/activate
pip install -r requirements.txt
Pycharm
Mark src dir as Source Root
Resources: https://virtualenv.pypa.io/en/latest/
Releasing
python -m pip install --upgrade setuptools wheel python -m pip install --upgrade twine
python setup.py sdist bdist_wheel
python -m twine upload --repository testpypi dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file inject-typed-0.0.1.dev0.tar.gz.
File metadata
- Download URL: inject-typed-0.0.1.dev0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd69a49c993d0b2192139b603ec3d596c7ac3b77ab5763e55856f28cafba826c
|
|
| MD5 |
8b552fa8fc12917460b56203775a50da
|
|
| BLAKE2b-256 |
8070ee46aa957775462d666c955c25287dda3aaa986ffa6475f8ae3376c1ff00
|
File details
Details for the file inject_typed-0.0.1.dev0-py3-none-any.whl.
File metadata
- Download URL: inject_typed-0.0.1.dev0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8678f2afec80005a6b3f1f773a953ff10ede2c155ddbac5536b762879c2c9212
|
|
| MD5 |
47262e5fb99bb6b2195348d2a28e84d6
|
|
| BLAKE2b-256 |
a8825852a6f36111957a3bf8ee188b79ab5089740fd0c7385051ddcb6566e2c9
|