Skip to main content

xoople-cli

Command-line interface for the Xoople Products API, over xoople-sdk.

$ uv tool install xoople-cli
$ export XOOPLE_API_URL=https://api.xoople.com XOOPLE_TOKEN=...
$ xoople analyses list

Every command reads --api-url and --token from XOOPLE_API_URL and XOOPLE_TOKEN. --json prints the API response verbatim instead of a table, so output pipes into jq.

Commands

Group Commands
analyses list get create update cancel estimate
runs list get
outputs list get access-url
schedules list get create pause resume cancel run estimate-run
events list get
usage history limits
catalog products measures designs
access me token features

Submitting an analysis

The product spec is deeply nested and differs per product, so create and estimate take it as JSON rather than as flags:

$ xoople catalog designs --json | jq '.designs[0].spec_fragment' > spec.json
$ # fill in period and aoi, then:
$ xoople analyses create -f spec.json --display-name "South Wales NDVI" --wait

The file holds either the bare spec or a whole create request (anything with a spec key). -f - reads stdin. --wait polls the initial run and exits non-zero if it does not reach COMPLETE.

Exit codes

0 success · 1 unexpected CLI error · 2 usage error · 3 unauthenticated · 4 forbidden · 5 not found · 6 bad request or validation · 7 conflict · 8 rate limited · 9 server error · 10 connection failure · 11 unreadable response · 12 run finished in a non-COMPLETE state · 13 --wait timed out.

Download files

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

Source Distribution

xoople_cli-0.1.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

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

xoople_cli-0.1.0-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xoople_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a6660a55cbf662ec8a9dc2b9c0c7acd3204f26b85b86df127e0a37e2349c6043
MD5 e9c16cb9636e2f10f6bcb77b5fa76841
BLAKE2b-256 3b52b4f197aeb7b862c58d2928432005e60850973c767872baff6bda6f853849

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xoople_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2df23dd67171563e9968fc8cd39c1b7cdf44b4a36a3f24139f2d6afa87d5c5a
MD5 3a15f93b0d9317a49c24dac533c75ef4
BLAKE2b-256 537f17c426e9cc06840ea9397d83571391384859b34c4bd05153a4d1e537b5b9

See more details on using hashes here.

Release history Release notifications | RSS feed

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