hmm-viewer
Python package for hmm — a terminal UI for viewing CSV, Parquet, and Excel files.
The Go binary is automatically downloaded from GitHub releases on first use. No need to install Go.
Installation
uv pip install hmm-viewer # base install
uv pip install 'hmm-viewer[pandas]' # with pandas support
uv pip install 'hmm-viewer[polars]' # with polars support
Usage
CLI
After installing, the hmm command is available:
hmm data.csv
hmm data.parquet
hmm data.xlsx
Python API
from hmm_viewer import hmm
# Works with pandas DataFrames
import pandas as pd
df = pd.read_csv("data.csv")
hmm(df)
# Works with polars DataFrames
import polars as pl
df = pl.read_parquet("data.parquet")
hmm(df)
# Dict of DataFrames — each key becomes a sheet tab
sheets = pd.read_excel("data.xlsx", sheet_name=None)
hmm(sheets)
This is especially useful from a debugger (ipdb, pdb, ipython) to quickly inspect a DataFrame in the terminal.
How it works
- CLI: The
hmmcommand is a thin wrapper that delegates to the Go binary. - Python API:
hmm(df)writes the DataFrame to a temporary Parquet file (or Excel file for a dict of DataFrames), launches thehmmbinary, and cleans up the temp file when done. For dicts the TUI spinner shows immediately while the Excel file is being written. - Auto-download: If the Go binary isn't found on
$PATHor~/go/bin, it is automatically downloaded from GitHub releases and cached at~/.cache/hmm/.
Metadata
Release files for hmm-viewer 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hmm_viewer-2.2.0.tar.gz | 6.5 kB | With provenance | Details for hmm_viewer-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hmm_viewer-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for hmm_viewer-2.2.0-py3-none-any.whl |
Total release size: 12.3 kB
Release files / hmm_viewer-2.2.0.tar.gz
| Download URL | hmm_viewer-2.2.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
012a67173c4feaa3120b476ce5439666712bf25cc44bfdcd64a284913d169540
|
|
BLAKE2b-256 checksum How to use checksums |
9710000e1584431310cc1f0f5cd778f09eddb1cae61b5267b5758320dce6beca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / hmm_viewer-2.2.0-py3-none-any.whl
| Download URL | hmm_viewer-2.2.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7494fd6bcfdc8c800080f049925e1e5232b2d312046d7323420c44738aa7e79a
|
|
BLAKE2b-256 checksum How to use checksums |
4f542175e97ef26abf04a0adbf237ff8c3078705ef72f8d7a62a2d9c8ec84f44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logSecurity for hmm-viewer 2.2.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for hmm_viewer-2.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logA 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.