Skip to main content

CLI tool for converting text to HTML

Project description

thtml

CircleCI codecov Documentation Status

thtml (to HTML) is a CLI tool and Python package for converting text to HTML.

For example, to pipe a command through thtml:

ls -al --color | thtml
<!doctype html><html>...</html>

Include --open to send the HTML directly to your default browser:

ls -al --color | thtml --open

Directory listing passed through thtml

Full documentation: thtml.readthedocs.io

Installation

thtml requires Python 3.8 or later.

pip install thtml

👋 Hello!

Hello! I'm Cariad Eccleston and I'm an independent/freelance software engineer. If my work has value to you, please consider sponsoring.

If you ever raise a bug, request a feature or ask a question then mention that you're a sponsor and I'll respond as a priority. Thank you!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

thtml-1.0.5-py3-none-any.whl (17.4 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