Skip to content

Wireup

Performant, concise, and easy-to-use dependency injection container for Python 3.8+.

GitHub Code Climate maintainability Coverage PyPI - Python Version PyPI - Version

Key features

  • โคต Dependency Injection


    Inject services and configuration using a clean and intuitive syntax.

    Getting Started

  • โš™ Autoconfiguration


    Automatically inject dependencies based on their types without additional configuration for the most common use cases.

    Learn more

  • ๐Ÿ“œ Interfaces / Abstract classes


    Define abstract types and have the container automatically inject the implementation.

    Learn more

  • ๐Ÿญ Factory pattern


    Defer instantiation to specialized factories for full control over object creation when necessary.

    Learn more

  • 1โƒฃ Singletons/Transient dependencies


    Declare dependencies as transient or singletons which tells the container whether to inject a fresh copy or reuse existing instances.

    Learn more

  • ๐Ÿ“ฆ Declarative/Imperative


    Configure services through annotations in a fully declarative style or build everything by code for full control over instantiation.

    Learn more

Framework integrations

Simplified use with the following frameworks.

License

This project is licensed under the terms of the MIT license.