Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.15 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.15 KB

Random Poem Generator

Random poem generator script using PoetryDB written in Python. It just selects one of the poem from the database that has 2972 different poems written by 128 different poets. Please look at the PoetryDB website for the detailed documentation. :octocat:

Example Outputs

> ./poem.py

Author: Emily Dickinson

Title: Defrauded I a Butterfly --

Defrauded I a Butterfly --
The lawful Heir -- for Thee --

> ./poem.py

Author: George Gordon, Lord Byron

Title: Sun of the Sleepless!

Sun of the sleepless! melancholy star!
Whose tearful beam glows tremulously far,
That show'st the darkness thou canst not dispel,
How like art thou to Joy remembered well!
So gleams the past, the light of other days,
Which shines, but warms not with its powerless rays:
A night-beam Sorrow watcheth to behold,
Distinct, but distant--clear--but, oh how cold!

It's just a simple script, so feel free to contribute and send pull requests to the project. 🐱