Tapita: a book cover generator
This is of very limited usefulness for the average person, but if you have ever needed to generate book covers for a few thousand files out of book metadata, then this may be for you!
The image it generates has some colorful "art" thanks to Dicebear which, again, will not change unless you change the title or subtitle of the book.
This is based off code from Tenprintcover although I don't think anything survives of the original code, which has been ported to Pillow and de-c64-fied.
Usage:
$ python -m tapita --help
Usage: python -m tapita [OPTIONS]
Options:
-t, --title <title> Book title
-s, --subtitle <subtitle> Book subtitle
-a, --author <author> Book author
-o, --output <filename> Output file (- for stdout)
--help Show this message and exit.
Example usage:
$ python -m tapita -t "Dunes" -s "Oh, worms!" -a "Frank Herbert (has no sons)" -o cover.jpg
Which produces this image:
There are plentiful opportunities for customization, which I will probably not do anything about.
TODO: packaging and such.
Metadata
Release files for tapita 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tapita-0.1.0.tar.gz | 1.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tapita-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.3 MB
Release files / tapita-0.1.0.tar.gz
| Download URL | tapita-0.1.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
517f6b5ea3e68048350c22366a081c7826ee6b0b9c333f13944c33a2c9577266
|
|
BLAKE2b-256 checksum How to use checksums |
3826207bc4e0cfbc67abecad908eb8ee44c56f3c854e0a48f540c78cfdfd5e63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Linux/6.3.2-arch1-1
|
Release files / tapita-0.1.0-py3-none-any.whl
| Download URL | tapita-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cad6468a12f945db7d044014a768c4b8bf4f51cc5fd81a18bf87ceff36a7cfb0
|
|
BLAKE2b-256 checksum How to use checksums |
909711fbc97044636fde661acc86faf63d7fdf10de1046d2553888c4636311b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Linux/6.3.2-arch1-1
|