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.11.0.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.11.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rewire-0.11.0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for rewire-0.11.0.tar.gz
Algorithm Hash digest
SHA256 12c54ca78817713e3add2fc24813e157a64a568a883e4ccf1e15dc0e2c9d7e5b
MD5 7dc5c9c2921fe9c799d36e8c91bfa8be
BLAKE2b-256 30f90cc936c51e2c2960c582060613216d24e285a1729ba2f8ba5ab7de30e1d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rewire-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for rewire-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfe2a1988a7221f6171586a61ec2368c420651382a2efefded93c0175c54b16c
MD5 2ec28314cfc9db39c7e24a6c969c4266
BLAKE2b-256 3821b8a837626ac9180ac2c1cb2c64ec40a1bab9c4da12a67505f652e7599627

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