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.5.tar.gz
(11.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file readydata_sdk_py-0.1.5.tar.gz.
File metadata
- Download URL: readydata_sdk_py-0.1.5.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6efbb128091a8dbc5cbc9932bce772563cf6ed9f96fcdf644bf3d276b424dc6
|
|
| MD5 |
3be7ef3ea32c5d9d6d1fd897815d4323
|
|
| BLAKE2b-256 |
e2cc46efd6161958da2a0516240bcc6fc8d09ac15c829320358c547eaec984a5
|
File details
Details for the file readydata_sdk_py-0.1.5-py3-none-any.whl.
File metadata
- Download URL: readydata_sdk_py-0.1.5-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ce6fcc27a68bac32006cc377124b711386549e2f9ca8329291709c768effe37
|
|
| MD5 |
e90c83c95380a3fdd7ecc4ec11caa5f1
|
|
| BLAKE2b-256 |
b92b0f215815c27ed63a1db844a969235594a55d4c4f3a97ef3a4dc9621740f3
|