skillfed

mplhep-data

Font (Data) sub-package for mplhep

mplhep-data v0.1.0 351.3K downloads/30d#7,323 on PyPI0
Permissive license MIT Active released

What it is and what it does

mplhep_data is a data package that bundles fonts and related assets for the mplhep scientific plotting library. It contains four open-licensed typefaces—Tex Gyre Heros, Tex Gyre Termes, Fira Sans, and Fira Math—packaged for convenient distribution rather than requiring users to download them separately from multiple sources.

The package has no runtime dependencies and installs as a lightweight wheel. It is maintained as part of the Scikit-HEP project and supports Python 3.10 through 3.14. Its primary role is to ensure that mplhep users have consistent, redistributable fonts available without manual setup.

Use it for:

  • Installing fonts needed by mplhep for high-energy physics plotting and visualization.
  • Ensuring consistent typography across scientific plots in Jupyter notebooks or batch analysis pipelines.
  • Bundling with mplhep in environments where downloading fonts from external sources is inconvenient or restricted.
  • Providing Fira Math and Tex Gyre typefaces to Python plotting workflows that require specific font families.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Distributes fonts and data files for the mplhep plotting library, including Tex Gyre Heros, Tex Gyre Termes, Fira Sans, and Fira Math with open licenses.

Yes, if you use mplhep for scientific plotting. It is a lightweight, dependency-free package with permissive licensing and no known vulnerabilities. Install it as a companion to mplhep to ensure fonts are available. If mplhep is not in your workflow, this package has no standalone value.

Install

mplhep-data on PyPI

pip

pip install mplhep-data

uv

uv add mplhep-data

poetry

poetry add mplhep-data

Installing mplhep-data

Before you install

Low friction: pure Python wheel with no runtime dependencies. Active maintenance with recent release (71 days ago). Early development status (Planning) but supported on modern Python versions 3.10–3.14.

License in practice

MIT license permits free use, modification, and redistribution with minimal restrictions. Fonts included have open licenses and can be redistributed.

Quickstart

pip install mplhep-data

import mplhep_data
# Fonts are now available for use by mplhep or direct access

Requires Python 3.10 or later.

Verify before relying

  • How mplhep_data integrates with mplhep itself and whether it must be installed separately or is pulled in automatically.
  • Whether the included fonts can be accessed programmatically or are only available to mplhep's plotting functions.
  • Font coverage: which specific font weights, styles, or variants are included for each typeface.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 71 days since the last release
Last repo commit
First released
Downloads 351,255/month — #7,323 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mplhep_data-0.1.0-py3-none-any.whl

Development Status :: 1 - PlanningIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering

Tags

mplhep fonts dataplotting library fontstex gyre fonts pythonfira sans fira mathscientific plotting fontshep plotting data files
fontsdata-packagescikit-hep

More Scientific/Engineering packages