$npx skillfedfor your agent

wireup

Python Dependency Injection Library

Worth itPyPI Python ModulesReleased Jul 202699.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — wireup-2.12.0-py3-none-any.whl
v2.12.0 · released 2026-07-09 · Python >=3.10 · 1 runtime deps: typing-extensions

Yes. Wireup is production-ready (Development Status 5), actively maintained, has no known vulnerabilities, and low install friction. It solves a real problem—centralizing dependency management across multiple entry points—with a clean API and fail-fast validation. Use it if you're building multi-entry-point applications (APIs, CLIs, workers) or want to avoid manual wiring boilerplate in frameworks like FastAPI or Django.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; async features require an async runtime (asyncio, etc.)
  • Low install friction with a single lightweight runtime dependency (typing-extensions).
  • Active maintenance with recent releases; last commit 2026-07-09 and 427 repository stars indicate ongoing development.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) allows commercial and private use with minimal restrictions; you may use, modify, and distribute freely provided you include the license notice.

last release 2026-07-09 (36 days) · last repo commit 2026-07-09 · 427 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 99,426 downloads/mo, #13,022 on PyPI

Verify before relying

pip install wireup

import wireup
from wireup import Injected, injectable

@injectable
class Database:
    pass

container = wireup.create_sync_container(injectables=[Database])
# Inject via Injected[Database] in FastAPI routes or other entry points
  • Actual performance characteristics in dense dependency graphs compared to manual wiring or other containers
  • Thread-safety and no-GIL readiness claims require testing in your specific use case
  • Full scope of framework integrations beyond FastAPI, Django, Flask, Starlette, Celery, Click, Typer
Same gist for agents: .md · .json

What it is and what it does

Wireup is a dependency injection container that uses Python type annotations to automatically resolve and wire dependencies at container startup. It supports multiple lifetimes (singleton, scoped, transient), async/await, resource cleanup via generators, configuration injection, and collection injection. The container validates the entire dependency graph on startup—if it starts successfully, your wiring is correct—avoiding runtime surprises. It integrates natively with FastAPI, Django, Flask, Starlette, Celery, Click, and Typer, and works equally well in standalone scripts, CLI tools, and background workers.

The library is designed for reuse: you write your application code once and inject the same dependencies into APIs, CLIs, workers, and scripts without rewriting wiring logic. It emphasizes fail-fast validation, thread-safety, and PEP 703 (no-GIL) readiness. Dependencies are registered via the @injectable decorator on classes, functions, generators, or dataclasses; the decorator's behavior adapts to the function signature (e.g., a generator becomes a resource with cleanup, an async function becomes an async dependency).

Use it for

  • FastAPI applications: inject database, service, and config dependencies into route handlers without per-request overhead
  • Django projects: centralize service and repository wiring for views, middleware, and management commands
  • CLI tools (Click, Typer): inject config and services into command handlers with automatic lifecycle management
  • Background workers (Celery): share the same dependency graph across task definitions and ensure cleanup on task completion
  • Microservices: define dependencies once and reuse the container across multiple entry points (API, worker, scheduler)
  • Testing: override dependencies with context managers to isolate tests and restore the original graph automatically

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Wireup is production-ready (Development Status 5), actively maintained, has no known vulnerabilities, and low install friction. It solves a real problem—centralizing dependency management across multiple entry points—with a clean API and fail-fast validation. Use it if you're building multi-entry-point applications (APIs, CLIs, workers) or want to avoid manual wiring boilerplate in frameworks like FastAPI or Django.

Install

wireup on PyPI

Before you install

Low install friction with a single lightweight runtime dependency (typing-extensions). Active maintenance with recent releases; last commit 2026-07-09 and 427 repository stars indicate ongoing development.

Requires Python 3.10 or later; async features require an async runtime (asyncio, etc.)

License in practice

MIT license (permissive) allows commercial and private use with minimal restrictions; you may use, modify, and distribute freely provided you include the license notice.

Quickstart

pip install wireup

import wireup
from wireup import Injected, injectable

@injectable
class Database:
    pass

container = wireup.create_sync_container(injectables=[Database])
# Inject via Injected[Database] in FastAPI routes or other entry points

Verify before relying

  • Actual performance characteristics in dense dependency graphs compared to manual wiring or other containers
  • Thread-safety and no-GIL readiness claims require testing in your specific use case
  • Full scope of framework integrations beyond FastAPI, Django, Flask, Starlette, Celery, Click, Typer

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
typing-extensions
MaintenanceActively maintained 36 days since the last release
Last repo commit
First released
Downloads99,426 / month, #13,022 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Web EnvironmentFramework :: DjangoFramework :: FastAPIFramework :: FlaskFramework :: aiohttpIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: wireup-2.12.0-py3-none-any.whl

Tags

Capabilities
dependency injection pythonDI containerinversion of controlfastapi dependency injectiondjango dependency injectiontype-driven wiringservice container
Topics
dependency-injectioninversion-of-controlasync-support
PyPI keywords
dependency injectiondependency injection containerdependency injectordjangoflaskinjector

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django dependency injection”

  • wireupWireup is a type-driven dependency injection container for Python…
  • django-ninja-extraDjango Ninja Extra extends Django Ninja with class-based controllers,…
  • dependency-injectorDependency Injector is a dependency injection framework that…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also dependency-injector · rodi · picobox · lagom · dishka · slack · kink · injector · svcs · simple-di