Skip to main content

A tool/library to automatically create book covers

Project description

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:

A book cover

There are plentiful opportunities for customization, which I will probably not do anything about.

TODO: packaging and such.

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

tapita-0.1.0.tar.gz (1.1 MB view hashes)

Uploaded Source

Built Distribution

tapita-0.1.0-py3-none-any.whl (1.1 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page