Skip to main content

pyfonts

PyPI Downloads Coverage Python Versions

Pyfonts logo

A simple and reproducible way of using fonts in matplotlib. In short, pyfonts:

  • allows you to use all fonts from Google Font
  • allows you to use all fonts from Bunny Font (GDPR-compliant alternative to Google Fonts)
  • allows you to use any font from an arbitrary URL
  • is efficient (thanks to its cache system)

Quick start

  • Google Fonts
import matplotlib.pyplot as plt
from pyfonts import load_google_font

font = load_google_font("Fascinate Inline")

fig, ax = plt.subplots()
ax.text(x=0.2, y=0.5, s="Hey there!", size=30, font=font)

  • Bunny Fonts
import matplotlib.pyplot as plt
from pyfonts import load_bunny_font

font = load_bunny_font("Barrio")

fig, ax = plt.subplots()
ax.text(x=0.2, y=0.5, s="Hey there!", size=30, font=font)

See more examples


Installation

pip install pyfonts

Metadata

Release files for pyfonts 1.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyfonts 1.4.2
File Size Uploaded
pyfonts-1.4.2.tar.gz 267.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyfonts 1.4.2
File Interpreter ABI Platform
pyfonts-1.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 281.8 kB

Release files / pyfonts-1.4.2.tar.gz

Download URL pyfonts-1.4.2.tar.gz
Size 267.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1407597ed3f0e91ea54222d9d4207bdd23c9b1010d353415cd3b68dbba3b0104
BLAKE2b-256 checksum
How to use checksums
02a884948534235b058e2379ec8a94fa7b2bf9a03edf271ac380c529cc4401a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 12, 2026.

Transparency log

Release files / pyfonts-1.4.2-py3-none-any.whl

Download URL pyfonts-1.4.2-py3-none-any.whl
Size 14.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
acb2b01bf9578df20fd7c5524c94b350c4e2a29cee82e640427224f9fb313b5f
BLAKE2b-256 checksum
How to use checksums
c2ce177ba836e67a9cd4eb3aa5c6ac83a5f74f002ffd19fb197490c22b98db23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.4.2 This release

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.1

2 release files

1.0.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page