Skip to main content

Python SDK for ReadyData asset management

Project description

ReadyData Python SDK

Python SDK for ReadyData asset management with cross-language validation consistency.

Installation

pip install readydata-sdk-py

Usage

from readydata import AssetClient, MemoryAdapter

# Create client with in-memory adapter
client = AssetClient(MemoryAdapter())

# Store an asset
await client.put('s3://bucket/asset.jpg', asset_data)

# Retrieve an asset  
asset = await client.get('s3://bucket/asset.jpg')

# List all assets
uris = await client.list()

Features

  • Type Safety: Pydantic models with full validation
  • Cross-Language: Compatible with TypeScript SDK
  • Extensible: Support for meta fields and structured extensions
  • Validation: Registry-driven extension validation
  • Testing: Comprehensive test suite with golden examples

Asset Types

  • Image: JPEG, PNG, WebP, SVG with dimensions and size limits
  • Document: PDF, DOCX, TXT, HTML, MD with page counts and language detection
  • Dataset: CSV, JSON, Parquet, Arrow with row/column counts and schema information

Development

# Install in development mode
pip install -e ".[dev]"

# Run tests
pytest tests/ -v

# Type checking
mypy src/readydata/

Part of the ReadyData cross-language SDK foundation.

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

readydata_sdk_py-0.1.7.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

readydata_sdk_py-0.1.7-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file readydata_sdk_py-0.1.7.tar.gz.

File metadata

  • Download URL: readydata_sdk_py-0.1.7.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for readydata_sdk_py-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a57660a4bc84e775911ca978c82abecb5f9c0c590381c345e2df9d3ad2cbe6ae
MD5 092e4b5f9d4e67f9a0ba521d763b0426
BLAKE2b-256 4bce079b2066f8331d22472398ee72094a07241b6455036f4f96d116a532ade3

See more details on using hashes here.

File details

Details for the file readydata_sdk_py-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for readydata_sdk_py-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5cdc78785a918f4b1c08978c003557704d297b145e36c014fa15c3b7681171d4
MD5 d0ba3a38d081b6e3ef9819eaf3b2d8d6
BLAKE2b-256 d7a4705798a68c152cf0b904b696c0832d1e9948afb63fab020f9cb28989b170

See more details on using hashes here.

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