Skip to main content

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

Release files for rewire 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rewire 0.12.0
File Size Uploaded
rewire-0.12.0.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rewire 0.12.0
File Interpreter ABI Platform
rewire-0.12.0-py3-none-any.whl Python 3 none any Details

Total release size: 40.6 kB

Release files / rewire-0.12.0.tar.gz

Download URL rewire-0.12.0.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
48346f7d597e0c900095e5416b8aaddd4b62a7a0dcc6e824d548a669ef56e8d4
BLAKE2b-256 checksum
How to use checksums
367368eb458ae84a91437d6783ea6a501ab8b27695c7e5fa3085a79b054eb2fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / rewire-0.12.0-py3-none-any.whl

Download URL rewire-0.12.0-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8d9cd0a56fd04d3a89b16899bfffdde8bbd0e00e5e276bdd3c482c12ea46599
BLAKE2b-256 checksum
How to use checksums
3f3371ef8596664fe504931a53daf9b4797a548931beec3d3711c65abdc2a830
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.12.0 This release

2 release files

0.11.0

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page