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.4.tar.gz (17.2 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.4-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rewire-0.10.4.tar.gz
  • Upload date:
  • Size: 17.2 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.4.tar.gz
Algorithm Hash digest
SHA256 14fdb19aa074c8ca85a7e84014f04e8c56ec0f738048825f24e46acc1b23cf89
MD5 5dd4d2efae88d7e8234f51f0e6a3d5d5
BLAKE2b-256 74be453466c74e0d43100a5a1537f3f08145e0eb9dce318adfc85da8b4eed0e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rewire-0.10.4-py3-none-any.whl
  • Upload date:
  • Size: 19.2 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 795fcef6c9fd34d292894352979d8889ac385720eea4ede794f0871650722690
MD5 50d10600375c71d81071cefae6595d69
BLAKE2b-256 0654574e3d1d398b97b9ba048c21336b778e51e37b61b7fecbe8162352420b8c

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