A PDF viewer for the terminal
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdftty-0.0.2.tar.gz
(6.1 kB
view details)
Built Distribution
File details
Details for the file pdftty-0.0.2.tar.gz
.
File metadata
- Download URL: pdftty-0.0.2.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.2 CPython/3.8.6 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f681bab3a38f4b36d5e2d1c35b75534fc077baa530e939c7fa5caa8dcd42287d |
|
MD5 | 0f1c86cacc47411fb22c3fed97fd7469 |
|
BLAKE2b-256 | b61f47d37a6d20851d0f276bffede4abfdf08fd5b0f930b856bfa74bf48165bf |
File details
Details for the file pdftty-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pdftty-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.2 CPython/3.8.6 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bfef2865f7a2f98305d52a32aa432b34c1f75a3722eedf3b8e0bc66f266ec3e |
|
MD5 | 1f2249e110b184c7a15274a1c0fc8d5e |
|
BLAKE2b-256 | 508d0c735a1b1157e5b03558158336a296cbb812a626f202b95692f925f0dd0d |