Skip to content

felixmde/ptoos-xray

Folders and files

NameName
Last commit message
Last commit date
Dec 17, 2022
Dec 18, 2022
Dec 18, 2022
Dec 17, 2022
Oct 19, 2022
Dec 17, 2022
Dec 17, 2022
Dec 17, 2022
Dec 18, 2022
Oct 23, 2022
Oct 25, 2022

Repository files navigation

ptoos-xray

Script that adds a Pokedex chapter to the Pokemon: Origin of the Species epub and links Pokemon to the respective section in that chapter.

It works with the epub that you can download from Daystar Eld's Patreon.

Usage

pip install --user pipenv
pipenv install
pipenv shell
python ptoos-xray.py "DaystarEld - Pokemon The Origin of Species.epub"

Run tests

pipenv install --dev
pipenv run pytest

Pokemon download and compression

The Pokemon information and pictures are part of the repository.

To redownload the data delete the contents of the pokemon directory and run the script with the --download flag. This takes a while which is why I decided that checking in the data is a good idea.

Install pngquant to compress the PNGs and get a smaller epub file. Thanks to C0rn3j for suggesting that. The images are checked in in their compressed form.

Credits

Full credit for the Pokemon names, images, and descriptions goes to Bulbapedia under Attribution-NonCommercial-ShareAlike 2.5.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages