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.8.4.tar.gz (51.4 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for cosmotech_acceleration_library-0.8.4.tar.gz
Algorithm Hash digest
SHA256 2b33c03a12fc89684fc449b84bb022337b28a1b3eabe1ea52384c4d6e689e40d
MD5 f836e9fbbff2122b1fb69434194d33c8
BLAKE2b-256 82df48a61d1a3046eb5c9da942d01949914895d6565204d2497d6922b7ceefc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for CosmoTech_Acceleration_Library-0.8.4-py3-none-any.whl
Algorithm Hash digest
SHA256 202a0cf7fa9ab8b8a5b9dc917b7923f3786cb9daa169b0fa735f6c74fc1ea635
MD5 dc4bf690a8cfd761dbc947277d4ddfff
BLAKE2b-256 45c530d5859116b385c5baf96c416924a9fc196fae98ad6c9d00f30b6647fcf9

See more details on using hashes here.

Supported by

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