Skip to content

garncarz/laileoulacuisse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Wing or the Thigh

This app creates a tray icon for an easy access to information about this week's menus of user's favourite restaurants.

It is written in Python 3, GUI is powered by GTK+ 3.

Installation

$ pip install --egg [--user] laileoulacuisse (unfortunately fails without --egg)

Then you can find the app in your applications menu (Internet section), or run it manually as $ laileoulacuisse.

Screenshot

Czech localization

Under the hood

Fetching algorithms are written as plugins in the fetcher directory. They make use of urllib.request, so fetching online data is easy, cookie-aware connection is used by default. Fetchers parse HTML, XML and even Word (using external program Antiword) documents using lxml.etree, mainly by the means of XPath. New/modified XPath queries can be easily tested online at http://videlibri.sourceforge.net/cgi-bin/xidelcgi.