This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Python bindings for generic cash registers, using the XON/XOFF protocol for serial communication.

Support

If you need support, please use the GitHub issue tracker.

Contributing

We love contributions, so please feel free to fix bugs, improve things, provide documentation. Just follow the guidelines and submit a PR.

Requirements

  • Python 2.7, 3.3, 3.4 and 3.5

Overview

Coming soon.

Getting started

This example could be outdated and you should not use it until a stable version of the library is out:

from serial import Serial
from cash_register.models.xditron import SaremaX1


# defines the serial communication
conn = Serial()
conn.port = '/dev/ttyUSB0'
conn.baudrate = 9600
conn.xonxoff = True
conn.timeout = 1

# create a cash register with a serial connection handler
register = SaremaX1('Shop center', connection=conn)

# write a list of products
products = [
    {
        'description': 'Potatoes',
        'price': '2.0',
        'quantity': '3.0',
    },
    {
        'description': 'Water',
        'price': '0.50',
    },
]

# prepare and send cash register commands
register.sell_products(products)
register.send()

Documentation

Coming soon.

License

python-cash-register is released under the terms of the BSD license. Full details in LICENSE file.

Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-cash-register-0.1.1.tar.gz (8.1 kB) Copy SHA256 Checksum SHA256 Source Aug 2, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting