Utility package for testing and loading fonts in matplotlib
Project description
mplfontutils
A utility package for testing and loading fonts in matplotlib.
Installation
pip install git+https://github.com/xsjk/mplfontutils.git
Usage
Command Line
Test which fonts can display specific text:
python -m mplfontutils "Hello 世界"
Python API
from mplfontutils import find_available_fonts, load_fonts_from_directory
# Load fonts from directory
load_fonts_from_directory("/path/to/fonts")
# Find compatible fonts
fonts = find_available_fonts("中文测试")
print(f"Found {len(fonts)} compatible fonts")
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mplfontutils-0.1.0.tar.gz.
File metadata
- Download URL: mplfontutils-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcfe68fda8476e69eabe6f18c41cb64efab79eecaa7b2ee34750c4e92b4ee152
|
|
| MD5 |
e15cf939e4ceb3ed5692114d06a82bf1
|
|
| BLAKE2b-256 |
a0a18d5dbc2144b10090e8e672938b10b7a8bb677625578afb9944c4b5a5507b
|
Provenance
The following attestation bundles were made for mplfontutils-0.1.0.tar.gz:
Publisher:
python-publish.yml on xsjk/mplfontutils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mplfontutils-0.1.0.tar.gz -
Subject digest:
fcfe68fda8476e69eabe6f18c41cb64efab79eecaa7b2ee34750c4e92b4ee152 - Sigstore transparency entry: 233087130
- Sigstore integration time:
-
Permalink:
xsjk/mplfontutils@7a7abd3e1230ea929d83d38ded36bd13cbf55249 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/xsjk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7a7abd3e1230ea929d83d38ded36bd13cbf55249 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mplfontutils-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mplfontutils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bd3fc8c65a73eda902c19a6641e994f09e585047bfa07687f708c2fbe3064fa
|
|
| MD5 |
851705959f39ccbafd57ae34d4439e9f
|
|
| BLAKE2b-256 |
e648882393e6ed4cde1e7ebfe0b91b4824550c0a55ad16f0d939918c54fd25ce
|
Provenance
The following attestation bundles were made for mplfontutils-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on xsjk/mplfontutils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mplfontutils-0.1.0-py3-none-any.whl -
Subject digest:
4bd3fc8c65a73eda902c19a6641e994f09e585047bfa07687f708c2fbe3064fa - Sigstore transparency entry: 233087175
- Sigstore integration time:
-
Permalink:
xsjk/mplfontutils@7a7abd3e1230ea929d83d38ded36bd13cbf55249 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/xsjk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7a7abd3e1230ea929d83d38ded36bd13cbf55249 -
Trigger Event:
release
-
Statement type: