Skip to content

Random poem generator script using PoetryDB written in Python.

License

Notifications You must be signed in to change notification settings

0x01h/random-poem-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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. 🐱

About

Random poem generator script using PoetryDB written in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages