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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2969d7f2de9493d9a138d340a35433ccd8713a77149393b8ada8eb4a383941f7 |
|
MD5 | e0216418ea487d49ba7e04bf931d45ab |
|
BLAKE2b-256 | d6051644d01c2d66b7021885f1b9adbcd9f17e7ac049a982c365095e6af160d2 |
Close
Hashes for sc_cc_ng_models_python-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c66a4f8f67b5adb5e6b439de826861873036be68af2332c7ae1bf8b6d038d5c8 |
|
MD5 | 90628d096d3bec0d4d25edede932445b |
|
BLAKE2b-256 | 0f985964ae5a51cc3d7bb75218b7228cc9b1bd8b460eea996bbdb3ca7ae6bce3 |