printipy


Nameprintipy JSON
Version 1.2.1 PyPI version JSON
download
home_pagehttps://github.com/lawrencemq/printipy
SummaryPrintify API for Python
upload_time2024-05-24 19:20:53
maintainerNone
docs_urlNone
authorLawrence Weikum
requires_python>=3.8
licenseNone
keywords printify print on demand api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

```shell
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!

```python
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](https://lawrencemq.github.io/printipy/)!

## 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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lawrencemq/printipy",
    "name": "printipy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "printify, print on demand, api",
    "author": "Lawrence Weikum",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/e6/69/b77a44d6a9b4ecd196b1616b64e3b13cc559b65b6ac3359c9d1464e63a1f/printipy-1.2.1.tar.gz",
    "platform": null,
    "description": "# PrintiPy\nThe Printify API for Python\n\nPrintify'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!\n\nTested with Python 3.9 - 3.12.\n\n## Install\n\n```shell\npipenv install printipy\n```\n\n## Example\n\nQuickly connect to the Printify API via PrintiPy. Pass an API token for the Printify account and an optional Shop ID and start automating!\n\n```python\nfrom printipy.api import PrintiPy\n\napi = PrintiPy(api_token='...', shop_id='...')\n\nfor product in api.products.get_products():\n    print(product)\n```\n\n## API\n\nRead the docs [here](https://lawrencemq.github.io/printipy/)!\n\n## Development\n\n`pipenv install`\n\n### Build\n\n`python setup.py sdist bdist_wheel`\n\n### Tests\n\n`pipenv run pytest`\n\n### Documentation\n\nBuild docs using `pipenv run mkdocs build`\n\nDeploy docs using `mkdocs gh-deploy`. This pushes the generated `/site` to `gh-pages` branch on Github. \n\n### Releasing\nSpecific contributors are allowed to create a tag. Upon a tag's push, Actions will deploy to TestPypi and Pypi\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Printify API for Python",
    "version": "1.2.1",
    "project_urls": {
        "Homepage": "https://github.com/lawrencemq/printipy"
    },
    "split_keywords": [
        "printify",
        " print on demand",
        " api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "96a1bc8dc033e65a2cf806a07e1ab8ff5194603863e55f9539bba0dd730deb67",
                "md5": "a873f677266e09446957d6e62b9e624d",
                "sha256": "0754fc6e92fe5e6ca6e054b3a9a264bd83b784a2dc3053e9a4e7ad363189b228"
            },
            "downloads": -1,
            "filename": "printipy-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a873f677266e09446957d6e62b9e624d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 17308,
            "upload_time": "2024-05-24T19:20:52",
            "upload_time_iso_8601": "2024-05-24T19:20:52.240240Z",
            "url": "https://files.pythonhosted.org/packages/96/a1/bc8dc033e65a2cf806a07e1ab8ff5194603863e55f9539bba0dd730deb67/printipy-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e669b77a44d6a9b4ecd196b1616b64e3b13cc559b65b6ac3359c9d1464e63a1f",
                "md5": "695ce826677622f6579bd437fbd2bd30",
                "sha256": "e3f7662b3b88d47de2a834e3e8d5602028bf41b63d66a19bed6c89ac02d4ee60"
            },
            "downloads": -1,
            "filename": "printipy-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "695ce826677622f6579bd437fbd2bd30",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 17278,
            "upload_time": "2024-05-24T19:20:53",
            "upload_time_iso_8601": "2024-05-24T19:20:53.723369Z",
            "url": "https://files.pythonhosted.org/packages/e6/69/b77a44d6a9b4ecd196b1616b64e3b13cc559b65b6ac3359c9d1464e63a1f/printipy-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-24 19:20:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lawrencemq",
    "github_project": "printipy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "printipy"
}
        
Elapsed time: 0.48398s