Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A helga command to generate either haiku or tanka poems

Project Description

A helga command to generate either haiku or tanka poems. All five or seven syllable lines are user generated and stored using this plugin. Usage:

helga (haiku|tanka) [blame|tweet|about <term>|by <nick>|(add|add_use|use|remove|claim) (fives|sevens) (INPUT ...)].

Without any arguments helga haiku or helga tanka will produce a randomly generated haiku or tanka from stored five or seven syllable lines respectively. Each subcommand acts as follows:

Get a list of the nicks of the users that authored the lines of a generated haiku
about <term>
Generate a haiku or tanka using a given term. This term supports any valid regular expression. For example, !haiku about foo will search for lines containing ‘foo’, but !haiku about foo$ will only return lines that end with foo
by <nick>
Generate a haiku or tanka with lines by the given nick. If not enough lines exist for this nick, then lines are selected at random
add (fives|sevens) (INPUT ...)
Add a five or seven syllable line to the database but do not generate a poem
add_use (fives|sevens) (INPUT ...)
Add a five or seven syllable line to the database and then generate and return a poem containing that line
use (fives|sevens) (INPUT ...)
Generate a poem containing the given five or seven syllable line, but do not store it for future poems
claim (fives|sevens) (INPUT ...)
Allows the requesting user to claim authorship of a given five or seven syllable line

A bit of an undocumented feature, but poems can be tweeted to some Twitter account. For example, generating a poem with !haiku followed by !haiku tweet. This requires some additional settings:



This plugin requires database access


Copyright (c) 2015 Shaun Duncan

Licensed under an MIT license.

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(8.9 kB) Copy SHA256 Hash SHA256
Source None Oct 26, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers