Name | dinjector JSON |
Version |
2.1.0
JSON |
| download |
home_page | None |
Summary | Very simple dependency injector using a yaml file |
upload_time | 2024-12-04 06:29:09 |
maintainer | None |
docs_url | None |
author | Salvador Ruiz |
requires_python | <4.0,>=3.11 |
license | LGPL |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Dependency Injector
## Description
Very simple dependency injector for constructing application from a yaml file.
## Installation
This project has an automated deployment to pypi, so only is needed to use pip command:
```
>> pip install dinjector
```
The injector needs a ConfigService class to get all application parameters. There is an implementation of it in project `config-srv`. The dependency is optional and you can inject anyone which comply the ConfigService interface.
## Usage
Once you have installed it, you'll have access to a package called `di` wher you only have to import `DependencyInjector` class.
The use of this library is by inheritance. If you want to create a Value Object you only have to inherit from a Value class. If you want to have an aggregate, inherit from a Aggregate class, if a service from a Service class.
## Support
Send any suggestion to sruiz@indoorclima.com or salvador.ruiz.r@gmail.com. Any ideas or support is well recieved.
## Roadmap
- [ ] Increment versioning when pushing
- [ ] Integrate with gitlab continuous integration to publish to pypi as library
- [ ] Improve coverage rate to > 96%
- [ ] Improve usage documentation with sphinx
- [ ] Upload to readthedocs
## Contributing
State if you are open to contributions and what your requirements are for accepting them.
## License
This is under LGPL lincense. You can use and modify this library. See details in [[LICENCE.txt]]
## Project status
It is used in projects developed currently by the company IndoorClima.
Raw data
{
"_id": null,
"home_page": null,
"name": "dinjector",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": null,
"author": "Salvador Ruiz",
"author_email": "sruiz@indoorclima.com",
"download_url": "https://files.pythonhosted.org/packages/63/f7/022eb30703998dc84764bbe5294cd7885ed9ca29033cba1d92433b159de4/dinjector-2.1.0.tar.gz",
"platform": null,
"description": "# Dependency Injector\n\n\n## Description\n\nVery simple dependency injector for constructing application from a yaml file.\n\n## Installation\n\nThis project has an automated deployment to pypi, so only is needed to use pip command:\n\n```\n>> pip install dinjector\n```\n\nThe injector needs a ConfigService class to get all application parameters. There is an implementation of it in project `config-srv`. The dependency is optional and you can inject anyone which comply the ConfigService interface.\n\n## Usage\n\nOnce you have installed it, you'll have access to a package called `di` wher you only have to import `DependencyInjector` class.\n\nThe use of this library is by inheritance. If you want to create a Value Object you only have to inherit from a Value class. If you want to have an aggregate, inherit from a Aggregate class, if a service from a Service class.\n## Support\n\nSend any suggestion to sruiz@indoorclima.com or salvador.ruiz.r@gmail.com. Any ideas or support is well recieved.\n\n## Roadmap\n\n- [ ] Increment versioning when pushing\n- [ ] Integrate with gitlab continuous integration to publish to pypi as library\n- [ ] Improve coverage rate to > 96%\n- [ ] Improve usage documentation with sphinx\n- [ ] Upload to readthedocs\n\n## Contributing\nState if you are open to contributions and what your requirements are for accepting them.\n\n\n## License\n\nThis is under LGPL lincense. You can use and modify this library. See details in [[LICENCE.txt]]\n\n## Project status\n\nIt is used in projects developed currently by the company IndoorClima.\n",
"bugtrack_url": null,
"license": "LGPL",
"summary": "Very simple dependency injector using a yaml file",
"version": "2.1.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a1f29b14dab9be56450cb6384e5359e30ad1b681e9f90ebd5fe6944c32682d20",
"md5": "4d61b72e0ded6dc856aff9a333b94d18",
"sha256": "bb232c920eb9f8fffc75f9f7430ef6cc6b7bc9f5d9f59ca0630633cb6af249b7"
},
"downloads": -1,
"filename": "dinjector-2.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4d61b72e0ded6dc856aff9a333b94d18",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 5899,
"upload_time": "2024-12-04T06:29:07",
"upload_time_iso_8601": "2024-12-04T06:29:07.716068Z",
"url": "https://files.pythonhosted.org/packages/a1/f2/9b14dab9be56450cb6384e5359e30ad1b681e9f90ebd5fe6944c32682d20/dinjector-2.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "63f7022eb30703998dc84764bbe5294cd7885ed9ca29033cba1d92433b159de4",
"md5": "edf8c02d87473571b17da735cb84dd26",
"sha256": "6712c87ab52d73f4831d58a92447d1aa268b609efa321ce6973e36e0914313e5"
},
"downloads": -1,
"filename": "dinjector-2.1.0.tar.gz",
"has_sig": false,
"md5_digest": "edf8c02d87473571b17da735cb84dd26",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 5616,
"upload_time": "2024-12-04T06:29:09",
"upload_time_iso_8601": "2024-12-04T06:29:09.252996Z",
"url": "https://files.pythonhosted.org/packages/63/f7/022eb30703998dc84764bbe5294cd7885ed9ca29033cba1d92433b159de4/dinjector-2.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-04 06:29:09",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "dinjector"
}