pdftty
A PDF viewer for the terminal.
Installation
$ pip install pdftty
Make sure to also install libcaca if you want to use the CACA rendering engine.
Usage
$ pdftty --help
Usage: pdftty [OPTIONS] <file>
View PDFs in the terminal.
Options:
--page INTEGER Page of PDF to open.
--render-engine [ANSI|CACA] Which engine to use to render PDF page as text.
--help Show this message and exit.
https://github.com/Belval/pdf2image https://github.com/djentleman/imgrender/blob/master/imgrender/main.py
Urwid tips:
- Widget classes: http://urwid.org/manual/widgets.html
- Widget reference: http://urwid.org/reference/widget.html
poetry tipps
poetry install poetry shell # do tests python -m pdftty.main test.pdf
Release files for pdftty 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pdftty-0.0.2.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdftty-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / pdftty-0.0.2.tar.gz
| Download URL | pdftty-0.0.2.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f681bab3a38f4b36d5e2d1c35b75534fc077baa530e939c7fa5caa8dcd42287d
|
|
BLAKE2b-256 checksum How to use checksums |
b61f47d37a6d20851d0f276bffede4abfdf08fd5b0f930b856bfa74bf48165bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.2 CPython/3.8.6 Darwin/19.6.0
|
Release files / pdftty-0.0.2-py3-none-any.whl
| Download URL | pdftty-0.0.2-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9bfef2865f7a2f98305d52a32aa432b34c1f75a3722eedf3b8e0bc66f266ec3e
|
|
BLAKE2b-256 checksum How to use checksums |
508d0c735a1b1157e5b03558158336a296cbb812a626f202b95692f925f0dd0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.2 CPython/3.8.6 Darwin/19.6.0
|