fontsource-downloader
A library to download (and cache) fonts with fontsource REST API.
Library Features
- Download a batch of fonts per family (based on the given query).
- Asynchronous downloads with true parallelism.
- Generate CSS
@font-facerules. Both CDN URLs and self-hosting (relative path) URLs are supported. Self-hosted font files can be optionally copied from cache to a given destination directory. - Caching enabled (with option to customize cache root dir) for both metadata and font files.
- Minimal debug logs (when enabled).
Rust consumers get to choose their desired TLS backend. Only the required features of the reqwest crate are enabled.
Examples
Python
import asyncio # the only supported async runtime in python
from pathlib import Path
# configure logging before importing this library
from fontsource_downloader import (
FontQuery, FontSourceClient, Weight
)
client = FontSourceClient()
query = FontQuery(
family="Roboto",
weights=[Weight(400)],
)
font_files: list[Path] = await client.download_font(query)
# do what you want with the cached font files ...
Rust
use std::path::PathBuf;
use fontsource_downloader::{
FontQuery, FontSourceClient, QueryBuilder, Weight,
};
let client = FontSourceClient::new().unwrap();
let query: FontQuery = QueryBuilder::new("Roboto")
.with_weight(Weight::from(400))
.build();
let font_files: Vec<PathBuf> = client
.download_font(&query)
.await
.unwrap();
// do what you want with the cached font files ...
Metadata
Release files for fontsource-downloader 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fontsource_downloader-0.3.2.tar.gz | 131.3 kB | Details |
Built distributions (wheels)
Total release size: 44.3 MB
Release files / fontsource_downloader-0.3.2.tar.gz
| Download URL | fontsource_downloader-0.3.2.tar.gz |
|---|---|
| Size | 131.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e24d22e4e4611ed0fd2c303ad429fa70ec70a0229aee439f209f1ed7c519042
|
|
BLAKE2b-256 checksum How to use checksums |
1d73729901f7c43eb72ec481c163d18a2672d39ede3888fcd265afc8e05220a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp315-abi3.abi3t-win_amd64.whl
| Download URL | fontsource_downloader-0.3.2-cp315-abi3.abi3t-win_amd64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.15 Windows x86-64 abi3 abi3t |
|
SHA-256 checksum How to use checksums |
3e211726280773e52a11f24bbf030fe17e4801d9862434b303b6d1c80c6fd04b
|
|
BLAKE2b-256 checksum How to use checksums |
6d1e125e926d16070ad61fe1e291faff4caffececefbd9536cace94acf524d6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp315-abi3.abi3t-win32.whl
| Download URL | fontsource_downloader-0.3.2-cp315-abi3.abi3t-win32.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.15 Windows x86-32 abi3 abi3t |
|
SHA-256 checksum How to use checksums |
34eb1aa4520892df021b0b73cc617262fbb10bdc849dc97ee4a8dad2f7335924
|
|
BLAKE2b-256 checksum How to use checksums |
cbc8d6a68192edf8e9b345569aa189ee649ad893b23e6a8c0dac102e5015ded1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp315-abi3.abi3t-musllinux_1_2_i686.whl
| Download URL | fontsource_downloader-0.3.2-cp315-abi3.abi3t-musllinux_1_2_i686.whl |
|---|---|
| Size | 3.3 MB |
| Tags | CPython 3.15 Linux musl 1.2+ x86-32 abi3 abi3t |
|
SHA-256 checksum How to use checksums |
fa0e00fef387509dfba6e538f1f5f17ad735c783a3b88b01a190406168a68712
|
|
BLAKE2b-256 checksum How to use checksums |
064399eb7b2f32e1ddfaad5444eab243362e216533f958bb1487f7ed74b8e26e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp315-abi3.abi3t-musllinux_1_2_armv7l.whl
| Download URL | fontsource_downloader-0.3.2-cp315-abi3.abi3t-musllinux_1_2_armv7l.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.15 Linux musl 1.2+ ARMv7l abi3 abi3t |
|
SHA-256 checksum How to use checksums |
2041106922b2a2b7afa6c3bc3e1f15bee99f23ff1933a6cab262e8a5bd423306
|
|
BLAKE2b-256 checksum How to use checksums |
d4593a18f7139d8396d1edb8cd835abac1fffa25ea40b3a09de24d51439fea58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp315-abi3.abi3t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
| Download URL | fontsource_downloader-0.3.2-cp315-abi3.abi3t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.15 Linux glibc 2.17+ PowerPC 64-le abi3 abi3t |
|
SHA-256 checksum How to use checksums |
e70ea35ece4dc6855e8edd198fbd29263842ec1ff5e04f9aba682404e806e76a
|
|
BLAKE2b-256 checksum How to use checksums |
45334621ecd0835e9fefc47fb7b1db6f7a0295eecd701a1af3ba99b0a418e040
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp315-abi3.abi3t-manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | fontsource_downloader-0.3.2-cp315-abi3.abi3t-manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.15 Linux glibc 2.17+ x86-32 abi3 abi3t |
|
SHA-256 checksum How to use checksums |
6626485779b6d87ee3a851abf0f26d5f4c6fedc2a17fae5d11ac0129736f16c4
|
|
BLAKE2b-256 checksum How to use checksums |
8a96c5251e6ffbfaaec25873acc109c681b2edb3fe6e43486494eab3e3f769ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp315-abi3.abi3t-macosx_11_0_arm64.whl
| Download URL | fontsource_downloader-0.3.2-cp315-abi3.abi3t-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.15 abi3 abi3t macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f429f4cc55976dc8e330fe86ff069c2b52acab159ae89e2d0c2b5fa729f220e2
|
|
BLAKE2b-256 checksum How to use checksums |
d87759ee67be3b1a1b993f1b6adf54161a698ee32c434cfc3d239d17d4273989
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp315-abi3.abi3t-macosx_10_12_x86_64.whl
| Download URL | fontsource_downloader-0.3.2-cp315-abi3.abi3t-macosx_10_12_x86_64.whl |
|---|---|
| Size | 3.3 MB |
| Tags | CPython 3.15 abi3 abi3t macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
92fd90bf3db58ede6839cef72b386440b54e6e6dc62b1784fc9ab66be8930dea
|
|
BLAKE2b-256 checksum How to use checksums |
81488705fabc7a7645df8909d1ecb7803ef6fba5ebe9a3275894d2a95bb14095
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp311-abi3-win_arm64.whl
| Download URL | fontsource_downloader-0.3.2-cp311-abi3-win_arm64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.11 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
250beff0fd191e2bd98e29e91486fdea585f9af78d3b2ccc517d04e4d8984ee5
|
|
BLAKE2b-256 checksum How to use checksums |
191854e096ca2ae341840f9ce2f1b308c3937b4bb8e574dac7e57463eed8c81d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | fontsource_downloader-0.3.2-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
95a5663ac83d67af17f59972e9e803fba9026609fc4fd1535b9bbc5663cb6f3f
|
|
BLAKE2b-256 checksum How to use checksums |
d8964df4794ea63bba2534952f8578eab8955cd4812442e21a10983e51c80ee1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | fontsource_downloader-0.3.2-cp310-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
d03888052bcccdbe594492e642cc1c3eff6718890f5e54556ec136556b68fe47
|
|
BLAKE2b-256 checksum How to use checksums |
06985220855262b83f967b1096cd9a78c76f6190423e633a510fca7a42d37423
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | fontsource_downloader-0.3.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
31a43c9bb51d6325b94ec3a51f3284dc326b0b85757e9fa008606255a9c55004
|
|
BLAKE2b-256 checksum How to use checksums |
d498064f198e28517b35119c8ccfbcdf64c4dd64364d0f24a246ca14464df6ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
| Download URL | fontsource_downloader-0.3.2-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ IBM System/390x abi3 |
|
SHA-256 checksum How to use checksums |
c8d53cb8c91520aa3a2ab87801256bced0289ebb42d01298d3d00a36f1cdb956
|
|
BLAKE2b-256 checksum How to use checksums |
2507228a601683f3764ccce3b05265a7faf91d66c46d1e8f81670b0accaab473
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency logRelease files / fontsource_downloader-0.3.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | fontsource_downloader-0.3.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
590751654771ab876940aba05c19ae41a34c60eec9bfc21d3085535fbef89576
|
|
BLAKE2b-256 checksum How to use checksums |
cf3813aa4424c289294eb9ed05d57d5af1a12832be85aa2354a0b94e85bd38c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 15, 2026.
Transparency log