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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7979b20ad9a8295cb07be2c014dbf0f9ac89e738fa08e6d2af69378dd0eba42e |
|
MD5 | 3ca4d93411dc71b8905a70a40834cab6 |
|
BLAKE2b-256 | a40436b1a887fbd75d7541b35b9dda649ad81b53f061ecd15960472439a05d03 |
Close
Hashes for sc_cc_ng_models_python-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fef48075448011519f2ebb67cccbd3e45e30b45162607150bcd8755da0f874c |
|
MD5 | dcffc2099673b917a83e0b4fc598f5f8 |
|
BLAKE2b-256 | 594d1ae5dee22a5386942d2444b7f5c0cc071a10c1bba70a43da6b6bf164684c |