
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
hdmi
Advanced tools
Lightweight dependency injection for Python 3.13+
Warning: Pre-Alpha Software
hdmi is experimental software in active development. Breaking changes may occur until version 1.0.
Documentation: Full Docs | Getting Started | API Reference
pip install hdmi
import asyncio
from hdmi import ContainerBuilder
class DatabaseConnection:
def __init__(self):
self.connected = True
class UserRepository:
def __init__(self, db: DatabaseConnection):
self.db = db
class UserService:
def __init__(self, repo: UserRepository):
self.repo = repo
async def main():
builder = ContainerBuilder()
builder.register(DatabaseConnection)
builder.register(UserRepository)
builder.register(UserService)
container = builder.build() # Validates the dependency graph
user_service = await container.get(UserService) # Auto-wired!
asyncio.run(main())
For scoped services (per-request lifecycles), transient services, and scope validation rules, see the documentation.
This project follows strict TDD methodology. See CONTRIBUTING.md for details.
make test # Run all tests
make docs # Build documentation
make help # Show all available commands
MIT License — see LICENSE for details.
FAQs
Lightweight dependency injection for Python 3.13+
We found that hdmi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.