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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ed1dfadab65542b2b6155b9ae5bc6303a895d380ff3b5dcfdc6f732542980fc |
|
MD5 | b4143455451ece88f644257fadb3370d |
|
BLAKE2b-256 | 63f20d069824cf21d84f2969d6ce58025c2fa567585739169b08c9f1b0e49c62 |
Close
Hashes for sc_cc_ng_models_python-0.1.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 953bb0396ea2d4b410eba54f0168d48fb34670250775b8e61d01164e44d06c01 |
|
MD5 | 802f71fe5bcdef4d4875c5a0e78dc69d |
|
BLAKE2b-256 | 74d1fdd56deb46c17ce6326fd97522d01695cefdcea792d9e0b03cad68c27423 |