TerminHTML
Overview
Run shell commands and convert into an HTML/CSS animated terminal
Getting Started
Install terminhtml. Recommended installation is with
pipx but can also be done via pip:
pipx install terminhtml
A simple example:
terminhtml "echo 'Hello World'"
See more examples in the documentation.
Development Status
This project is currently in early-stage development. There may be breaking changes often. While the major version is 0, minor version upgrades will often have breaking changes.
Developing
First ensure that you have pipx installed, if not, install it with pip install pipx.
Then clone the repo and run npm install and pipenv sync. Run pipenv shell
to use the virtual environment. Make your changes and then run nox to run formatting,
linting, and tests.
Develop documentation by running nox -s docs to start up a dev server.
To run tests only, run nox -s test. You can pass additional arguments to pytest
by adding them after --, e.g. nox -s test -- -k test_something.
Author
Created by Nick DeRobertis. MIT License.
Related Projects
- terminhtml-js - The JavaScript frontend for TerminHTML, but can also be used standalone
- terminhtml-bootstrap - A script that loads TerminHTML in the browser with default settings
- sphinx-terminhtml - A Sphinx directive for using TerminHTML in Sphinx projects
Links
See the documentation here.
Metadata
Release files for terminhtml 0.9.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| terminhtml-0.9.3.tar.gz | 21.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| terminhtml-0.9.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.6 kB
Release files / terminhtml-0.9.3.tar.gz
| Download URL | terminhtml-0.9.3.tar.gz |
|---|---|
| Size | 21.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5d7a371d5357fe69ef653e53a59a47d1db0b8223e4589c6afcd15703934a91a
|
|
BLAKE2b-256 checksum How to use checksums |
3f257b6db8139d74cd288ac0e4ee4eca3fa4665a07a30ca4da2612631c5d2053
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / terminhtml-0.9.3-py3-none-any.whl
| Download URL | terminhtml-0.9.3-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b301cabe63436635c6ee5a6e3c3c49ccf2a17196294fbd266bfa24f2eadddb0
|
|
BLAKE2b-256 checksum How to use checksums |
7024df1b7ae4d89a2e28d14d71affd5e93dc1ca14400c89db7de62b7950b7018
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|