Skip to main content

TermLayout

TermLayout is a text-mode HTML formatter for Unix terminals which supports:

  • Ruby markup (multiple rt and rb elements are stacked)

  • Tables (including nesting and alignment)

  • Wide characters (uses locale settings from LC_CTYPE, LANG etc)

  • Smaller terminal sizes. In some cases a table will still end up being wider than the terminal and not easily reflowable; if that happens then at least each cell should fit. But in many cases TermLayout can arrange for no horizontal scrolling to be necessary.

Unrecognised markup is left in the output for inspection.

TermLayout is not a Web browser: it has no facilities for navigating links. It is meant only for formatting text on a terminal using HTML markup. I wrote it when I wanted to page through a document with Ruby markup in fbterm but couldn’t find a text-mode browser that would format this markup correctly.

If you are using TermLayout with an annotator generated by Annotator Generator, you might also be interested in tmux-annotator.sh which sets up tmux with a “hotkey” to annotate the current screen and display the result in TermLayout.

Metadata

Release files for termlayout 0.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for termlayout 0.18
File Size Uploaded Provenance Actions
termlayout-0.18.tar.gz 19.4 kB Without provenance Details for termlayout-0.18.tar.gz

Release files / termlayout-0.18.tar.gz

Download URL termlayout-0.18.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a563bf9486aa5f9eb9a6511c637c8d03108c42b74c78f1e28d22436cd6c848db
BLAKE2b-256 checksum
How to use checksums
a3375d698e9e175b1f3b24a70bb377bdf96ed6756c99d95c4874be129cfcd892
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.12

Security for termlayout 0.18

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.18 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page