paraninfodl
Download ebooks from ebooks.paraninfo.es as PDF. Chromium is installed automatically on first run.
Installation
pipx (recommended)
pipx install git+https://github.com/El-Mundos/paraninfodl
uv
uv tool install git+https://github.com/El-Mundos/paraninfodl
pip
pip install git+https://github.com/El-Mundos/paraninfodl
Arch Linux (AUR)
git clone https://aur.archlinux.org/paraninfodl.git
cd paraninfodl
makepkg -si
Or with an AUR helper:
yay -S paraninfodl
# or
paru -S paraninfodl
From source
git clone https://github.com/El-Mundos/paraninfodl
cd paraninfodl
pip install .
Usage
paraninfodl <url>
The first run opens a browser window for Google login. The session is saved to ~/.paraninfo_session.json and reused automatically from then on.
Options
| Flag | Description |
|---|---|
-o PATH |
Output path for the PDF. Can be a file or a directory. Defaults to ./<book-slug>.pdf. |
--quality N |
Re-encode images at JPEG quality N (1–95). Lower = smaller file. Omit for lossless. |
--text-layer |
Add a selectable/searchable text layer to the PDF. |
--keep-pages |
Keep the downloaded page images after building the PDF. |
Examples
# Lossless PDF
paraninfodl https://ebooks.paraninfo.es/reader/my-book
# Compressed + searchable text
paraninfodl https://ebooks.paraninfo.es/reader/my-book --quality 75 --text-layer
# Keep page images for inspection
paraninfodl https://ebooks.paraninfo.es/reader/my-book --keep-pages
Notes
- Only works with books your account has access to.
- The saved session (
~/.paraninfo_session.json) contains your cookies — don't share it. - Page images are cached in
~/.cache/paraninfodl/<book-slug>/and deleted after the PDF is built (unless--keep-pagesis set). Re-running resumes from where it left off regardless of which directory you run from.
Metadata
Release files for paraninfodl 1.4.0
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 | Actions |
|---|---|---|---|---|
| paraninfodl-1.4.0.tar.gz | 10.4 kB | Without provenance | Details for paraninfodl-1.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| paraninfodl-1.4.0-py3-none-any.whl | Python 3 | none | any | Details for paraninfodl-1.4.0-py3-none-any.whl |
Total release size: 22.2 kB
Release files / paraninfodl-1.4.0.tar.gz
| Download URL | paraninfodl-1.4.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7fabe29999f40ef5c3f78448203da803ddb954394d0faeb4fa708b90583287b5
|
|
BLAKE2b-256 checksum How to use checksums |
c22f34d5b8904b85bc6ce3026d4f99c86e75db943e926e351dc68853cbdd2fab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / paraninfodl-1.4.0-py3-none-any.whl
| Download URL | paraninfodl-1.4.0-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8a8c6c73ea8c8cb313e09cbca8cf7a1b5cd2352b49035f77318b11c728ca298
|
|
BLAKE2b-256 checksum How to use checksums |
9aa18524f9cb9f7b1b0c796c6535cb1db900d6078fa57682c4aa3ff2c030c601
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for paraninfodl 1.4.0
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.