{ "info": { "author": "Raphael Michel", "author_email": "mail@raphaelmichel.de", "bugtrack_url": null, "classifiers": [], "description": "pretix-printtool\n================\n\nThis is a command-line tool for `pretix`_ that allows you to automatically print out tickets that should be sent\nto the customer on paper. This requires the pretix Shipping plugin that is only available for shops hosted on\npretix.eu or for pretix Enterprise installations.\n\nCurrent limitations:\n\n* Currently only supports printing on a per-organizer level, not on a per-event level.\n\n* Currently only supports printing systems with a *local* CUPS deamon (Linux/macOS)\n\n* Currently uses a late-ack method: The tool polls a PDF to print, prints it, waits for the print job to complete,\n then confirms the printing to the server and then starts polling the next PDF. This is obviously slower and might\n be parallelized, but this way it is kept simple and robust to ensure an easily recoverable state after printer errors.\n\nInstallation and usage\n----------------------\n\nFirst, make sure you have a recent Python installation on your system. If ``python -V`` gives you a version 2.x,\ntry using ``python3`` instead or install a newer Python. We recommend Python 3.6+, but 3.4+ should work as well.\n\nThen, we recommend creating a virtual environment to isolate the python dependencies of this package from other\npython programs ony our system::\n\n $ pyvenv env\n $ source env/bin/activate\n\nYou should now see a ``(env)`` prepended to your shell prompt. You have to do this\nin every shell you use to work with pretix (or configure your shell to do so\nautomatically). Depending on your Python version, you might need to replace ``pyvenv`` with ``python -m venv``.\nIf you are working on Ubuntu or Debian, we recommend upgrading your pip and setuptools installation inside\nthe virtual environment::\n\n (env)$ pip3 install -U pip setuptools\n\nNow you can install the print tool::\n\n (env)$ pip3 install pretix-printtool\n\nTo configure it, run the following command::\n\n (env)$ pretix-printtool setup\n\nYou will be asked a number of questions on your printer as well as for the URL of your pretix\ninstallation and your API key. The prompt will also tell you how to obtain that API key.\n\nAt the end, this command will write a config file to a location of your choice. You need to specify this config file\nfor all further actions. The command::\n\n (env)$ pretix-printtool test configfile-path.cfg\n\nwill test the connection to pretix, but will not perform any actions. To actually start printing, use::\n\n (env)$ pretix-printtool print configfile-path.cfg\n\n\nContributing\n------------\n\nIf you like to contribute to this project, you are very welcome to do so. If you have any\nquestions in the process, please do not hesitate to ask us.\n\nPlease note that we have a `Code of Conduct`_ in place that applies to all project contributions, including issues,\npull requests, etc.\n\nLicense\n-------\n\nCopyright 2017 Raphael Michel\n\nReleased under the terms of the GNU General Public License v3.0.\n\n.. _pretix: https://github.com/pretix/pretix\n.. _Code of Conduct: https://docs.pretix.eu/en/latest/development/contribution/codeofconduct.html\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pretix/pretix-printtool", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pretix-printtool", "package_url": "https://pypi.org/project/pretix-printtool/", "platform": "", "project_url": "https://pypi.org/project/pretix-printtool/", "project_urls": { "Homepage": "https://github.com/pretix/pretix-printtool" }, "release_url": "https://pypi.org/project/pretix-printtool/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Command-line client for pretix that allows to print out tickets for shippinh", "version": "0.1.1" }, "last_serial": 5153883, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ba0741845d81e0be017d90414c9cca35", "sha256": "12316f01557445a257c43ef40c5e492314a4a16f255dd60063cb1fbe4777e56f" }, "downloads": -1, "filename": "pretix_printtool-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ba0741845d81e0be017d90414c9cca35", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10775, "upload_time": "2017-11-22T14:16:36", "url": "https://files.pythonhosted.org/packages/43/01/eec3fd7279555d18a3dedb29952bbc0cf342eda779d05cc59add0fd486a1/pretix_printtool-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "11bdae2088c5459cca5dc95794ffdf4b", "sha256": "0639debc60c7475cddb069677ca23c6f38023abba3eac73306b2c72af83050c7" }, "downloads": -1, "filename": "pretix-printtool-0.1.0.tar.gz", "has_sig": false, "md5_digest": "11bdae2088c5459cca5dc95794ffdf4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6771, "upload_time": "2017-11-22T14:16:34", "url": "https://files.pythonhosted.org/packages/0f/f7/a6e359dfdd3f185ba5274225425f3d6356baea619e3278ef5f1e2468af0f/pretix-printtool-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c690ec26837abacaaaf0c6cc1c3aff07", "sha256": "1b27a433f8a5029485b6e99cea34997b9390840981cfd431642a085cbb135f9c" }, "downloads": -1, "filename": "pretix_printtool-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c690ec26837abacaaaf0c6cc1c3aff07", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 9007, "upload_time": "2017-12-04T20:11:03", "url": "https://files.pythonhosted.org/packages/02/fc/bf9e061db9f487421a5c8f826811c1d045afe1bffb4e60f9b766de7a072e/pretix_printtool-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3e0bba5986149d1fe2c614d265400ea7", "sha256": "7901d63df9834b1471039c12c1a913fb3ef956336af8b87460191552b51560c1" }, "downloads": -1, "filename": "pretix-printtool-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3e0bba5986149d1fe2c614d265400ea7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5182, "upload_time": "2017-12-04T20:11:00", "url": "https://files.pythonhosted.org/packages/ec/e3/005c066fe3dfa5fa9b133cc3f40253d9ce9f38d4b565d9c2aaf135134f61/pretix-printtool-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c690ec26837abacaaaf0c6cc1c3aff07", "sha256": "1b27a433f8a5029485b6e99cea34997b9390840981cfd431642a085cbb135f9c" }, "downloads": -1, "filename": "pretix_printtool-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c690ec26837abacaaaf0c6cc1c3aff07", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 9007, "upload_time": "2017-12-04T20:11:03", "url": "https://files.pythonhosted.org/packages/02/fc/bf9e061db9f487421a5c8f826811c1d045afe1bffb4e60f9b766de7a072e/pretix_printtool-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3e0bba5986149d1fe2c614d265400ea7", "sha256": "7901d63df9834b1471039c12c1a913fb3ef956336af8b87460191552b51560c1" }, "downloads": -1, "filename": "pretix-printtool-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3e0bba5986149d1fe2c614d265400ea7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5182, "upload_time": "2017-12-04T20:11:00", "url": "https://files.pythonhosted.org/packages/ec/e3/005c066fe3dfa5fa9b133cc3f40253d9ce9f38d4b565d9c2aaf135134f61/pretix-printtool-0.1.1.tar.gz" } ] }