{ "info": { "author": "Emanuele Palazzetti", "author_email": "hello@palazzetti.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "====================\npython-cash-register\n====================\n\n.. image:: https://badge.fury.io/py/python-cash-register.svg\n :target: https://badge.fury.io/py/python-cash-register\n\n.. image:: https://travis-ci.org/palazzem/python-cash-register.svg?branch=master\n :target: https://travis-ci.org/palazzem/python-cash-register\n\n.. image:: https://codecov.io/gh/palazzem/python-cash-register/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/palazzem/python-cash-register\n\n\nPython bindings for generic cash registers, using the `XON/XOFF protocol`_ for serial communication.\n\n.. _XON/XOFF protocol: https://en.wikipedia.org/wiki/Software_flow_control\n\nSupport\n-------\n\nIf you need support, please use the `GitHub issue tracker`_.\n\n.. _GitHub issue tracker: https://github.com/palazzem/wagtail-nesting-box/issues\n\nContributing\n------------\n\nWe love contributions, so please feel free to fix bugs, improve things, provide documentation.\nJust follow the guidelines and submit a PR.\n\nRequirements\n------------\n\n* Python 2.7, 3.3, 3.4 and 3.5\n\nOverview\n--------\n\nComing soon.\n\nGetting started\n---------------\n\nThis example could be outdated and you should not use it until a stable version\nof the library is out:\n\n.. code-block:: python\n\n from serial import Serial\n from cash_register.models.xditron import SaremaX1\n\n\n # defines the serial communication\n conn = Serial()\n conn.port = '/dev/ttyUSB0'\n conn.baudrate = 9600\n conn.xonxoff = True\n conn.timeout = 1\n\n # create a cash register with a serial connection handler\n register = SaremaX1('Shop center', connection=conn)\n\n # write a list of products\n products = [\n {\n 'description': 'Potatoes',\n 'price': '2.0',\n 'quantity': '3.0',\n },\n {\n 'description': 'Water',\n 'price': '0.50',\n },\n ]\n\n # prepare and send cash register commands\n register.sell_products(products)\n register.send()\n\nDocumentation\n-------------\n\nComing soon.\n\nLicense\n-------\n\n``python-cash-register`` is released under the terms of the **BSD license**. Full details in ``LICENSE`` file.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/palazzem/python-cash-register", "keywords": "cash register", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "python-cash-register", "package_url": "https://pypi.org/project/python-cash-register/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-cash-register/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/palazzem/python-cash-register" }, "release_url": "https://pypi.org/project/python-cash-register/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "A set of Python bindings to control cash registers", "version": "0.1.1" }, "last_serial": 2258743, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "16783e218eb9db1ee6a334b7f50a4d8e", "sha256": "712c0c65e2bdb6237f4ab910845351737f01c4658bd7d5d82ef7e9b6f2ca5980" }, "downloads": -1, "filename": "python-cash-register-0.1.0.tar.gz", "has_sig": false, "md5_digest": "16783e218eb9db1ee6a334b7f50a4d8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7869, "upload_time": "2016-08-01T15:28:21", "url": "https://files.pythonhosted.org/packages/dc/38/d4f5b3957c862ea1e889d379b6e8b20a67b8817f8c85aa86a1db4a935075/python-cash-register-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "538241ba2eca7c7c524f804ca762b372", "sha256": "f176ea2c3485d846e1163db15252df6c256590ed72b79dcacc8259eba31da512" }, "downloads": -1, "filename": "python-cash-register-0.1.1.tar.gz", "has_sig": false, "md5_digest": "538241ba2eca7c7c524f804ca762b372", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8077, "upload_time": "2016-08-02T21:16:35", "url": "https://files.pythonhosted.org/packages/45/a3/c7aa3d522e4ec1fbdbe7504a39ec55b251ba5565229b1fc8614dba2a219e/python-cash-register-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "538241ba2eca7c7c524f804ca762b372", "sha256": "f176ea2c3485d846e1163db15252df6c256590ed72b79dcacc8259eba31da512" }, "downloads": -1, "filename": "python-cash-register-0.1.1.tar.gz", "has_sig": false, "md5_digest": "538241ba2eca7c7c524f804ca762b372", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8077, "upload_time": "2016-08-02T21:16:35", "url": "https://files.pythonhosted.org/packages/45/a3/c7aa3d522e4ec1fbdbe7504a39ec55b251ba5565229b1fc8614dba2a219e/python-cash-register-0.1.1.tar.gz" } ] }