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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rewire-0.10.3.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.3.tar.gz
Algorithm Hash digest
SHA256 49997b82573198425f0341cc908f039c1e9ea900a755c6feea93b52cd700dbab
MD5 d739b42fd05487a7ab1ea9ad5267157e
BLAKE2b-256 06defa73cd9d245c879e27981d5b412cd19c9b4455bad390fc52add0c9eb5114

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rewire-0.10.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e99ef2094fddabad2b0cc246faac8001283df80709e9549d7e37557fcfc8b0e0
MD5 8da3bd8004734868043229b252ef2b34
BLAKE2b-256 56f79d4a1ade81255e8bd038b45027020f62101b489a2941afa2960f054dda4a

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