Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luisanthony196/pdf-to-book
Advanced converter from standard PDF to brochure mode
https://github.com/luisanthony196/pdf-to-book
command-line-tool pdf-converter pypdf python terminal
Last synced: about 1 month ago
JSON representation
Advanced converter from standard PDF to brochure mode
- Host: GitHub
- URL: https://github.com/luisanthony196/pdf-to-book
- Owner: luisanthony196
- License: apache-2.0
- Created: 2024-08-19T15:31:05.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-19T15:40:59.000Z (5 months ago)
- Last Synced: 2024-08-20T18:46:06.366Z (5 months ago)
- Topics: command-line-tool, pdf-converter, pypdf, python, terminal
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDF To Book
Advanced converter from standard PDF to brochure mode
## Installation
Install via pipx or Rye on MacOS, Linux, and Windows:
```bash
pipx install pdftobook
cd my-project
```## Features
- Command line program
- Easy pagination, ranges, include pages and exclude pages
- Size modification
- Internal space modification
- Paginated by fragments## Usage/Examples
Once installed, you can run PDFBook by typing tjournal in your terminal:
```
pdftobook input.pdf output.pdf
```To view the available arguments and commands, you can use the --help or -h flag:
```javascript
pdftobook --help
Usage: pdftobook [OPTIONS] INPUT OUTPUTOptions:
-s, --separation INTEGER Separacion entre dos paginas
-g, --growth INTEGER Variacion del tamanio de las paginas
-r, --ranges ...
Rangos que seran usados
-ip, --include-pages TEXT Lista de numeros a incluir
-ep, --exclude-pages TEXT Lista de numeros a excluir
-n, --nro-pages INTEGER Nro de hojas para dividir
--help Show this message and exit.
```