Bookify
Transform pdf files into books for double-sided printing
Preparing the book: Layout
- Use Calibre to convert the book to .docx format
- Modify the resulting docx, applying the following changes:
- Add title page + empty page (usually the second page is empty)
- Maybe add extra pages such as index or dedication
- Add page numbering (make sure to make it start only after the special pages such as index/dedication)
- Make sure that every new chaper is in an odd page (this is to make it so that the first page of every chaper appears on the left)
- Make the total number of pages a multiple of 4 (if it's not, empty pages will be added at the end to pad it)
- It's recommended to set the size of the document to A5 and use generous margins
- Export the document into a pdf (we will refer to this pdf as
formatted.pdf)
Note: You can use this docx as a template and/or example of the book layout described.
Build book
Install pdfjam
sudo apt-get install pdfjam # Ubuntu
sudo dnf install texlive-pdfjam-bin # Fedora
Build
pip install bookify
bookify formatted.pdf 20
Usage: First argument (formatted.pdf) is the name of the pdf and second argument (20) is the signature size, that is, the number of pages per booklet
Extra: Getting books from wattpad
pip install FanFicFare
fanficfare https://www.wattpad.com/story/9999999-story-title
Use URLs like:
Metadata
Release files for bookify 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| bookify-1.1.1.tar.gz | 3.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bookify-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / bookify-1.1.1.tar.gz
| Download URL | bookify-1.1.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17aa6098474965730b0fad3982b436580c825777c561d72bdd3108066afbe611
|
|
BLAKE2b-256 checksum How to use checksums |
040e36be3bed76701757ece65450dbf3c4ede27ca47b6ad204e585550edcdbbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.3 CPython/3.7.6 Linux/5.4.12-100.fc30.x86_64
|
Release files / bookify-1.1.1-py3-none-any.whl
| Download URL | bookify-1.1.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e887ac3eb25210ea516de1595a2d9039f7efe01b8f319c38db21d4b6d28e24b1
|
|
BLAKE2b-256 checksum How to use checksums |
144c6b3abe899ad2bca778db8885e72ea7e39945d470fc4147630fc75fe937e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.3 CPython/3.7.6 Linux/5.4.12-100.fc30.x86_64
|
Security for bookify 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.