Skip to main content

A statistics-duelling deck generator using data from wikipedia

Project description

Trop Tumps

A statistics-duelling deck generator using data from wikipedia.

Trop Tumps chooses random categories from and turns them into (mostly-useless) printable decks of cards representing things from that category, complete with exciting statistics.


Note: Trop Tumps requires Python 3.6+

The simplest way to install Trop Tumps is using pip. With Python and pip installed, Trop Tumps can be installed from the Python Package Index with:

pip install troptumps

or directly from the source repository with:

pip install git+

Alternatively you can download the source and install it with the script.


If you have installed Trop Trumps, it can be run using the troptumps executable (troptumps.exe on Windows), otherwise the package can be run directly with python -m troptumps.

The script will connect to and keep trying to find a suitable category of things to turn into a card deck. Eventually, with a bit of luck, a directory named deck_(something) will be written to the current working directory, containing a printable .pdf file.

To re-generate the PDF for an existing deck (e.g. to change the paper size), use the --datadir option to indicate the path of a deck_ directory. The PDF will be overwritten.

Use the --help flag to see the full list of options.


Trop Tumps is released under the GPL 3 licence. For the full text of this licence see LICENCE.txt.


Created by Mark Frimston

Twitter: @frimkron

Project details

Download files

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

Source Distribution

troptumps-1.0.2.tar.gz (10.1 MB view hashes)

Uploaded source

Built Distribution

troptumps-1.0.2-py3-none-any.whl (10.1 MB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page