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.2.0.tar.gz (261.4 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.2.0-py3-none-any.whl (219.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: paradime_io-6.2.0.tar.gz
  • Upload date:
  • Size: 261.4 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.2.0.tar.gz
Algorithm Hash digest
SHA256 eeecc58bd05fac42a077f1fcdc251bbd502ace91834148c9725655cedeef6d03
MD5 71087ec68d1acd57c0473e686ba1259e
BLAKE2b-256 3cc5ddb64ede9fefed12b81627fa0fe9fa573a2de5b8e3ae8424c86f58f6a7af

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: paradime_io-6.2.0-py3-none-any.whl
  • Upload date:
  • Size: 219.4 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3713299e8762bff28fa3f78838577476b2dbd6d57e805d554c3528fcac6f422e
MD5 d4808b431622f98ecf943bf529021f24
BLAKE2b-256 8f8b5302723524a1af7f8c3e25b27a4f6eb0c8225477f56f600c87978a8b14d9

See more details on using hashes here.

Provenance

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