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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c43718b8602210466ed816efb48e030081e916a00090763bcb0ee86d70824a1 |
|
MD5 | 245021a2a2dbf04b8b2530c9a07dcac5 |
|
BLAKE2b-256 | 61d4a046285438033ffb9eccb4a7355ebede76e2d8ca0563eacd59419d08fd60 |
Close
Hashes for sc_cc_ng_models_python-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f69b41edb3ca2a20c28f821e8c1d2fd21fe2c7d490e6c077bb4c37ad3daebcc |
|
MD5 | 20de9bbd404ab75b9ea61208b7c5d591 |
|
BLAKE2b-256 | de635996af156226778efdeb22184dd45f936495c3f564ea7f4b06e8f88cd136 |