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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c403f617479bb6dca6d50fb01551b40da549834cd4682687907f84ec356c975f |
|
MD5 | 678c2fe10a696e4ec5a6f0f3c0c86737 |
|
BLAKE2b-256 | 5697ea020f44f1d36fa63c55fa852c721aca4ebc034e92de8eff18470541ff2f |