# 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](https://dicebear.com)
which, again, will not change unless you change the title or subtitle
of the book.
This is based off code from [Tenprintcover](https://github.com/mgiraldo/tenprintcover-py)
although I don't think anything survives of the original code, which has been ported
to Pillow and de-c64-fied.
Usage:
```sh
$ 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:
```sh
$ python -m tapita -t "Dunes" -s "Oh, worms!" -a "Frank Herbert (has no sons)" -o cover.jpg
```
Which produces this image:
![A book cover](https://i.imgur.com/UcjdkkN.jpg)
There are plentiful opportunities for customization, which I will
probably not do anything about.
TODO: packaging and such.
Raw data
{
"_id": null,
"home_page": "https://github.com/ralsina/tapita",
"name": "tapita",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8.1,<4.0",
"maintainer_email": "",
"keywords": "ebook,cover",
"author": "Roberto Alsina",
"author_email": "roberto.alsina@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/38/26/207bc4e0cfbc67abecad908eb8ee44c56f3c854e0a48f540c78cfdfd5e63/tapita-0.1.0.tar.gz",
"platform": null,
"description": "# Tapita: a book cover generator\n\nThis is of very limited usefulness for the average person, but\nif you have ever needed to generate book covers for a few \nthousand files out of book metadata, then this may be for you!\n\nThe image it generates has some colorful \"art\" thanks to [Dicebear](https://dicebear.com)\nwhich, again, will not change unless you change the title or subtitle\nof the book.\n\nThis is based off code from [Tenprintcover](https://github.com/mgiraldo/tenprintcover-py) \nalthough I don't think anything survives of the original code, which has been ported\nto Pillow and de-c64-fied.\n\nUsage:\n\n```sh\n$ python -m tapita --help\nUsage: python -m tapita [OPTIONS]\n\nOptions:\n -t, --title <title> Book title\n -s, --subtitle <subtitle> Book subtitle\n -a, --author <author> Book author\n -o, --output <filename> Output file (- for stdout)\n --help Show this message and exit.\n\n```\n\nExample usage:\n\n```sh\n$ python -m tapita -t \"Dunes\" -s \"Oh, worms!\" -a \"Frank Herbert (has no sons)\" -o cover.jpg\n```\nWhich produces this image:\n\n![A book cover](https://i.imgur.com/UcjdkkN.jpg)\n\nThere are plentiful opportunities for customization, which I will\nprobably not do anything about.\n\nTODO: packaging and such.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A tool/library to automatically create book covers",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/ralsina/tapita",
"Repository": "https://github.com/ralsina/tapita"
},
"split_keywords": [
"ebook",
"cover"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "909711fbc97044636fde661acc86faf63d7fdf10de1046d2553888c4636311b3",
"md5": "e181ba55f17aefe05f4214a08c768657",
"sha256": "cad6468a12f945db7d044014a768c4b8bf4f51cc5fd81a18bf87ceff36a7cfb0"
},
"downloads": -1,
"filename": "tapita-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e181ba55f17aefe05f4214a08c768657",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.1,<4.0",
"size": 1140034,
"upload_time": "2023-05-16T13:54:10",
"upload_time_iso_8601": "2023-05-16T13:54:10.712666Z",
"url": "https://files.pythonhosted.org/packages/90/97/11fbc97044636fde661acc86faf63d7fdf10de1046d2553888c4636311b3/tapita-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3826207bc4e0cfbc67abecad908eb8ee44c56f3c854e0a48f540c78cfdfd5e63",
"md5": "923d46019f823d72fb7634d6fd6b6f3f",
"sha256": "517f6b5ea3e68048350c22366a081c7826ee6b0b9c333f13944c33a2c9577266"
},
"downloads": -1,
"filename": "tapita-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "923d46019f823d72fb7634d6fd6b6f3f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.1,<4.0",
"size": 1138287,
"upload_time": "2023-05-16T13:54:14",
"upload_time_iso_8601": "2023-05-16T13:54:14.373267Z",
"url": "https://files.pythonhosted.org/packages/38/26/207bc4e0cfbc67abecad908eb8ee44c56f3c854e0a48f540c78cfdfd5e63/tapita-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-16 13:54:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ralsina",
"github_project": "tapita",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "tapita"
}