Skip to main content

hotcodepush

PyPI

The typed Python client for the HotCodePush REST API, the over-the-air (OTA) update platform for React Native, Expo, Capacitor and Cordova.

Installation

pip install hotcodepush    # or: uv add hotcodepush

It requires Python 3.11 or later.

Usage

from hotcodepush import HotCodePush

hot_code_push = HotCodePush()  # reads the API token from HOTCODEPUSH_TOKEN, or pass token="…"

organization, *_ = hot_code_push.organizations.list()
app = hot_code_push.organizations.apps.create(
    framework="capacitor", name="Demo", organization_id=organization.id
)
channel = hot_code_push.apps.channels.create(app_id=app.id, name="staging")
hot_code_push.apps.channels.pause(app_id=app.id, channel_id=channel.id)

The resources mirror the API's paths, /v1/apps/{appId}/channels being apps.channels. Every method takes keyword arguments and returns pydantic models with snake_case fields; an argument left out stays out of the request, and None sends null. Uploads take bytes or a file object with its content_length and stream it. Creating calls send an Idempotency-Key and are retried; pass idempotency_key to reuse one across your own retries. A failed request raises a HotCodePushError with the API's code, message, details and the HTTP status; code is a str, so a code newer than your client passes through, and ErrorCode lists the codes this version knows.

Documentation

See hotcodepush.com/docs/api/python.

Development

uv sync
uv run pytest
uv run ruff check . && uv run mypy
uv run ruff format .       # run before every commit
uv build

uv run scripts/sync_openapi.py fetches the API's OpenAPI document into openapi.json, which the contract test checks the client against. CLAUDE.md holds the layout and the rules.

License

See LICENSE.

Metadata

Release files for hotcodepush 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hotcodepush 0.6.0
File Size Uploaded Provenance Actions
hotcodepush-0.6.0.tar.gz 117.1 kB With provenance Details for hotcodepush-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hotcodepush 0.6.0
File Interpreter ABI Platform Actions
hotcodepush-0.6.0-py3-none-any.whl Python 3 none any Details for hotcodepush-0.6.0-py3-none-any.whl

Total release size: 177.6 kB

Release files / hotcodepush-0.6.0.tar.gz

Download URL hotcodepush-0.6.0.tar.gz
Size 117.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3af36d041fa11f130c99c42f5a0f9e999ba463a5db678ac68e158c4c33c812c2
BLAKE2b-256 checksum
How to use checksums
54730bbb1acd9848f7fcc32be2d8bb6957c3567d81339db547188ccb18544429
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / hotcodepush-0.6.0-py3-none-any.whl

Download URL hotcodepush-0.6.0-py3-none-any.whl
Size 60.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11e63aacfc11fd5b3b84d14d52bb4d1b5947c7d9f780e258f22e09023ce53368
BLAKE2b-256 checksum
How to use checksums
81f1b39164de78541848ee2aa22880ee2ad327d33664379d52b18c66663b363f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for hotcodepush 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hotcodepush-0.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page