Dependency injection for Typer CLI applications, providing decorators and utilities to integrate dependency injection containers (like inject or dependency-injector) with Typer commands. Current version 0.3.0, requires Python >=3.9. Release cadence is irregular.
pip install typer-injectorNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal example using Inject to inject a string into a Typer command.
Always use `Inject()` as the default value, not `Inject`.
Call `configure(config)` at module level before defining commands.
Pin to a specific version and test upgrades carefully.