Skip to main content
Official hyze-cloud package for Python 3.10+.
  • Sync and async clients with the same surface
  • Typed helpers for apps, databases, API keys, invoices, GitHub, plans
  • One dependency: httpx
  • Consistent HyzeError with status, code, and Retry-After
  • Ships py.typed, so your editor and type checker see the shapes
It is a port of the TypeScript SDK: same resources, same routes, same error shape. The one deliberate difference is naming — you write snake_case (memory_mb) and the SDK translates it to the API’s camelCase (memoryMB).

Install

Quickstart

Close the client when you are done, or use it as a context manager:

Async

The same calls, awaited — the client to reach for inside FastAPI or any asyncio program:

Configuration

Environment variables

Create a key in the dashboard or via the API. See Authentication.

Apps

Deploy from ZIP

When exposing a port, subdomain must be a full host on the platform domain (e.g. my-api.hyzecloud.app), not only the label.
A path is read into memory. Pass an open file to stream a large archive instead:

Deploy from GitHub

App backups

Env var rules

The API rejects reserved keys such as NODE_ENV, PORT, PATH, HOME, and prefixes like HYZE_, DOCKER_, AWS_. Prefer app-specific names (APP_ENV, DATABASE_URL, …).

Databases

API keys, invoices, GitHub, plans

Resources map

Low-level requests

Any path under the API base:

Errors

HyzeError is raised on non-2xx (and on some error-shaped 200 bodies):

Next steps

Authentication

How API keys work.

Deploy an app

ZIP deploy guide.

Provision a database

Create managed databases.

API reference

All REST endpoints.
Last modified on September 24, 2026