Skip to content

🧵 WireUp

Fully featured dependency injection library with a focus on developer experience, type safety and ease of use.

Key features

Dependency Injection
Inject services and configuration using a clean and intuitive syntax.
Zero-Configuration
Automatically inject dependencies based on their types without additional configuration.
Short and long-lived processes
Suitable for use in long-running as well as short-lived processes. Preload services for performance or lazily inject to instantiate only what you use.
Interfaces / Abstract classes
Define abstract types and have the container automatically inject the implementation. Say goodbye to mocks in your tests!
Multiple Containers
Use the provided container or instantiate and use multiple ones depending on your project's needs.
Factory pattern
Defer instantiation to specialized factories for full control over object creation when necessary.
Singletons/Transient dependencies
Declare dependencies as transient or singletons which tells the container whether to inject a fresh copy or reuse existing instances.
Framework Agnostic
Seamlessly integrate with popular web frameworks like Django, Flask and FastAPI to simplify dependency management.

License

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