No project description provided
Project description
ditto: dependency injection tool
ditto is a simple and lightweight dependency injection tool for Python.
Installation
pip install ditto
Usage
from ditto.core import ServiceRegistry
registry = ServiceRegistry.get_instance()
class Service:
pass
registry.register('service', Service)
service = registry.get('service')
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
pyditto-0.1.0.tar.gz
(2.0 kB
view details)
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 pyditto-0.1.0.tar.gz.
File metadata
- Download URL: pyditto-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.3 Darwin/22.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b4a4058a905508b394e5d32d369bb503d01dbef7bb23d3b1d567c3666f34556
|
|
| MD5 |
70202f5853e98b57ed4da04a6960bb78
|
|
| BLAKE2b-256 |
1d48e408533f2b0c2ebb55124bfc67b93cf64c835ce8f77a33b0039605bee965
|
File details
Details for the file pyditto-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyditto-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.3 Darwin/22.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
897a57f19cf5cb53952ff1560ecb76ee63e3a4fb3c30f8d87e125e11154ef9b2
|
|
| MD5 |
0d8545d0c981c112e439cf75649e13d7
|
|
| BLAKE2b-256 |
d8bb724eefa8610f6c61064722f0afa207f34117c75b8beb251098be5d25acc0
|