No project description provided
Project description
SC-CC-NG Python Data Models
Data models for the SC-CC-NG project.
Installation
pip install sc-cc-ng-data-models
Usage
from sc_cc_ng_data_models import *
# BitVal's are holding values and a context
bv = BitVal(
context=[
"MODEL",
"ENGINE",
"HORSEPOWER",
],
value=50.0,
)
# ContextType's enum are known context types for easier usage
ct = ContextType.MODEL
The context data type is a list of strings and not a list of ContextType
because of
they should be able to carry any context information.
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
Close
Hashes for sc_cc_ng_models_python-0.1.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | beb20b55582680f2ef9e2c4a4d9edaaf27709edc1fda8d8024aca7a2cb84701d |
|
MD5 | 8c3a5612004b473ab1672cdbffe78cd6 |
|
BLAKE2b-256 | 2c0cda1f20342c5de43359ed77d99a3f32a583e67f0c33805610b13729fb1710 |
Close
Hashes for sc_cc_ng_models_python-0.1.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2d21b41a1e264937ffe79d109c3f26fc96a48150cd53b9d99d10e633175aead |
|
MD5 | 84643663ad4b75087648900146295088 |
|
BLAKE2b-256 | 96603f339417ddaa9b29f4887dab49bcf1be880754fbeae1c25a27ba912d8288 |