rewire


Namerewire JSON
Version 0.8.2 PyPI version JSON
download
home_pageNone
SummaryA Streamlined Type-Based Dependency Injection Framework
upload_time2024-04-08 19:09:44
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseMIT License Copyright (c) 2024 rewirepy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords dependency injection configuration managment
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](./docs/dependency_injection.md)

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](./docs/lifecycle.md)

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

* [Simple FastAPI app](https://github.com/rewirepy/example-fastapi)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "rewire",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "dependency injection, configuration managment",
    "author": null,
    "author_email": "Ivan Vozhakov <gou177@bk.ru>",
    "download_url": "https://files.pythonhosted.org/packages/41/d4/9917d91cec51c2678997586bb69f4c0aab9e3e69ec38ec82c5c3afc6a6d8/rewire-0.8.2.tar.gz",
    "platform": null,
    "description": "# Rewire: A Streamlined Type-Based Dependency Injection Framework for Focused Development\r\n\r\nRewire is a user-friendly framework dedicated to type-based dependency injection, allowing developers to focus on writing code rather than dealing with boilerplate.\r\n\r\n## Installation\r\n\r\nInstall Rewire using pip: `pip install rewire`\r\n\r\n## Key Features and Benefits\r\n\r\n### [Dependency Injection](./docs/dependency_injection.md)\r\n\r\nEmploy 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\r\ndeveloping functionality without being bogged down by dependency management.\r\n\r\n### Configuration Injection (YAML & Python Functions)\r\n\r\nEasily 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\r\nwhile maintaining flexibility.\r\n\r\n### Automatic File Import\r\n\r\nAutomatically 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\r\nreusability and minimizing potential errors.\r\n\r\n### [Lifecycle Manager](./docs/lifecycle.md)\r\n\r\nEasily manage the lifecycles of components with Rewire's robust start/stop manager. Control the initialization and disposal of resources efficiently, ensuring optimal resource usage.\r\n\r\n### Extensibility & Hackability\r\n\r\nRewire 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\r\nlibraries as desired, making it a powerful choice for any project.\r\n\r\n## Examples\r\n\r\n* [Simple FastAPI app](https://github.com/rewirepy/example-fastapi)\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 rewirepy  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "A Streamlined Type-Based Dependency Injection Framework",
    "version": "0.8.2",
    "project_urls": {
        "Homepage": "https://github.com/rewirepy/rewire"
    },
    "split_keywords": [
        "dependency injection",
        " configuration managment"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db85e0589f1ed0a5101ede89e9c39a4dd563ce48d8a8f6fc42f027a0b256e420",
                "md5": "00456a8dfe97c57620bd3918bdb03ffb",
                "sha256": "279a08ff50ae80030047853219f30cd7bb0ca637555f8305a488bd1a9373b460"
            },
            "downloads": -1,
            "filename": "rewire-0.8.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "00456a8dfe97c57620bd3918bdb03ffb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 18949,
            "upload_time": "2024-04-08T19:09:40",
            "upload_time_iso_8601": "2024-04-08T19:09:40.465938Z",
            "url": "https://files.pythonhosted.org/packages/db/85/e0589f1ed0a5101ede89e9c39a4dd563ce48d8a8f6fc42f027a0b256e420/rewire-0.8.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "41d49917d91cec51c2678997586bb69f4c0aab9e3e69ec38ec82c5c3afc6a6d8",
                "md5": "82f8ef8b2e9092d1e8c1e5f34ad1048f",
                "sha256": "9af55394475418a15a18d79602357b050a6dc7f7792979479ff944fcc0d2d53b"
            },
            "downloads": -1,
            "filename": "rewire-0.8.2.tar.gz",
            "has_sig": false,
            "md5_digest": "82f8ef8b2e9092d1e8c1e5f34ad1048f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 17110,
            "upload_time": "2024-04-08T19:09:44",
            "upload_time_iso_8601": "2024-04-08T19:09:44.224500Z",
            "url": "https://files.pythonhosted.org/packages/41/d4/9917d91cec51c2678997586bb69f4c0aab9e3e69ec38ec82c5c3afc6a6d8/rewire-0.8.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-08 19:09:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rewirepy",
    "github_project": "rewire",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "rewire"
}
        
Elapsed time: 0.30382s