Skip to main content

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


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.5.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

mushu_sdk-0.1.5-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file mushu_sdk-0.1.5.tar.gz.

File metadata

  • Download URL: mushu_sdk-0.1.5.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for mushu_sdk-0.1.5.tar.gz
Algorithm Hash digest
SHA256 e36ad684cff7a51a869a00a5d1fe6a44dcf9051b1ce16d5ec135997cd50a4873
MD5 e8cd6d59066e58b0c44ae736a95109a9
BLAKE2b-256 09ad7c6a032e98ad25881d5abd976c6c2f1932c69d14c2d2ba31ae2e4d5880b5

See more details on using hashes here.

File details

Details for the file mushu_sdk-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: mushu_sdk-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for mushu_sdk-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d0524d966d27e1f686dd1462c0e9e882b2fd5ea79cfcf3b4edaa4f00e7a29b46
MD5 041e197b5a364d894f8c5c457cbc003b
BLAKE2b-256 8a3bf8b72990bcd9bbe9f8324caae8c8471c8f8d102ee1d256e77a4f6faafdfb

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