rice-apps/servery-app — pull request #1 by Lalaland (2014-03-19 21:00:06+00:00)
Title: Code for downloading and processing PDF menus from dining.rice.edu

This is a module that can download and process the dining.rice.edu menus using the pdfminer library.

It works by looking at the positions of the text in the PDF.
Documentation on the output can be found in the docstring at the top of the file. (In summary, it returns a dictionary of meals to days for both lunch and dinner as well as the date of the menu).

This code works on both menu types (single and 3 pages). Functionality to extract the details of the food items (such as Gluten Free, Vegetarian, etc) would be easy to add.

Example output on East's menu:
https://gist.githubusercontent.com/Lalaland/9651120/raw/224a8eea72c966780d26ffd41384e214273550cb/East+menu+output