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 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file troptumps-1.0.2.tar.gz
.
File metadata
- Download URL: troptumps-1.0.2.tar.gz
- Upload date:
- Size: 10.1 MB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4ff3d092a6eeb2dad4d6cd145c68c915b5958019df9fc465c58b29d2fc35063 |
|
MD5 | 97c4d9502c75ab744c29d64a0c11844f |
|
BLAKE2b-256 | 60ddae8308939bbe0aa8afbd60840bd56e4781ed194507dc4843e80ea140f335 |
File details
Details for the file troptumps-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: troptumps-1.0.2-py3-none-any.whl
- Upload date:
- Size: 10.1 MB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 356f131bbde482426fc1e9a9c7962b3b47f2691b8dbb27e6a3479b1d17d34b34 |
|
MD5 | 8a783dc673889b35d4fd3209c40dcf5f |
|
BLAKE2b-256 | 87c624ce28673b52e7f36fcc7bbfdbf6ee3c4d72c116bba2b36cb9f6a49514c5 |