Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PyConZA 2012: "How to open a bar in Python" by ...

Pycon ZA
October 04, 2012

PyConZA 2012: "How to open a bar in Python" by Edward van Kuik

Coming from the open source world, I could not muster the courage to buy the closed-source proprietary software that most businesses use, and eventually decided to write almost everything myself that we needed to open the bar. Having everything open and in Python allows me to do cool stuff.

Things we have built:

* 8-channel rotary dial antique telephone system using 2x Arduinos, a 10-channel sound card. Libs used: pyjack, numpy, scipy, pyserial...

* 2x terminal Point of Sale system using GTK front end on Ubuntu, posting to an (also home-made) accounting and stock control system. Receipt printer, cash drawer, touch screen, RFID login.

* Door access control system using Arduinos and RFID readers. Libs used: pyfirmata, sqlalchemy...

Everything is open, and configurable by me in Python, so I can do cool stuff: I can dial a number on the rotary to change the song in Clementine, or adjust the volume. I can listen to the title of the song playing read by espeak. I can dial 222 on a rotary dial telephone to listen to BBC World Service live off the net. I can send a SMS to 32010 and it will print out as a telegram on the POS receipt printer.

Pycon ZA

October 04, 2012
Tweet

More Decks by Pycon ZA

Other Decks in Programming

Transcript

  1. How to open a bar in Python bar = 'foo'

    open(bar) Edward van Kuik PyConZA 2012
  2. Point of Sale • python gtk3 • talks to api

    • cherrypy • RFID login • Pretty Fully Featured – Stock control – Recipes, etc.