Skip to main content

A PDF viewer for the terminal

Project description

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

Project details


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 hashes)

Uploaded Source

Built Distribution

pdftty-0.0.2-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page