Skip to main content

PrintiPy

The Printify API for Python

Printify's REST API gives your scripts or applications power to manage Printify shops. Create and update products, submit orders, build custom integrations, and so much more!

Tested with Python 3.9 - 3.12.

Install

pipenv install printipy

Example

Quickly connect to the Printify API via PrintiPy. Pass an API token for the Printify account and an optional Shop ID and start automating!

from printipy.api import PrintiPy

api = PrintiPy(api_token='...', shop_id='...')

for product in api.products.get_products():
    print(product)

API

Read the docs here!

Development

pipenv install

Build

python setup.py sdist bdist_wheel

Tests

pipenv run pytest

Documentation

Build docs using pipenv run mkdocs build

Deploy docs using mkdocs gh-deploy. This pushes the generated /site to gh-pages branch on Github.

Releasing

Specific contributors are allowed to create a tag. Upon a tag's push, Actions will deploy to TestPypi and Pypi

Metadata

Release files for printipy 1.2.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 printipy 1.2.1
File Size Uploaded Provenance Actions
printipy-1.2.1.tar.gz 17.3 kB Without provenance Details for printipy-1.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 34.6 kB

Release files / printipy-1.2.1.tar.gz

Download URL printipy-1.2.1.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e3f7662b3b88d47de2a834e3e8d5602028bf41b63d66a19bed6c89ac02d4ee60
BLAKE2b-256 checksum
How to use checksums
e669b77a44d6a9b4ecd196b1616b64e3b13cc559b65b6ac3359c9d1464e63a1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / printipy-1.2.1-py3-none-any.whl

Download URL printipy-1.2.1-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0754fc6e92fe5e6ca6e054b3a9a264bd83b784a2dc3053e9a4e7ad363189b228
BLAKE2b-256 checksum
How to use checksums
96a1bc8dc033e65a2cf806a07e1ab8ff5194603863e55f9539bba0dd730deb67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for printipy 1.2.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.

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.

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