Acceleration libraries for CosmoTech cloud based solution development
Project description
CosmoTech-Acceleration-Library
Acceleration library for CosmoTech cloud based solution development
csm-data
csm-data
is a CLI made to give CosmoTech solution modelers and integrators accelerators to start interacting with multiple systems.
It gives a first entrypoint to get ready to use commands to send and retrieve data from a number of systems in which a Cosmo Tech API could be integrated
data-store
The data store gives a way to keep local data during simulations and comes with csm-data
commands to easily send those data to a target system allowing to easily send results anywhere.
Legacy part
The following description is tied to the legacy part of CoAL that is getting slowly moved to the new code organization before a 1.0.0 release
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 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 instanceModelReader(host: str, port: int, name: str, version: int)
: will allow you to read data from a model cache instance (object returned)ModelWriter(host: str, port: int, name: str, version: int, graph_rotation:int = 1)
: will allow you to write data into a model instanceModelUtil
: 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
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file cosmotech_acceleration_library-0.8.2.tar.gz
.
File metadata
- Download URL: cosmotech_acceleration_library-0.8.2.tar.gz
- Upload date:
- Size: 51.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7390fdc1b5dc3d0c11a2d1d178ef88eea82d4166ab0a87ba0b2a3c260aa4e760 |
|
MD5 | 7ba3bf7bd9b7dcb3f00aa91af3e651db |
|
BLAKE2b-256 | 84be6bb13be9ca3ed6a135de0eb6d15c139d4373e4f19cf1ebe5c5d645cbf077 |
File details
Details for the file CosmoTech_Acceleration_Library-0.8.2-py3-none-any.whl
.
File metadata
- Download URL: CosmoTech_Acceleration_Library-0.8.2-py3-none-any.whl
- Upload date:
- Size: 89.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bd4fd393f134e78102c66aabe607c0383e0c1a17e8e0dc6b1896ad04f9cb25c |
|
MD5 | eef56bfd081412408256880f36e0bfc9 |
|
BLAKE2b-256 | f4b77cbc8ad9f7c6d3f8f8e4e744d39597ace21d175b17e3a3e6ee69b4eac676 |