elz-py-tools-0.1.4
توضیحات
Python components compliant with Synaptix framework
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | elz-py-tools-0.1.4 |
| نام | elz-py-tools |
| نسخه کتابخانه | 0.1.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Hervé |
| ایمیل نویسنده | herve.descombe@elzeard.co |
| آدرس صفحه اصلی | https://gitlab.com/elzeard/elz-py-tools |
| آدرس اینترنتی | https://pypi.org/project/elz-py-tools/ |
| مجوز | Apache-2.0 |
# Python tools
Requires Python 3.8+
PyPI : https://pypi.org/project/elz-py-tools/
Usage example : https://gitlab.com/elzeard/elz-py-tools-example
This repository contains some Python components used in Elzeard project.
These components contain AMQP client and drivers for connecting databases. They are made to be working along with synaptix framework created by Mnemotix (https://gitlab.com/mnemotix).
This repository uses Poetry for package dependencies (https://python-poetry.org/).
For working on these components or new ones, install poetry and install package dependencies by running :
> poetry install
For using it locally from another repository :
> poetry build
> pip install <local_path_to_this_repo>
## Datastore and drivers
TODO: to complete...
## Model generator
Model files can be generated for facilitating use of this framework and querying of graph and index
TODO: complete doc...
Here is the format of the schema json file, which is used by datastore :
```
[{
schema1: {
name: <string>,
instantiable: <boolean>,
graphType: <string>,
indexType: <string>,
mongoType: <string>,
props: {
<prop1>: { name: <string>, dataType: <string>, plural: <boolean> }
},
links: {
<link1>: {
name: <string>,
relatedType: <string>,
nested: <boolean>,
plural: <boolean>,
reversedLink: <string>
}
}
},
...
}]
```
## TODO:
- Implements GraphDriver.get_nodes method
- Add possibility to query a label property in a specific language
- Option for passing custom datatype mapping in datastore
نیازمندی
| مقدار | نام |
|---|---|
| >=6.8.0,<7.0.0 | aio-pika |
| >=3.11.4,<4.0.0 | pymongo |
| >=7.13.3,<8.0.0 | elasticsearch |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl elz-py-tools-0.1.4:
pip install elz-py-tools-0.1.4.whl
نصب پکیج tar.gz elz-py-tools-0.1.4:
pip install elz-py-tools-0.1.4.tar.gz