An open API service indexing awesome lists of open source software.

https://github.com/cmsj/dailymail

Port of Chris Applegate's Javascript Daily Mail headline generator, to Python
https://github.com/cmsj/dailymail

Last synced: 9 months ago
JSON representation

Port of Chris Applegate's Javascript Daily Mail headline generator, to Python

Awesome Lists containing this project

README

          

#dailymail
##by Chris Jones
##ported from the original Javascript by Chris Applegate (www.qwghlm.co.uk)
##Released under the GNU GPL v2 or later
----------------------------------------

This is a class with a simple purpose, it creates fictional headlines from the
British newspaper The Daily Mail.

They are well known for their ability to completely suspend all rational
thought and print the craziest nonsense. So crazy that parody is almost
unnecessary, but still a lot of fun.

To use this class, simply pop it somewhere in your python path and do something
like:

import dailymail
paper = dailymail.dailymail()
print paper.headline()

Easy!

(P.S. If you work for the Daily Mail and find this library useful, please let
me know)