Coffee.py: a *Bucks-compatible Random Order Generator


What is it?

Coffee.py is an random order generator for Starbucks-compatible (or *Bucks) coffeeshops, implemented in Python 2.

How does it work?

Coffee.py contains lists of popular ordering options, shuffles those lists using a pseudorandom number generator, and generates a formatted string with a technically correct *bucks order.

Are there any anomalies?

Some of the orders are technically invalid, or at least unlikely. This will be resolved in future versions by creating separate functions for different drinks.

Where can I get it?

Here.


Originally published at scawtandkateh.com on August 15, 2014.