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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4bde8e7e18397283598a4633c2255477770b4fbbae276fcf3130a1319a57018 |
|
MD5 | 181c025b92c39926b6fa7b0272c515df |
|
BLAKE2b-256 | d263eaec1c5b13d4c5d2370d20250227c589509b6555969eeed9dcc422f1774a |
Close
Hashes for sc_cc_ng_models_python-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ce72106e2364616e20e23c3bf6362186b50116f0e1f3076bb8df26df693c497 |
|
MD5 | 0c8cf65e8e8471f62ac718393f352024 |
|
BLAKE2b-256 | 35e9a9ccf4031313e7b3347d39f4e9af8a4d4a70abf42893b7939ee0ed6e751d |