Skip to main content

A support package for Cosmotech SupplyChain

Project description

Supplychain Python Library

Linter Tests

This library was made to have an accessible way to use the supplychain python code

Getting Started

git clone https://github.com/Cosmo-Tech/supplychain-python-library
pip install -e supplychain-python-library

Code structure

.	
├── LICENSE	
├── README.md	
├── setup.py                                         # Python library setup file
├── Supplychain	   ├── Generic	                                     # Generic components and helpers      ├── adt_writer.py       ├── adx_and_file_writer.py
│      ├── ...

│   ├── Protocol	                                 # Optimization protocol and CMAES implementation      ├── cmaes_optimization_algorithm.py	      ├── ...
│      ├── README.md	   ├── Run	                                         # Callable entry points for handlers      ├── cmaes_optimization.py                    # CMAES optimization run entry point      ├── simulation.py                            # single simulation entry point      └── uncertainty_analysis.py                  # uncertainty analysis entry point   ├── Schema                                       # describes the domain model      ├── adt_column_description.py                # defines the domain schema      ├── default_values.py                        # domain model default values definition      ├── simulator_files_description.py           # simulator files definition      └── validation_schemas.py                    # defines the domain model (json definition) : schema and graph relationships   ├── Transform	      ├── complete_dict.py                         # apply default values to the domain model       ├── from_dict_to_simulator.py                # transforms domain model data to simulator model       ├── from_dict_to_table.py                    # transforms domain model to tabular data to be stored in database ( and transfoms time step based values stored as map to tabular values)      ├── from_table_to_dict_old.py                # obsolete      ├── from_table_to_dict.py                    # obsolete      ├── patch_dict_with_parameters.py            # apply parameters to domain model      ├── production_route.py                      # compute the production routes based on the graph for the differents products (to be sent to adx by the prerun step)      └── requirements.txt	   ├── Validate                                     # domain model validator definition      └── validate_dict.py                         # validates the data against the domain schema and graph   └── Wrappers	       ├── environment_variables.py                 # wrapper for platform environment variables       └── simulator.py                             # cosml model wrapper
└── Tests	
└── test.py	

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

cosmotech_supplychain-6.4.2.tar.gz (102.4 kB view details)

Uploaded Source

Built Distribution

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

cosmotech_supplychain-6.4.2-py3-none-any.whl (125.1 kB view details)

Uploaded Python 3

File details

Details for the file cosmotech_supplychain-6.4.2.tar.gz.

File metadata

  • Download URL: cosmotech_supplychain-6.4.2.tar.gz
  • Upload date:
  • Size: 102.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cosmotech_supplychain-6.4.2.tar.gz
Algorithm Hash digest
SHA256 08c50702474a417a20e9ce40efab055d2669fd74d63a18a28a40e4fc28e122e5
MD5 8ebe7af181e7740dd149960f71f01dd2
BLAKE2b-256 c8cc473fd9531532665ca18855a6ba252d8fbb36d0b0ec528c88eb6903e1e1bd

See more details on using hashes here.

File details

Details for the file cosmotech_supplychain-6.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cosmotech_supplychain-6.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e27b878125493ceae81ceb5da4ff99a690d621eb8580b46cec6e80104f6b31be
MD5 81ca8de3c9c7921ce87e702ba53647d6
BLAKE2b-256 89132f350308bad83d97a8d91f460ea386646c40c25989c0d851390d915a0af2

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