Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sc_cc_ng_models_python-0.1.15.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

sc_cc_ng_models_python-0.1.15-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page