Skip to main content

SDK for the Uncertainty Engine

Project description

Python SDK for the Uncertainty Engine

Basic usage

from pprint import pprint

from uncertainty_engine.client import Client
from uncertainty_engine.nodes.demo import Add

# Set up the client
client = Client(
   email="<user-email>",  # Must have tokens!
   deployment="<uncertainty-engine-api-url>",
)

# Create a node
add = Add(lhs=1, rhs=2)

# Run the node on the server
response = client.run_node(add)

# Get the result
result = response["output"]

pprint(result)

For more some more in-depth examples checkout our example notebooks.

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

uncertainty_engine-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uncertainty_engine-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file uncertainty_engine-0.1.0.tar.gz.

File metadata

  • Download URL: uncertainty_engine-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.13.1 Darwin/23.6.0

File hashes

Hashes for uncertainty_engine-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9a1df9aafe2ff10647b1d49a8e287cea89280f0c9f2c28826c463b97c8f2623a
MD5 7e193d7fea61259d048ab047e6dba02d
BLAKE2b-256 3014e2e8432f0e11db30d934272e6e70ea7716a47a0ee72368700be8ea31f23b

See more details on using hashes here.

File details

Details for the file uncertainty_engine-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: uncertainty_engine-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.13.1 Darwin/23.6.0

File hashes

Hashes for uncertainty_engine-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8548a9540206ad61af66a4731834aa1c3a7971b88401ae49120dedfb22772c7c
MD5 00e2f7e4a862bba92f3b142560e45dd2
BLAKE2b-256 a86d7edf90a6c46185b8e0f373d35a4072972c5bb20cb6c1cb53b7401e94c4bb

See more details on using hashes here.

Supported by

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