Skip to main content

printy3d (Python)

Official Python client for the Printy3D mesh-preparation API: upload a 3D model, inspect it, repair it for printing, run tools (cut, measure, convert, structural analysis, ...), download the verified outputs and export to other formats.

  • Python 3.9 or newer, no runtime dependencies (standard library only).
  • Fully typed (py.typed); response models are dataclasses, request params are TypedDicts.
  • Licence: Apache-2.0.

Install

pip install printy3d

You need an API key from the Printy3D console. The client talks to https://api.printy3d.ai unless you pass base_url or set PRINTY3D_API_URL. Full guide: printy3d.ai/docs/sdk/python.

Install from a local checkout (internal use)

pip install ./python          # from the repository root

Use

from printy3d import Printy3D

client = Printy3D()  # reads PRINTY3D_API_KEY and PRINTY3D_API_URL

job = client.inspect("model.stl")                # upload, inspect, wait
print(job.analysis.dimensions_mm, job.analysis.is_watertight)

job = client.repair("model.stl", profile="character", params={"printer": "mimaki"})
client.download_artifacts(job.id, "out/repair")

export = client.export(job.id, "glb")            # converts on the fleet when needed
client.download(export.artifact, "out/")

Every /v1 operation is also available directly: client.org, client.formats, client.profiles, client.api_keys, client.files, client.jobs, client.artifacts, client.exports, client.balance.

Errors are one class, printy3d.Printy3DError, with status, code, title, detail, request_id, retry_after and the problem body's extra fields (required, available, required_scope, reason, ...).

Guides

The guides on the website show curl, Python and TypeScript side by side: quickstart, authentication and API keys, uploads, jobs, artifacts and exports, errors, rate limits, billing, Exact Check, webhooks.

Examples: examples/ (inspect, repair with a profile, cut with a plane, export to GLB, manage keys).

Development

python -m venv .venv
.venv/bin/pip install -e "python[dev]"     # Windows: .venv\Scripts\pip
cd python
../.venv/bin/python -m pytest              # mock-server tests, never the real API
../.venv/bin/python -m mypy                # strict

Metadata

Release files for printy3d 0.4.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 printy3d 0.4.0
File Size Uploaded Provenance Actions
printy3d-0.4.0.tar.gz 54.9 kB With provenance Details for printy3d-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 96.0 kB

Release files / printy3d-0.4.0.tar.gz

Download URL printy3d-0.4.0.tar.gz
Size 54.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d722247ac6509d979e4a3cd026b96b756fe77acb705bb47fc9543c91d9531fe4
BLAKE2b-256 checksum
How to use checksums
56002b1e378ea2446cfa267837d722e8b0db6f256cf65ab9212fddad6d2a5142
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 23, 2026.

Transparency log

Release files / printy3d-0.4.0-py3-none-any.whl

Download URL printy3d-0.4.0-py3-none-any.whl
Size 41.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdaa5286784176413d85e7f07dd9a5e005a9a15cc9bcf8e22deaedb350b03168
BLAKE2b-256 checksum
How to use checksums
a77c4752fa0dd213daf884f6c2f37dcc56a0f8963c64287156172aaaacc59527
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 23, 2026.

Transparency log

Security for printy3d 0.4.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for printy3d-0.4.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 23, 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