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.0.tar.gz
(7.6 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 mushu_sdk-0.1.0.tar.gz.
File metadata
- Download URL: mushu_sdk-0.1.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0b0f894639ab5c98f767ae95b2dd2c9587e81ee93a08e181c6be23359994bac
|
|
| MD5 |
b151c6bf27615cc941593c2bb3fe335c
|
|
| BLAKE2b-256 |
bc35df8930833e23d7a0f05783665bbc3b3dd1fd6de520ce4f67cef787987d75
|
File details
Details for the file mushu_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mushu_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.9 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 |
1c17288197f193449d38a84eef45eaaec4f1a8dc598ee5680bab40bec2533e0d
|
|
| MD5 |
a5a6fd22e0d1418841a9301a973c3939
|
|
| BLAKE2b-256 |
6678e2941ee8f36bca13cde81842769687e249fccda9475a1f94b8332fefc486
|