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 (inspect, repair with a profile, cut with a plane, export to GLB, manage keys) ship in the examples/ folder of the source distribution on PyPI, and every step has a worked example in the Python SDK guide.

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.1

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.1
File Size Uploaded Provenance Actions
printy3d-0.4.1.tar.gz 54.9 kB With provenance Details for printy3d-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 96.1 kB

Release files / printy3d-0.4.1.tar.gz

Download URL printy3d-0.4.1.tar.gz
Size 54.9 kB
Tags Source
SHA-256 checksum
How to use checksums
74944f9110df5fb36072bc5172a7fd39a490dcddfe3338991fdafece1e39a21b
BLAKE2b-256 checksum
How to use checksums
e2d35126b9a5db4f3b4ae124e34cf9d23851ffac93602470cfdfffa295288a95
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.1-py3-none-any.whl

Download URL printy3d-0.4.1-py3-none-any.whl
Size 41.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4cfbd93d566e7f2e7a1486efb2eccbe9f117f4054a8227e17c653360f8c86bd3
BLAKE2b-256 checksum
How to use checksums
5a2394533d7741a8f1561892be15cf457a1ddc800d8cb26523c4f137c747e030
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.1

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.1.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