Skip to main content

Paradime - Python SDK

Project description

Paradime

Paradime - Python SDK

Installation

pip install paradime-io

SDK Usage

Generate your API credentials from Paradime workspace settings.

You can authenticate with a bearer token (recommended) — either a workspace-level token (prdm_wsp_...) or a company-level token (prdm_cmp_..., requires workspace_uid to select which workspace requests target). Pass it as api_secret; the SDK detects the token type automatically from its prefix and api_key is not needed:

from paradime import Paradime

paradime = Paradime(
    api_endpoint="API_ENDPOINT",
    api_secret="API_TOKEN",  # e.g. prdm_wsp_... or prdm_cmp_...
    # workspace_uid="WORKSPACE_UID",  # required when using a company-level (prdm_cmp_) token
)

# Use the paradime client to interact with the API

Or with the legacy API key + secret pair:

from paradime import Paradime

paradime = Paradime(
    api_endpoint="API_ENDPOINT", 
    api_key="API_KEY", 
    api_secret="API_SECRET",
)

# Use the paradime client to interact with the API

CLI Usage

For the full specification of the CLI, run:

paradime --help

Generate your API credentials from Paradime workspace settings. Then set the environment variables.

Using a bearer token (recommended):

export PARADIME_API_ENDPOINT="YOUR_API_ENDPOINT"
export PARADIME_API_SECRET="YOUR_API_TOKEN" # e.g. prdm_wsp_... or prdm_cmp_...
export PARADIME_WORKSPACE_UID="YOUR_WORKSPACE_UID" # required when using a company-level (prdm_cmp_) token

Or using the legacy API key + secret pair:

export PARADIME_API_ENDPOINT="YOUR_API_ENDPOINT"
export PARADIME_API_KEY="YOUR_API_KEY"
export PARADIME_API_SECRET="YOUR_API_SECRET

Alternatively, run paradime login to be prompted for either set of credentials, which will be stored locally.

Examples

Find usage examples here to get started with the Paradime Python SDK.

Telemetry

Each API call sends X-PYTHON-VERSION (e.g. 3.11.5) and X-PARADIME-RUNTIME (e.g. github-actions, airflow, paradime-bolt, local) to help Paradime understand how the SDK is being used. Only the presence of well-known CI/platform environment variables is checked — no values are ever transmitted.

To opt out:

export PARADIME_DISABLE_TELEMETRY=true

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

paradime_io-6.1.0.tar.gz (261.0 kB view details)

Uploaded Source

Built Distribution

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

paradime_io-6.1.0-py3-none-any.whl (219.2 kB view details)

Uploaded Python 3

File details

Details for the file paradime_io-6.1.0.tar.gz.

File metadata

  • Download URL: paradime_io-6.1.0.tar.gz
  • Upload date:
  • Size: 261.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for paradime_io-6.1.0.tar.gz
Algorithm Hash digest
SHA256 5302f094132228d0962254f68f20ca7193dd8d0395c7415a8d02126839b58cee
MD5 90bf559014ef3752d4bf808e511628df
BLAKE2b-256 cbcbf4253dc8077f0a6ecf9d6dd84f67ae844b13a198e6f5578208d47ccbeb27

See more details on using hashes here.

Provenance

The following attestation bundles were made for paradime_io-6.1.0.tar.gz:

Publisher: publish_to_pypi.yml on paradime-io/paradime-python-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file paradime_io-6.1.0-py3-none-any.whl.

File metadata

  • Download URL: paradime_io-6.1.0-py3-none-any.whl
  • Upload date:
  • Size: 219.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for paradime_io-6.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80d596b3be81aaab661a625e4b6da47354773a7f1f4acd8cf70df32a84e45b95
MD5 abc4834947a24db4a5634603ce38f952
BLAKE2b-256 daa7df3fa1016f3996039baa1068f3c46e22d48edf0cc35aff1c547bf94527cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for paradime_io-6.1.0-py3-none-any.whl:

Publisher: publish_to_pypi.yml on paradime-io/paradime-python-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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