Skip to main content

Overview

Collection of unofficial idempotent DataRobot helpers. Ready for use in your orchestration tool of choice.

Installation

pip install datarobotx-idp

Usage

import os
from datarobotx.idp.execution_environments import get_or_create_execution_environment

dr_endpoint = os.environ['DATAROBOT_ENDPOINT']
dr_token = os.environ['DATAROBOT_API_TOKEN']

env_id_1 = get_or_create_execution_environment(dr_endpoint, dr_token, "image #1")
env_id_2 = get_or_create_execution_environment(dr_endpoint, dr_token, "image #1")
assert env_id_1 == env_id_2

env_id_3 = get_or_create_execution_environment(dr_endpoint, dr_token, "image #2")
assert env_id_1 != env_id_3

Contributing

Rules

  1. Public functions must be idempotent
  2. Function signatures must be type hinted (enforced by mypy)
  3. Functions must have numpydoc-style docstrings (enforced by ruff)
  4. Functions must either have a unit or integration test

Principles

  1. Group code so it can be easily understood and edited at the .py level
  2. Minimize dependencies
  3. Isolate dependencies by submodule to reduce risk of dependency conflicts

Release files for datarobotx-idp 0.2.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datarobotx-idp 0.2.19
File Size Uploaded
datarobotx_idp-0.2.19.tar.gz 40.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datarobotx-idp 0.2.19
File Interpreter ABI Platform
datarobotx_idp-0.2.19-py3-none-any.whl Python 3 none any Details

Total release size: 103.3 kB

Release files / datarobotx_idp-0.2.19.tar.gz

Download URL datarobotx_idp-0.2.19.tar.gz
Size 40.7 kB
Tags Source
SHA-256 checksum
How to use checksums
defd610664a0c9b906c1f100bea88ab8a4d2947086f1e2f0616c9a9d8488d762
BLAKE2b-256 checksum
How to use checksums
77f5e517a87b7b4e4e05e5e36ce3dcab7190f3a2e5e2adda2fd3de48092afd42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / datarobotx_idp-0.2.19-py3-none-any.whl

Download URL datarobotx_idp-0.2.19-py3-none-any.whl
Size 62.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e66d59dfc47a8054eb9926df3edc03ed1933548b768a4b78bab4debf633bc6f2
BLAKE2b-256 checksum
How to use checksums
1868faf7dc9e3e11267788b8c45f5368cb7b505f10f878bf4ebafc7716035c16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.2.19 This release

2 release files

0.2.15

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page