Python components compliant with Synaptix framework
Project description
Python tools
Requires Python 3.8+
PyPI : https://pypi.org/project/elz-py-tools/
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: {
props: {
<prop1>: { dataType: <string> }
},
links: {
<link1>: { relatedType: <string>, nested: <boolean>, plural: <boolean> }
}
},
...
}]
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for elz_py_tools-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 907548b4a5605d99e66c72dcb7e55ddf87d81b65f5f67928939bfe291cf2dc83 |
|
MD5 | 9c0ae230d69ca41ab1c6ad0cafc7972b |
|
BLAKE2b-256 | 4aae1a7432a4d68d58659747a86f00dd45e8ca1f9b47259d000dfb371d751a6b |