Python types for Mushu API - auto-generated from OpenAPI specs
Project description
Mushu Python SDK
Auto-generated Python types for the Mushu API.
Installation
pip install mushu-sdk
Usage
from mushu.media import UploadUrlRequest, MediaItem, MediaStatus
from mushu.auth import UserResponse
from mushu.notify import NotifyRequest
from mushu.pay import WalletResponse
# Type-safe request
request = UploadUrlRequest(
org_id="org_123",
filename="photo.jpg",
content_type="image/jpeg",
size_bytes=1024000,
)
# Type hints work in your IDE
def handle_media(item: MediaItem) -> str:
if item.status == MediaStatus.ready:
return item.url
return "Processing..."
Regenerating
These types are auto-generated from OpenAPI specs. To regenerate:
cd sdks
./generate.sh
Services
- auth - Authentication, users, organizations
- notify - Push notifications, email, devices
- media - Image and video hosting
- pay - Payments, wallets, billing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mushu_sdk-0.1.2.tar.gz
(7.9 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
mushu_sdk-0.1.2-py3-none-any.whl
(10.0 kB
view details)
File details
Details for the file mushu_sdk-0.1.2.tar.gz.
File metadata
- Download URL: mushu_sdk-0.1.2.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
288a7ebed27632823b306398250a09db0765217ae24e1ce8cf8f5f10a08b25eb
|
|
| MD5 |
5c67b6f64470b6292e0e355007bbb2e5
|
|
| BLAKE2b-256 |
b01f35c9035b42ce30e0024fc75c70e157b0ff6be417c924bf9365f3ef611697
|
File details
Details for the file mushu_sdk-0.1.2-py3-none-any.whl.
File metadata
- Download URL: mushu_sdk-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd5637ba88b0ffc5a0cbf43ff241f21703cb6afaefa3674f365729d9905b6aac
|
|
| MD5 |
337a0f5e4413f20febec99f0ac056e58
|
|
| BLAKE2b-256 |
cb6bbbbad72e000aa0fb5c89a878ceccaeb325786216e6069243f6faef9d619f
|