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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a7b6b774f6d4b80c226c28248d653548653d780e9cffc2c77c858c47db8474c |
|
MD5 | b36f5ec3d98a069e18f9cad03974553a |
|
BLAKE2b-256 | 198c7d378fe921760ebde73255baae2be065793344a9368e29b2dba7f630b673 |