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
- Host: GitHub
- URL: https://github.com/cmsj/dailymail
- Owner: cmsj
- Created: 2013-01-31T14:34:31.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-01-31T14:34:48.000Z (about 13 years ago)
- Last Synced: 2025-06-06T00:31:22.161Z (11 months ago)
- Language: Python
- Size: 102 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)