A Streamlined Type-Based Dependency Injection Framework
Project description
Rewire: A Streamlined Type-Based Dependency Injection Framework for Focused Development
Rewire is a user-friendly framework dedicated to type-based dependency injection, allowing developers to focus on writing code rather than dealing with boilerplate.
Installation
Install Rewire using pip: pip install rewire
Key Features and Benefits
Dependency Injection
Employ Rewire's advanced type-based dependency injection system to automatically manage the instantiation, configuration, and resolution of components in your application. This lets you concentrate on developing functionality without being bogged down by dependency management.
Configuration Injection (YAML & Python Functions)
Easily load configurations from a YAML file using Rewire's versatile configuration injection mechanism, which supports Python function extensions. Set up complex applications with ease and consistency while maintaining flexibility.
Automatic File Import
Automatically import required files based on defined configurations within your Rewire-powered application. Keep your project organized by trusting Rewire to handle file imports, promoting code reusability and minimizing potential errors.
Lifecycle Manager
Easily manage the lifecycles of components with Rewire's robust start/stop manager. Control the initialization and disposal of resources efficiently, ensuring optimal resource usage.
Extensibility & Hackability
Rewire is designed to be both extensible and hackable, enabling developers to tailor the framework to their specific needs. Customize components, add new features, or integrate Rewire with other libraries as desired, making it a powerful choice for any project.
Examples
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rewire-0.9.2.tar.gz
.
File metadata
- Download URL: rewire-0.9.2.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5758e7277375cfff8e1733c33592fbde8815833b1d564b7e14b33e6cd4b16898 |
|
MD5 | 75f89fa0fb08c683cc25d235304a57c5 |
|
BLAKE2b-256 | 7c4849696b0806ff5ce0d4cd5ed7c43688df1ef2c48d37b122d826118943fa07 |
File details
Details for the file rewire-0.9.2-py3-none-any.whl
.
File metadata
- Download URL: rewire-0.9.2-py3-none-any.whl
- Upload date:
- Size: 23.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d949210d66ab89a848e74c7d5c1a2631646213d9c54c34bca6250f4616fa555 |
|
MD5 | 90c43659e6bf4d3a045f422f90ac43bf |
|
BLAKE2b-256 | 27bd0ac1c16f00151ff9922b6b55a709da31c75af8cd9103cb05587802d54570 |