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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5907ec8bd31605ed3fccf5f17ed3ab1f99fa96537ef805bb631860a4203e1a5 |
|
MD5 | 22dc71d0db88ed42ed86850f88119ae9 |
|
BLAKE2b-256 | 69be15b365331cc48bd0021c725889bd9577fb1ff3478d1e8096c8360cd18dd5 |
Close
Hashes for sc_cc_ng_models_python-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d109261dc175dbdab4886ffe0bdbd78b92ffa3ebe474f868c15b46c001273622 |
|
MD5 | 12488ca579cedf366bb91fd771d7b03d |
|
BLAKE2b-256 | 1530f098bafc2b38ccebc58ed81b7a8769a1284eaea9048de38db3599f925e40 |