Skip to content

cmsj/dailymail

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

#dailymail ##by Chris Jones cmsj@tenshu.net ##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)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages