Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rewire-0.10.1.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rewire-0.10.1-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file rewire-0.10.1.tar.gz.

File metadata

  • Download URL: rewire-0.10.1.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.2

File hashes

Hashes for rewire-0.10.1.tar.gz
Algorithm Hash digest
SHA256 74528caf098f86c6c8563e4153f99572a1a271e44e3d0a9a420bb6b4312a5eb8
MD5 6ab78d633481e433b7634345e9de771b
BLAKE2b-256 21c63ce87bc48c811063ba59e4f76bd126c70eb1591adf7f4c2437879bcd208b

See more details on using hashes here.

File details

Details for the file rewire-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: rewire-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.2

File hashes

Hashes for rewire-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 37acf653141fd4147bb5dd0db3cfbc7c665b08898bb5b8fb93d52db7a2551b13
MD5 4832ee1240293f2cfaa705f25f7e68b2
BLAKE2b-256 d3ebde9c69ccb1776e6bcf2d09cb24480196eec223e56c8abc680401be5c5ac4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page