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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for pdftty-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f681bab3a38f4b36d5e2d1c35b75534fc077baa530e939c7fa5caa8dcd42287d
MD5 0f1c86cacc47411fb22c3fed97fd7469
BLAKE2b-256 b61f47d37a6d20851d0f276bffede4abfdf08fd5b0f930b856bfa74bf48165bf

See more details on using hashes here.

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

Hashes for pdftty-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9bfef2865f7a2f98305d52a32aa432b34c1f75a3722eedf3b8e0bc66f266ec3e
MD5 1f2249e110b184c7a15274a1c0fc8d5e
BLAKE2b-256 508d0c735a1b1157e5b03558158336a296cbb812a626f202b95692f925f0dd0d

See more details on using hashes here.

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