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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12096178bd83e4b32d72cc526385e948ffd6fcad89de4c57ef352cb3f69594c4 |
|
MD5 | 096bcd8e60ebf9d46af9018a2137ae5a |
|
BLAKE2b-256 | b1608883f23a8075cfc065c0d59374e5701afbd79d3ffa24c109e6547119f0da |
Close
Hashes for sc_cc_ng_models_python-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eceffe5905e8872f6a20e8aaf9d7f00ec689f134e56384083f1d44ea5ef18e13 |
|
MD5 | abbd26b8a065cdbda4121df323a1132c |
|
BLAKE2b-256 | ba9304704b2d99a8b4ce26909fd0456af1049d2bd8ee7698358b7760fc7e1f02 |