Skip to main content

Printify API for Python

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

printipy-1.2.1.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

printipy-1.2.1-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file printipy-1.2.1.tar.gz.

File metadata

  • Download URL: printipy-1.2.1.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for printipy-1.2.1.tar.gz
Algorithm Hash digest
SHA256 e3f7662b3b88d47de2a834e3e8d5602028bf41b63d66a19bed6c89ac02d4ee60
MD5 695ce826677622f6579bd437fbd2bd30
BLAKE2b-256 e669b77a44d6a9b4ecd196b1616b64e3b13cc559b65b6ac3359c9d1464e63a1f

See more details on using hashes here.

File details

Details for the file printipy-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: printipy-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for printipy-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0754fc6e92fe5e6ca6e054b3a9a264bd83b784a2dc3053e9a4e7ad363189b228
MD5 a873f677266e09446957d6e62b9e624d
BLAKE2b-256 96a1bc8dc033e65a2cf806a07e1ab8ff5194603863e55f9539bba0dd730deb67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page