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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24bdf16252fc19d71765fe1e248bee2e3c7db186ffe029aca10dbb7fea4b18e9 |
|
MD5 | 4edcc77382cc7e9680877746e224cf40 |
|
BLAKE2b-256 | 838c8a645d9d0f05c4f90c8f1abe9e8a2ed2e7d7f0b5d7cc777ca54e62969c8b |
Close
Hashes for sc_cc_ng_models_python-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff64b2e0ac463f09c04303ac395efc35594eda86b2c3631295005f118a9410a9 |
|
MD5 | 22992e619062ebee7c54bd7d436ebe59 |
|
BLAKE2b-256 | 68e0737a80f8d3f776a5a633fe0a4948b420b6e58357daaa7c387712077e8456 |