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

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.0.tar.gz (17.4 kB view hashes)

Uploaded Source

Built Distribution

printipy-1.2.0-py3-none-any.whl (17.5 kB view hashes)

Uploaded Python 3

Supported by

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