Observed since 20 Oct, 17:13 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A Python library for configuration-based dependency injection using the abcdi library
A Python library for configuration-based dependency injection using the abcdi library. Define your application dependencies in YAML configuration files and automatically instantiate them with proper dependency injection.
pip install abcdi-config
from pathlib import Path
from abcdi_config import load_configuration, configuration
from abcdi_config.schema import Config
# Load configuration from YAML file
load_configuration(Path("config.yaml"), Config)
# Access the loaded configuration
config = configuration()
# Get dependencies using abcdi
import abcdi
db = abcdi.get_dependency('database')
dependencies:
database:
class_: sqlalchemy.create_engine
kwargs:
url: postgresql://user:pass@localhost/db
echo: true
api_client:
class_: requests.Session
kwargs:
timeout: 30
This project uses uv for dependency management and virtual environments.
# Install dependencies
uv sync
# Or install dependencies into your existing virtualenv
uv pip sync requirements.txt dev-requirements.txt
Pylint is configured with a focus on reducing false positives for test files while catching real issues in production code.
uv run pylint src/ tests/
MyPy type checking is configured to skip third-party library stubs.
uv run mypy src/ tests/
uv run pytest tests/
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.1 | 11 Oct 2026 | 14 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 17:13 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:d9e52edaf3d6681b45955eadc2e13799cae99c722f7d7198eb7afea8cc6e0dcf