CosmoTech-Acceleration-Library-0.2.9
توضیحات
Acceleration libraries for CosmoTech cloud based solution development
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | CosmoTech-Acceleration-Library-0.2.9 |
| نام | CosmoTech-Acceleration-Library |
| نسخه کتابخانه | 0.2.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | afossart |
| ایمیل نویسنده | alexis.fossart@cosmotech.com |
| آدرس صفحه اصلی | https://github.com/Cosmo-Tech/CosmoTech-Acceleration-Library |
| آدرس اینترنتی | https://pypi.org/project/CosmoTech-Acceleration-Library/ |
| مجوز | MIT |
# CosmoTech-Acceleration-Library
Acceleration library for CosmoTech cloud based solution development
## Code organisation
In project root directory you'll find 4 main directories:
* CosmoTech_Acceleration_Library: containing all Cosmo Tech libraries to accelerate interaction with Cosmo Tech solutions
* data: a bunch of csv files on which samples are based
* samples: a bunch of python scripts to demonstrate how to use the library
* doc: for schema or specific documentation
## Accelerators
TODO
## Modelops library
The aim of this library is to simplify the model accesses via python code.
The library can be used by Data Scientists, Modelers, Developers, ...
### Utility classes
* `ModelImporter(host: str, port: int, name: str, version: int, graph_rotation:int = 1)` : will allow you to bulk import data from csv files with schema enforced (`samples/Modelops/Bulk_Import_from_CSV_with_schema.py`) or not (`samples/Modelops/Bulk_Import_from_CSV_without_schema.py`) (see [documentation](https://github.com/RedisGraph/redisgraph-bulk-loader#input-schemas) for further details)
* `ModelExporter(host: str, port: int, name: str, version: int, export_dir: str = '/')` : will allow you to export data from a model cache instance
* `ModelReader(host: str, port: int, name: str, version: int)` : will allow you to read data from a model cache instance ([object returned](https://github.com/RedisGraph/redisgraph-py/blob/master/redisgraph/query_result.py))
* `ModelWriter(host: str, port: int, name: str, version: int, graph_rotation:int = 1)` : will allow you to write data into a model instance
* `ModelUtil` : a bunch of utilities to manipulate and facilitate interaction with model instance (result_set_to_json, print_query_result, ... )
* `ModelMetadata`: will allow you to management graph metadata
## How-to
`python setup.py install --user`
نیازمندی
| مقدار | نام |
|---|---|
| - | azure-functions |
| - | azure-digitaltwins-core |
| - | azure-identity |
| - | azure-kusto-data |
| - | azure-kusto-ingest |
| ==4.3.1 | redis |
| ==0.10.2 | redisgraph-bulk-loader |
| - | cosmotech-api |
| - | openpyxl |
| - | pandas |
| - | python-dateutil |
| - | mkdocs |
| - | mkdocs-gen-files |
| - | mkdocs-material |
| - | mkdocstrings[python] |
| - | mkdocs-literate-nav |
| - | pymdown-extensions |
| - | requirements-parser |
| - | mike |
نحوه نصب
نصب پکیج whl CosmoTech-Acceleration-Library-0.2.9:
pip install CosmoTech-Acceleration-Library-0.2.9.whl
نصب پکیج tar.gz CosmoTech-Acceleration-Library-0.2.9:
pip install CosmoTech-Acceleration-Library-0.2.9.tar.gz