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
- Public functions must be idempotent
- Function signatures must be type hinted (enforced by mypy)
- Functions must have numpydoc-style docstrings (enforced by ruff)
- Functions must either have a unit or integration test
Principles
- Group code so it can be easily understood and edited at the .py level
- Minimize dependencies
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| datarobotx_idp-0.2.19.tar.gz | 40.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|