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:
- blame
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:
TWITTER_CONSUMER_KEY
TWITTER_CONSUMER_SECRET
TWITTER_OAUTH_TOKEN
TWITTER_OAUTH_TOKEN_SECRET
TWITTER_USERNAME
License
Copyright (c) 2015 Shaun Duncan
Licensed under an MIT license.
Metadata
Release files for helga-poems 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| helga-poems-0.2.0.tar.gz | 8.9 kB | Without provenance | Details |
Release files / helga-poems-0.2.0.tar.gz
| Download URL | helga-poems-0.2.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2e77c967b698f7da1dd15c374fd4ed1950654e1a0db8c6bca2d56d6930e741a
|
|
BLAKE2b-256 checksum How to use checksums |
91a0c2a80b0de661d7f872954525814d224cd6093ebb3204f208e0a6c178c4bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for helga-poems 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.