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.
Release files for sc-cc-ng-models-python 0.1.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sc_cc_ng_models_python-0.1.15.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sc_cc_ng_models_python-0.1.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / sc_cc_ng_models_python-0.1.15.tar.gz
| Download URL | sc_cc_ng_models_python-0.1.15.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebfc474ceec0ba0a2ad3f46f9d5f77fa007e9b454423e5c904bb52f393e031a8
|
|
BLAKE2b-256 checksum How to use checksums |
7f34423a4ec8670d5cc247fd7436fa6b9f6bd7ede342f8689583d229c03f46d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Darwin/23.1.0
|
Release files / sc_cc_ng_models_python-0.1.15-py3-none-any.whl
| Download URL | sc_cc_ng_models_python-0.1.15-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ecba19cc9dda8b3f5c429140d7fc891bc0f7d61d035241bf1f064243493bbbb2
|
|
BLAKE2b-256 checksum How to use checksums |
7dd18ba9fb2429f07d9545551872d6994195216cbda17e9a5d11f5638c94f8ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Darwin/23.1.0
|