Skip to main content

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 instance
  • ModelReader(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 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

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

cosmotech_acceleration_library-0.9.3.tar.gz (56.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

CosmoTech_Acceleration_Library-0.9.3-py3-none-any.whl (102.0 kB view details)

Uploaded Python 3

File details

Details for the file cosmotech_acceleration_library-0.9.3.tar.gz.

File metadata

File hashes

Hashes for cosmotech_acceleration_library-0.9.3.tar.gz
Algorithm Hash digest
SHA256 ee61b27729448f4dc05761083715b6e8ca1018434ada83fc71a0876e3610d128
MD5 da943862f83ef8d796ebf0a33e97f626
BLAKE2b-256 2f943e4a9b6a5cec4059d74597a614b595efaee3b59d08916b6c8ea1c863c87e

See more details on using hashes here.

File details

Details for the file CosmoTech_Acceleration_Library-0.9.3-py3-none-any.whl.

File metadata

File hashes

Hashes for CosmoTech_Acceleration_Library-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d11df38d301f2b65d0d50f2bb015b3db4320a93dc28a49ffeb26f88b66f80e05
MD5 a5fa28af663adee72b1e8355ffa94d9d
BLAKE2b-256 29afb4b7e476290c5a83480a9f2208b7b6345301d847d42b5fba973af49dae78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page