dessinemoi-23.1.0
توضیحات
A simple factory implementation written in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dessinemoi-23.1.0 |
| نام | dessinemoi |
| نسخه کتابخانه | 23.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Vincent Leroy <vincent.leroy@rayference.eu> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dessinemoi/ |
| مجوز | - |
# Dessine-moi, a simple Python factory
> S'il vous plaît, dessine-moi un mouton.
The narrator of Antoine de Saint-Exupéry's Little Prince probably dreamt of a factory like this one...
[](https://pypi.org/project/dessinemoi)
[](https://anaconda.org/eradiate/dessinemoi)
[](https://github.com/leroyvn/dessinemoi/actions/workflows/ci.yml)
[](https://dessinemoi.readthedocs.io)
[](https://black.readthedocs.io)
[](https://pycqa.github.io/isort)
## Motivation
*Dessine-moi* is a simple Python implementation of the factory pattern. It was
born from the need to create dynamically object trees from nested dictionaries
(*e.g.* a JSON document).
## Features
- Create a `Factory` object and register types to it
- Use dictionaries to create objects from the factory
- Create `attrs`-compatible converters to automatically convert dictionaries to
instances of registered types
- Customise factories to your needs
Check the [documentation](https://dessinemoi.readthedocs.io) for more detail.
## License
*Dessine-moi* is distributed under the terms of the
[MIT license](https://choosealicense.com/licenses/mit/).
## About
*Dessine-moi* is written and maintained by [Vincent Leroy](https://github.com/leroyvn).
The development is supported by [Rayference](https://www.rayference.eu).
*Dessine-moi* is a component of the
[Eradiate radiative transfer model](https://www.eradiate.eu).
نیازمندی
| مقدار | نام |
|---|---|
| - | attrs>=21 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl dessinemoi-23.1.0:
pip install dessinemoi-23.1.0.whl
نصب پکیج tar.gz dessinemoi-23.1.0:
pip install dessinemoi-23.1.0.tar.gz