Skip to main content

xoople-sdk

Official Python SDK for the Xoople Products API.

from xoople.sdk import Config, XoopleClient, StaticToken, models

client = XoopleClient.from_credentials(
    "https://api.xoople.com", StaticToken("...")
)
# Or pass the complete transport configuration directly:
# client = XoopleClient(Config.from_env())

estimate = client.analyses.estimate(request)
analysis = client.analyses.create(request)

# `list` returns a paginator: iterate it for items across every page.
for run in client.analyses.runs.list(analysis.uid):
    print(run.state)

# Sub-resources take the parent analysis uid:
output = client.analyses.outputs.get(analysis.uid, output_uid)
access = client.analyses.outputs.generate_access_url(analysis.uid, output_uid, ttl_seconds=900)

# Custom verbs are plain methods:
client.analyses.cancel(analysis.uid)
client.analyses.schedules.pause(analysis.uid, schedule_uid)

# Cross-analysis reads and catalogs are top-level:
client.schedules.list(state=models.ScheduleStatus.ACTIVE)
client.usage.limits()
client.catalog.measures(product="tabular_time_series")

Config.from_env() reads XOOPLE_API_URL and XOOPLE_TOKEN.

Every failure raises a subclass of xoople.sdk.errors.XoopleError.

Download files

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

Source Distribution

xoople_sdk-0.1.0.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

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

xoople_sdk-0.1.0-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xoople_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for xoople_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 143cdc7acc50bee8d3f0cd3960bfd508a892b5ed020cb32d5f011427e6afdac8
MD5 de34d097195838d1ac7d90c609e82cfa
BLAKE2b-256 2cd3602ad8596ca1a9d1c80f2401c75b4b9202a704baf2d21a83eff59a2ebe2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xoople_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for xoople_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 20b9294dee21ee6f9e7eddcfe9897754603472d03b5e56f960eb1d4f6b1aa30e
MD5 988bc204440c1b0a0e38b836b17d6de3
BLAKE2b-256 51c3d3378391af505a4f893ca52aa619205a1b24fbaa1dfed9279ef5b0fdb9d1

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.1.0 This release

2 files

Supported by

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