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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e19ad396267f88c5ba689c595de279abb14011279fa951ca2bec937706d38a81 |
|
MD5 | 2b55596cc0dca1048d5a63b1e0b186d5 |
|
BLAKE2b-256 | 8f0540627af70fee9cb62da181e0315383c25a72b6202c84bd43885165861115 |
Close
Hashes for sc_cc_ng_models_python-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67e0010efc703ef90d7c8a9009fbc48ee12b1f343453d6fda616297d1dc18610 |
|
MD5 | 85084e5a52ca76080af65949dbb1f516 |
|
BLAKE2b-256 | ea33f7844643a7bbb0a6e580e410a4f2fbdb763834e18df6539e2ca7024de0e8 |