Registry / data / datarobot-storage

datarobot-storage

JSON →
library2.2.0pypypi✓ verified 81d ago

A library providing reusable storage access (S3, GCS, Azure Blob, local filesystem) for DataRobot. Current version 2.2.0, compatible with Python >=3.9, <4.0. Released under the MIT license with quarterly updates.

pip install datarobot-storage
INSTALL
IMPORT
SIG · DATAROBOT-STORAGE
D
datarobot-storage
datapythonv2.2.0
Install
8.5s avg
Import
Disk
93MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.2.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 92.7MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 8.5s · import 0.000s · 94MB
93MB installed
● package 93MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

get_storage
from datarobot_storage import get_storage
from datarobot_storage import Storage
get_async_storage
from datarobot_storage import get_async_storage
put_generator
from datarobot_storage import put_generator

Initialize an S3-backed storage and upload a file.

from datarobot_storage import Storage from datarobot_storage.backends import S3Backend backend = S3Backend( bucket='my-bucket', aws_access_key_id=os.environ.get('AWS_ACCESS_KEY_ID', ''), aws_secret_access_key=os.environ.get('AWS_SECRET_ACCESS_KEY', '') ) storage = Storage(backend) storage.upload('local/path.txt', 'remote/path.txt')
Debug
Known issues
breakingv2.0.0 renamed the main package from datarobot.storage to datarobot_storage. All imports must use underscores.
fix
Update imports: replace datarobot.storage with datarobot_storage.
affects: <2.0.0
breakingStorage constructor now requires a backend object instead of a dict configuration.
fix
Instantiate a backend explicitly (e.g., S3Backend(...)) and pass to Storage.
affects: <2.0.0
gotchaEnvironment variables for credentials are not automatically picked up; you must pass them explicitly unless using an IAM role or service account.
fix
Pass aws_access_key_id and aws_secret_access_key explicitly, or configure boto3 default session.
affects: all
Upgrade
Version history
2.2.0latest on PyPI · released Apr 22, 2025
Audit
Dependencies
boto3optionalS3 storage backend
google-cloud-storageoptionalGCS storage backend
azure-storage-bloboptionalAzure Blob storage backend
Agent activity
42 hits · last 30 days
node
36
OpenAI (training)
1
Resources
datarobot-storage — pip install datarobot-storage · libregistry