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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 938211d6da8b7947ddf58db7f185a5e7f54d1b70679db384d4644e52c10cf6e7 |
|
MD5 | a3ebb6af8bf50f7359c2b3de989e4c26 |
|
BLAKE2b-256 | 2a6050cb32470c6db3cdab1bc3fdf91b5324f393b20744015fa73656038a12b1 |
Close
Hashes for sc_cc_ng_models_python-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ea4789f35e57c36cfb5ae0f1d6593eb93e41fd6f72c8d80c77f81cb54611c5 |
|
MD5 | 2afb6b3d39bc5cfdc5f0124c8ac8cfbe |
|
BLAKE2b-256 | ee82149327c14c3d051ab75d9b18c324254801db99bafa507af4a4e8ddc82be3 |