Skip to main content

StarkRender Python SDK

Official Python SDK for StarkRender — HTML to Image, URL Screenshot, and HTML to PDF API.

Install

pip install starkrender

Quick start

from starkrender import StarkRender

client = StarkRender("YOUR_API_KEY")

result = client.render(
    html="<div style='background:red;width:800px;height:400px'></div>",
    width=800,
    height=400,
)
print(result["url"])  # permanent image URL

Methods

Method Endpoint
render(**kwargs) POST /v1/render
render_full(**kwargs) POST /v1/render/full
render_fast(**kwargs) POST /v1/render/fast
render_batch(requests) POST /v1/render/batch
screenshot(**kwargs) POST /v1/screenshot
pdf(**kwargs) POST /v1/pdf
create_template(**kwargs) POST /v1/template
list_templates() GET /v1/template
get_template(id) GET /v1/template/{id}
delete_template(id) DELETE /v1/template/{id}
get_usage() GET /v1/usage

Docs

docs.starkrender.com

Metadata

Release files for starkrender 1.0.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 starkrender 1.0.0
File Size Uploaded Provenance Actions
starkrender-1.0.0.tar.gz 2.5 kB Without provenance Details for starkrender-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 5.0 kB

Release files / starkrender-1.0.0.tar.gz

Download URL starkrender-1.0.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f8cd60f21071d1c93e01cbe3b99301dd76c459fb2b6d24dd6d6c6d966bd48454
BLAKE2b-256 checksum
How to use checksums
98cb10006684d570e0468ff90d9c11f14897dc416f6c9a4ed8c48a6827f0aa2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / starkrender-1.0.0-py3-none-any.whl

Download URL starkrender-1.0.0-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bfdd3190000ae1969763bc997495b17a4f44a864a892e06eb5e6a6473195bc4
BLAKE2b-256 checksum
How to use checksums
3109f960f265110479549ece625a9d4a499b6ced7b771f4048f41993be924561
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for starkrender 1.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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