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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebfc474ceec0ba0a2ad3f46f9d5f77fa007e9b454423e5c904bb52f393e031a8 |
|
MD5 | 7f1c64f3a0d4e05334008f5f575f218a |
|
BLAKE2b-256 | 7f34423a4ec8670d5cc247fd7436fa6b9f6bd7ede342f8689583d229c03f46d7 |
Close
Hashes for sc_cc_ng_models_python-0.1.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecba19cc9dda8b3f5c429140d7fc891bc0f7d61d035241bf1f064243493bbbb2 |
|
MD5 | 22f00c184c1ebeee89b0d05cfd99ad42 |
|
BLAKE2b-256 | 7dd18ba9fb2429f07d9545551872d6994195216cbda17e9a5d11f5638c94f8ee |