Trop Tumps
A statistics-duelling deck generator using data from wikipedia.
Trop Tumps chooses random categories from dbpedia.org and turns them into (mostly-useless) printable decks of cards representing things from that category, complete with exciting statistics.
Installation
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+https://github.com/Frimkron/troptumps#egg=troptumps
Alternatively you can download the source and install it with the setup.py
script.
Usage
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 dbpedia.org 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.
Licence
Trop Tumps is released under the GPL 3 licence. For the full text of this
licence see LICENCE.txt.
Credits
Created by Mark Frimston
Github: https://github.com/Frimkron
Website: http://markrimston.co.uk
Email: mark@markfrimston.co.uk
Twitter: @frimkron
Mastodon: frimkron@mastodon.social
Metadata
Release files for troptumps 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| troptumps-1.0.2.tar.gz | 10.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| troptumps-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.2 MB
Release files / troptumps-1.0.2.tar.gz
| Download URL | troptumps-1.0.2.tar.gz |
|---|---|
| Size | 10.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4ff3d092a6eeb2dad4d6cd145c68c915b5958019df9fc465c58b29d2fc35063
|
|
BLAKE2b-256 checksum How to use checksums |
60ddae8308939bbe0aa8afbd60840bd56e4781ed194507dc4843e80ea140f335
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
|
Release files / troptumps-1.0.2-py3-none-any.whl
| Download URL | troptumps-1.0.2-py3-none-any.whl |
|---|---|
| Size | 10.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
356f131bbde482426fc1e9a9c7962b3b47f2691b8dbb27e6a3479b1d17d34b34
|
|
BLAKE2b-256 checksum How to use checksums |
87c624ce28673b52e7f36fcc7bbfdbf6ee3c4d72c116bba2b36cb9f6a49514c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
|