Python Fonts
A Python framework for distributing and managing fonts.
Why
While Python can access system fonts, it has no direct way of guaranteeing a particular font is available, or any way of including it as a dependency.
Fonts aims to tackle this problem with tools for packaging and distributing fonts via PyPi, which can be easily located and used in Python using PIL or otherwise.
How
Fonts uses entry_points to expose the font files located in each package.
To use these fonts in your project you should include them as a dependency and either grab the font paths using importlib.metadata.entry_points(group='fonts_ttf') or use this fonts module to collate them for you.
For example:
from PIL import ImageFont from fonts.ttf import AmaticSC font = ImageFont.truetype(AmaticSC)
Fonts
Fredoka One (Sans-Serif, OFL) - https://pypi.org/project/font-fredoka-one
Amatic SC (Hand-Drawn, OFL) - https://pypi.org/project/font-amatic-sc
Metadata
Release files for fonts 0.1.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 |
|---|---|---|---|---|
| fonts-0.1.0.tar.gz | 3.1 kB | Without provenance | Details for fonts-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fonts-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for fonts-0.1.0-py3-none-any.whl |
Total release size: 6.6 kB
Release files / fonts-0.1.0.tar.gz
| Download URL | fonts-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fd4cc544dd1dcf1de1fdaf77980329bcfb7ccd22018070b4270261169c6ff92
|
|
BLAKE2b-256 checksum How to use checksums |
3bef0204fef272c9bf52b4bea9b547f6135948a1a44241064456b39b0ad2ce98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / fonts-0.1.0-py3-none-any.whl
| Download URL | fonts-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af4fb8f5b62301236a797bbf7483d1b1a0d99a566f683d84652a211dcf756def
|
|
BLAKE2b-256 checksum How to use checksums |
91afd6c3cedfe9de1f449c3378ee7e4c1a7b75dc387d4402468236a853ab2a22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for fonts 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.