A support package for Cosmotech SupplyChain
Project description
Supplychain Python Library
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
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_supplychain-6.4.1.tar.gz
(101.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cosmotech_supplychain-6.4.1.tar.gz.
File metadata
- Download URL: cosmotech_supplychain-6.4.1.tar.gz
- Upload date:
- Size: 101.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aafeffcaf81da3b7ef3aaaad93ebf210ae458bd9f2575370293329385c3fe8f
|
|
| MD5 |
9141a40abc318c8a8d917077b96df39d
|
|
| BLAKE2b-256 |
44e760f742ce4b965b091403512419209da1c82cdeabea6c3e98d30a38e79681
|
File details
Details for the file cosmotech_supplychain-6.4.1-py3-none-any.whl.
File metadata
- Download URL: cosmotech_supplychain-6.4.1-py3-none-any.whl
- Upload date:
- Size: 124.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2839dfb3b13294a9d3f20361945ce25c5c5d4067dd59c5b9e2ad2883d08f71a6
|
|
| MD5 |
db9304064476156f1d13bfb3e4c2e520
|
|
| BLAKE2b-256 |
a983de61ff10e9fefc214cc5753e96583aceb8fa2d45b2de7d65e0c8be35551a
|