histoprint
Pretty print of NumPy (and other) histograms to the console
Decision gist · record as of 2026-08-14
Yes. Histoprint is actively maintained, has no security vulnerabilities, installs with minimal friction, and fills a genuine niche for terminal-based histogram visualization. It is particularly valuable for remote work, server-side data exploration, and reproducible terminal output. The MIT license poses no restrictions. Install it if you regularly work in terminal environments and need quick histogram visualization.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Some terminals may not display Unicode combining characters correctly; use symbols parameter to disable them if needed.
- Low friction: pure Python wheel with only three runtime dependencies (click, numpy, uhi).
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute histoprint freely in commercial and private projects with minimal restrictions.
last release 2026-07-29 (16 days) · last repo commit 2026-08-12 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 389,378 downloads/mo, #7,030 on PyPI
Alternatives
Verify before relying
pip install histoprint
import numpy as np
from histoprint import print_hist
hist = np.histogram(np.random.randn(1000), bins=15)
print_hist(hist, title="My Histogram")- Whether the package handles very large histograms (millions of bins) without performance degradation.
- Compatibility with non-standard terminal emulators or Windows Terminal variants beyond the documented Unicode limitation.
What it is and what it does
Histoprint is a terminal-based histogram visualization tool that takes NumPy histogram data (or compatible formats from boost-histogram and uproot) and renders it to the console using Unicode characters and ANSI color codes. It supports multiple display modes: overlaying histograms on top of each other, stacking them, or showing summary statistics alongside the plot. The package handles variable bin widths and can display up to multiple histograms simultaneously with custom colors, symbols, and labels.
The tool is designed for quick data exploration in environments where graphical output is unavailable or impractical—such as remote servers, CI/CD pipelines, or interactive terminal sessions. It includes both a Python API (text_hist and print_hist functions) and a command-line interface that can read tabulated data, CSV files, or ROOT files directly, making it useful for scientists and data engineers who work frequently in the terminal.
Use it for
- Explore data distributions on remote servers or SSH sessions where graphical displays are unavailable.
- Quickly visualize histogram data in Jupyter notebooks or IPython sessions without launching a separate plotting library.
- Compare multiple distributions side-by-side in terminal output that can be copied and pasted into documentation or logs.
- Analyze ROOT files or boost-histogram objects directly from the command line without writing Python scripts.
- Generate histogram summaries in CI/CD pipelines or batch processing workflows where terminal output is the primary medium.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Histoprint is actively maintained, has no security vulnerabilities, installs with minimal friction, and fills a genuine niche for terminal-based histogram visualization. It is particularly valuable for remote work, server-side data exploration, and reproducible terminal output. The MIT license poses no restrictions. Install it if you regularly work in terminal environments and need quick histogram visualization.
Install
histoprint on PyPI
Before you install
Low friction: pure Python wheel with only three runtime dependencies (click, numpy, uhi). Actively maintained with a release 16 days ago and recent commits.
Requires Python 3.10 or later. Some terminals may not display Unicode combining characters correctly; use symbols parameter to disable them if needed.
License in practice
MIT license is permissive; you can use, modify, and distribute histoprint freely in commercial and private projects with minimal restrictions.
Quickstart
pip install histoprint
import numpy as np
from histoprint import print_hist
hist = np.histogram(np.random.randn(1000), bins=15)
print_hist(hist, title="My Histogram")
Verify before relying
- Whether the package handles very large histograms (millions of bins) without performance degradation.
- Compatibility with non-standard terminal emulators or Windows Terminal variants beyond the documented Unicode limitation.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesclicknumpyuhi |
| Maintenance | Actively maintained 16 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 389,378 / month, #7,030 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering |
Evidence: histoprint-2.7.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “terminal histogram visualization”
- histoprintHistoprint renders NumPy histograms and compatible histogram objects…
- plotillePlotille renders plots, scatter plots, histograms, and heatmaps…
- plotextRenders plots directly in the terminal using text and color,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also crayons · uhi · hist · termplotlib · hdrhistogram · colored · log-symbols · pprintpp · structout · ansicolors