Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jwheare/digest
Python script to generate a daily digest PDF in pocketmod booklet form to print out and enjoy
https://github.com/jwheare/digest
Last synced: 8 days ago
JSON representation
Python script to generate a daily digest PDF in pocketmod booklet form to print out and enjoy
- Host: GitHub
- URL: https://github.com/jwheare/digest
- Owner: jwheare
- License: bsd-3-clause
- Created: 2009-01-25T23:28:13.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2011-11-29T14:03:24.000Z (almost 13 years ago)
- Last Synced: 2023-04-13T08:19:01.242Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 10.8 MB
- Stars: 17
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
UPDATE November 2011: This is currently not building. Oh well.
Generate a daily digest PDF in pocketmod booklet form to print out and enjoy.
See: http://www.pocketmod.com/
Usage:
python digest.py
This will run through and fetch all the data, and save a PDF file in output/digest.pdf. The file will be opened when the script completes
I'm slowly filling in the pages of the booklet. I'll add them here in the order they appear:
1. Last.fm event recommendations
2. Tube line and station status
3. Twitter updates
4. Newsgator RSS headlines
5. Google calendar + Weather
6. Flickr photo spread left
7. Flickr photo spread right
8.Required libs:
- PIL (compiled with jpeg support)
http://www.pythonware.com/products/pil/
http://www.ijg.org/
- pylast 0.3 branch revision 163 (PATCHED see lib/pylast.diff)
http://code.google.com/p/pylast/source/browse/branches/0.3/?r=163 GPLBundled libs:
- Some Django utils
http://www.djangoproject.com/ BSD
- ReportLab
http://www.reportlab.org/ BSD
- gdata-python-client
http://code.google.com/p/gdata-python-client/ Apache
- BeautifulSoup
http://www.crummy.com/software/BeautifulSoup/ BSD
- simplejson
http://code.google.com/p/simplejson/ MIT
- feedparser
http://www.feedparser.org/ MIT
- flickrapi
http://stuvel.eu/projects/flickrapi PythonYou'll also need a settings.py file module which defines things like api keys, usernames and passwords.
See settings.example.pyAPIs:
- Google Static Maps
http://code.google.com/apis/maps/documentation/staticmaps/
- Last.fm
http://www.last.fm/api
http://apiwiki.twitter.com/
- Newsgator
http://www.newsgator.com/ngs/api/
http://www.newsgator.com/ngs/TermsOfService.aspx
http://nmp.newsgator.com/NGBuzz/Images/PoweredbyNG.gif
- Google Calendar
http://code.google.com/apis/calendar/
- Flickr
http://www.flickr.com/services/api/
This product uses the Flickr API but is not endorsed or certified by Flickr.RSS:
- BBC Weather
http://news.bbc.co.uk/weather/hi/about/newsid_7788000/7788189.stm
- Met Office warnings and advisories
http://www.metoffice.gov.uk/weather/uk/rss/help.htmlScreen Scraping:
- TFL
http://www.tfl.gov.uk/