cosmics-0.1.2
توضیحات
Tools for an event-driven design following Cosmic Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cosmics-0.1.2 |
| نام | cosmics |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Fabian Emmerich |
| ایمیل نویسنده | gitlab@emmerichs.eu |
| آدرس صفحه اصلی | https://gitlab.com/emmerich-os/cosmics |
| آدرس اینترنتی | https://pypi.org/project/cosmics/ |
| مجوز | - |
# cosmics
[](https://gitlab.com/emmerich-os/cosmics/-/commits/main)
[](https://gitlab.com/emmerich-os/cosmics/-/commits/main)
[](https://github.com/psf/black)
A set of helper classes suitable for an event-driven software design. Inspired by the Cosmic Python book.
The API documentation can be found [here](https://emmerich-os.gitlab.io/cosmics).
## Helper Classes
- Repository as a database inferface.
- Client for interaction between repository and database. Allows to decouple the repository from the database type.
- Messagebus for forwarding commands and events to their respective handler functions.
- Unit of Work for processing commands/events with(-out) database access.
نیازمندی
| مقدار | نام |
|---|---|
| >=2.9.1,<3.0.0 | psycopg2-binary |
| >=0.8.0,<0.9.0) | flakehell |
| >=3.9.2,<4.0.0) | flake8 |
| >=2.1.2,<3.0.0) | flake8-bandit |
| >=0.2.0,<0.3.0) | flake8-blind-except |
| >=1.3.1,<2.0.0) | flake8-builtins-unleashed |
| >=20.11.1,<21.0.0) | flake8-bugbear |
| >=3.3.1,<4.0.0) | flake8-comprehensions |
| >=4.0.0,<5.0.0) | flake8-debugger |
| >=1.5.0,<2.0.0) | flake8-docstrings |
| >=1.0.0,<2.0.0) | flake8-eradicate |
| >=1.2.0,<2.0.0) | flake8-mutable |
| >=1.3.0,<2.0.0) | flake8-pytest-style |
| >=0.14.2,<0.15.0) | flake8-simplify |
| >=0.11.1,<0.12.0) | pep8-naming |
| >=5.1.1,<6.0.0) | pydocstyle |
| >=2.3.0,<2.4.0) | pyflakes |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9,<4.0 | Python |
نحوه نصب
نصب پکیج whl cosmics-0.1.2:
pip install cosmics-0.1.2.whl
نصب پکیج tar.gz cosmics-0.1.2:
pip install cosmics-0.1.2.tar.gz