Skip to content

ChamGeeks/HackathonPythonista2015

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

burgers_and_beer.py is an iOS app written entirely on an iPad in Python 2.7 using the Pythonista for iOS Integrated Development Environment. The app is a single Python file that uses the requests module to gather bar and offers data from the ChamonixHackathon2015 API. The Pythonista console and ui modules are then used to create two user interfaces:

  • BarsView which displays graphic buttons for seven bars in Chamonix, France
  • BarView which displays the photo, map, and table of food and drink offers for one bar

Installation:

  1. In Pythonista, open a new, empty script.
  2. Paste the contents of burgers_and_beer.py into the Editor window.
  3. Press the run button at the top right of the Editor.

Known issues:

  1. The app runs only in landscape mode
  2. The app was built for the iPad form factor and might need adjustment for iPhones
  3. Downloading the images of all seven bars causes a long startup delay. Images should be cached after the first download.
  4. The Munster bar image does not show up in BarsView but does show up in BarView.

We gladly accept pull requests for improvements of the app. Happy hacking.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages