hyperclipco
Official Python SDK for the Hyperclip API.
Installed as
hyperclipco(the unscopedhyperclipname was already taken on PyPI). Imports ashyperclipco.
Install
pip install hyperclipco
Requires Python 3.9+.
Quickstart
import os, uuid
from hyperclipco import Hyperclip
hc = Hyperclip(api_key=os.environ["HYPERCLIP_API_KEY"])
ref = hc.runs.create(
flow_id="a3c7f1ea-1234-4abc-bb11-5faed63c7e90",
inputs={"prompts": {0: "a lighthouse at dawn"}},
idempotency_key=str(uuid.uuid4()),
)
run = hc.runs.wait(
ref["id"],
on_update=lambda r: print(r["status"], r.get("current_step")),
)
if run["status"] == "completed":
print("Video:", run["video_url"])
else:
print(run["error_code"], run["error_message"])
Configuration
| Argument | Env var | Required |
|---|---|---|
api_key |
HYPERCLIP_API_KEY |
yes |
base_url |
HYPERCLIP_BASE_URL |
no (defaults to Hyperclip production) |
timeout |
— | no (defaults to 30s) |
client |
— | no (inject your own httpx.Client) |
API
hc.runs.create(flow_id=..., flow_schema=..., inputs=..., idempotency_key=...)hc.runs.get(run_id)hc.runs.list(limit=..., status=...)hc.runs.cancel(run_id)hc.runs.wait(run_id, timeout=600, poll_interval=4, on_update=...)— polls until terminalhc.flows.list()hc.flows.get(flow_id)
Errors raise HyperclipError (with .status and .code). Timeouts raise HyperclipTimeoutError.
Release files for hyperclipco 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hyperclipco-0.1.3.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hyperclipco-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / hyperclipco-0.1.3.tar.gz
| Download URL | hyperclipco-0.1.3.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2d1afbc51fb63ca34a53f5ab11f1edd33ae5f2eea818a4a48a893685e0769fb
|
|
BLAKE2b-256 checksum How to use checksums |
f21798ccfbde46f9a2d574bd477667276d5053e1142150490c3ed53def452389
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 16, 2026.
Transparency logRelease files / hyperclipco-0.1.3-py3-none-any.whl
| Download URL | hyperclipco-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e99a5a0ca247f8889999177aa04bca494a5493bdeca37166bf052eff91518b22
|
|
BLAKE2b-256 checksum How to use checksums |
623003a8b1b18240ebb22f72fdf1842e50234995c12b83fb80535ed3e1d0e0ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 16, 2026.
Transparency log