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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19630d95faa6bd05c2de70db1df062eeb7da543c8813c2fd022107088ceca1e9 |
|
MD5 | a6189a791cb74abaca2606f5ff4b5012 |
|
BLAKE2b-256 | 25ff9af23284bd32591a189cc24f7040ebab93b709ed09d52064ae0f9db60dc4 |
Close
Hashes for sc_cc_ng_models_python-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80171db69fb339da84874014e45a22d1c6f45f4c6dffa8ddbcef303085b55045 |
|
MD5 | 7c915df5e505da8613e7d0729fb33eb0 |
|
BLAKE2b-256 | d62ed1c459432a2a43d1463144af19b628089947c84b4f7f7fcc0c7b2b36b6e0 |