Coder Social home page Coder Social logo

buzzword_poem_generator's Introduction

Buzzword poem generator

Build Status Coverage Status MIT license

Description:

Buzzword poem generator is a tool in pure Python for generation of the poems from the buzzwords.

This project was inspired by this tweet: https://twitter.com/lenadroid/status/957054198872293378

Description of algorithm is available in my blog: http://delimitry.blogspot.com/2018/02/buzzword-poem-generator-algorithm.html

Usage:

The usage of buzzword_poem_generator.py is simple:

usage: buzzword_poem_generator.py [-h] -r RHYME_SCHEME -s SYLLABLES_IN_LINES
                                  [SYLLABLES_IN_LINES ...]
                                  [-m MIN_WORDS_IN_LINE] [-c CACHE]

Buzzword poem generator

required arguments:
  -r RHYME_SCHEME       rhyme scheme (e.g.: ABAB, AABB)
  -s SYLLABLES_IN_LINES [SYLLABLES_IN_LINES ...]
                        syllables in lines (e.g.: 7 6 7 6)

optional arguments:
  -h, --help            show this help message and exit
  -m MIN_WORDS_IN_LINE  minimum number of words in line (1 by default)
  -c CACHE              use cache (True by default)

Examples:

Four line buzzword poems with ABAB rhyme scheme and seven syllables per line:

python buzzword_poem_generator.py -r ABAB -s 7 7 7 7 -m 3

Kinesis Flink Hadoop Swarm
Impala Splunk Riak Raft
Couchbase Go HBase Storm
Zookeeper Sqoop Nomad Rust

python buzzword_poem_generator.py -r ABAB -s 7 7 7 7

Hadoop Riak HBase Raft
Nomad Logstash Kotlin Go
Docker Lambda Mongo Rust
Redshift Swarm TensorFlow

Five line buzzword poem with ABABA rhyme scheme and seven syllables per line:

python buzzword_poem_generator.py -r ABABA -s 7 7 7 7 7

Splunk Swarm Hazelcast Flink Rust
Chef Hive Couchbase Vault Sqoop
Storm Go Cassandra Spark Raft
Lambda Terraform Hadoop
Erlang Celery React

License:

Released under The MIT License.

buzzword_poem_generator's People

Contributors

delimitry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gridl

buzzword_poem_generator's Issues

Add CLI

Add CLI, help and usage, update README with usage.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.