🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

pdftty

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdftty

A PDF viewer for the terminal

0.0.2
94

Supply Chain Security

100

Vulnerability

98

Quality

100

Maintenance

100

License

Maintainers
1

pdftty

PyPI

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:

poetry tipps

poetry install poetry shell # do tests python -m pdftty.main test.pdf

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts