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.0.0.tar.gz (260.8 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.0.0-py3-none-any.whl (219.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: paradime_io-6.0.0.tar.gz
  • Upload date:
  • Size: 260.8 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.0.0.tar.gz
Algorithm Hash digest
SHA256 de0f261a46b59b9daaa48dc86d6289b064f215d14ff3d84d66523a971b0683e2
MD5 7bd447a397f1795e556c70e8ccd354fa
BLAKE2b-256 cbbfbe3216b9f6663ee917e9e7cf57ffdd8f625463f86fc336fb9e49b31f39f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for paradime_io-6.0.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.0.0-py3-none-any.whl.

File metadata

  • Download URL: paradime_io-6.0.0-py3-none-any.whl
  • Upload date:
  • Size: 219.0 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 088fabbb5ad68d9b63717ef0e6cbf4662c0f61e699824da72f67a5e56ff7c3ce
MD5 e8c8fc1e633e15621e03c29c397612c2
BLAKE2b-256 e5421a4d98e616dda521980ff63819f49ecbc03fe870989602c8798aa79be11c

See more details on using hashes here.

Provenance

The following attestation bundles were made for paradime_io-6.0.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