Skip to main content

Python bindings to fontconfig

Project description

fontconfig-py

PyPI version Docs status

Python bindings to fontconfig.

Currently Linux and macOS are supported.

Install

Install from the PyPI:

pip install fontconfig-py

Usage

The following demonstrates the usage of fontconfig.query to identify English fonts in the system:

import fontconfig

fonts = fontconfig.query(where=":lang=en", select=("family",))
for font in fonts:
    print(font["family"])

License notice

This project is distributed in MIT license. The binary wheels bundles several libraries that may be distributed in different licenses. See THIRD-PARTY-NOTICES.txt.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

fontconfig_py-0.1.2-cp312-cp312-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

fontconfig_py-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

fontconfig_py-0.1.2-cp312-cp312-macosx_12_0_universal2.whl (1.3 MB view hashes)

Uploaded CPython 3.12 macOS 12.0+ universal2 (ARM64, x86-64)

fontconfig_py-0.1.2-cp311-cp311-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

fontconfig_py-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

fontconfig_py-0.1.2-cp311-cp311-macosx_12_0_universal2.whl (1.3 MB view hashes)

Uploaded CPython 3.11 macOS 12.0+ universal2 (ARM64, x86-64)

fontconfig_py-0.1.2-cp310-cp310-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

fontconfig_py-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

fontconfig_py-0.1.2-cp310-cp310-macosx_12_0_universal2.whl (1.3 MB view hashes)

Uploaded CPython 3.10 macOS 12.0+ universal2 (ARM64, x86-64)

fontconfig_py-0.1.2-cp39-cp39-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

fontconfig_py-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

fontconfig_py-0.1.2-cp39-cp39-macosx_12_0_universal2.whl (1.3 MB view hashes)

Uploaded CPython 3.9 macOS 12.0+ universal2 (ARM64, x86-64)

fontconfig_py-0.1.2-cp38-cp38-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

fontconfig_py-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page