bookify-1.1.1
توضیحات
Transform pdf files into books for double-sided printing
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bookify-1.1.1 |
| نام | bookify |
| نسخه کتابخانه | 1.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Albert |
| ایمیل نویسنده | github@albert.sh |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/bookify/ |
| مجوز | MIT |
# Bookify
> Transform pdf files into books for double-sided printing
## Preparing the book: Layout
1. Use Calibre to convert the book to .docx format
2. 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
3. Export the document into a pdf (we will refer to this pdf as `formatted.pdf`)
**Note**: You can use [this docx](https://raw.githubusercontent.com/corollari/bookify/master/book.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:
* https://www.wattpad.com/story/9999999-story-title
* https://www.wattpad.com/story/9999999
* https://www.wattpad.com/9999999-chapter-is-ok-too
نیازمندی
| مقدار | نام |
|---|---|
| ==1.0.0b1 | stapler |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl bookify-1.1.1:
pip install bookify-1.1.1.whl
نصب پکیج tar.gz bookify-1.1.1:
pip install bookify-1.1.1.tar.gz