No project description provided
Project description
Puan PV SDK Python
An SDK for connecting to a Puan PV backend.
Example
from puan_pv_sdk_python import PropKey, And, Or, Variable, evaluation_composer
evaluate = evaluation_composer("http://localhost:8080")
keys = evaluate(
prop_keys=[
PropKey(
prop=And(
variables=[
Or(
variables=[
Variable(id='a'),
Variable(id='b')
]
),
Variable(id='c')
]
),
key="abc"
),
],
interpretations=[
{"a": 1, "b": 1, "c": 1},
{"a": 1, "b": 1, "c": 0},
{"a": 1, "b": 0, "c": 1},
],
)
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
Built Distribution
Close
Hashes for puan_pv_sdk_python-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb1b6db5637fcb314a2fb3b7c90b16985662c00b906a599d96a1aca2c5ce7fa9 |
|
MD5 | b6bdf883c01981353a2e9c688a6f860e |
|
BLAKE2b-256 | 1cfb382d5d8a3d58771244077855f00e6c68cbc2c73e15ac543d1a0d11bc8284 |