# Injector — card for AI agents

Python dependency injection framework inspired by Guice for managing dependencies.

Category: Dev workflow and config · PyPI package `injector` · latest version 0.24.0 (checked 2026-11-03)
Install: `pip install injector`
License: BSD (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 36.5 (#3544 of all tools, 254 of 299 in its category)
- Downloads last week: 937,216 (as of 2026-11-24), +5.1% over 4 weeks
- GitHub stars: 1,537 (as of 2026-11-24)
- Last push: 2026-11-14

## Often used with
Pydantic 100.0%, Alembic 80.0%, OpenAI Python Library 80.0%, PyPDF 80.0%, python-dotenv 80.0%, aiosqlite 60.0%

## Checked alternatives (same job)
- Pydantic Settings: https://agentgid.com/tools/pydantic-settings/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/injector/
- Homepage: https://github.com/alecthomas/injector
- Repository: https://github.com/alecthomas/injector

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
