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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9d49cdff303a4dd6a9bf6594350370ed38637ac579b5ee54dd2b0df3753ecd3 |
|
MD5 | 018568dea286e7f9c617e71ba6cc6814 |
|
BLAKE2b-256 | a0c1fce73d27f5aaa7b3c927c28b51c9e72e9ca8b89e00f129f96ae31d3fb13a |
Close
Hashes for sc_cc_ng_models_python-0.1.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e084d41880c38cc74ac1f0be97c6347b737e5753a8e33c63128b75b9670c3a |
|
MD5 | da61edfb0cca6c568cbaec5ead2d1da9 |
|
BLAKE2b-256 | 7f9ee2d6205901675b5930e27b1e0b60359241a55f365178cd5cd5245fe358bd |