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
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.0.tar.gz.
File metadata
- Download URL: readydata_sdk_py-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df6a93627b5e6618b85196e484e1c49eea94b7e2e5b0d313298b6c042db68d2a
|
|
| MD5 |
823a089e46bc5721bbc55af8bac17704
|
|
| BLAKE2b-256 |
819c4f9be4636614063e810f986de60e678248a20f46003398142691aca51ad7
|
File details
Details for the file readydata_sdk_py-0.1.0-py3-none-any.whl.
File metadata
- Download URL: readydata_sdk_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e59e693d2bd17722e9c8920f893f8b36f09eb4bed920f357913ff3383fcd106
|
|
| MD5 |
542eb292204d975fbdce025bbc9c7b10
|
|
| BLAKE2b-256 |
182ed1ff4072ee4332fe0c04419a842900371677ca21def24c9d165cbb7d99e2
|