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 details)

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 details)

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 details)

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 details)

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 details)

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 details)

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 details)

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 details)

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 details)

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 details)

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 details)

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 details)

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 details)

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 details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

File details

Details for the file fontconfig_py-0.1.2-cp312-cp312-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7cfc1038711ad7a93774bc83bacb338734c42edbba5198c19cfa2b537c23f208
MD5 ca8ace25d7fc2765df67fc0245129b6c
BLAKE2b-256 4ea93c05ca9b92462e356838fdaf3dca9abda1e04b88451d45cc28f69fe6083b

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0ab145fa2861d409141cbac65a6edfad24be3c5105e6defdbc31ca52b81bbb16
MD5 4d5a882afb56de8ba9014087d2749420
BLAKE2b-256 48616370f12d7fb925c30da0fb9d0a12d04d5d61b7ec3b47570a1dd91d054f19

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp312-cp312-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp312-cp312-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 004952cf8fbcfe1cefa80a1888b2811bb94c2bf409c937e89ce3904f6b20d0ef
MD5 857430b956b1f724695f1e75d491a5c1
BLAKE2b-256 75f662dd170238ef4b2711f4dbce48127845c1b2987f3bc3a439c605bd27575d

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0cf9aac3f356f449b8fff1399403d59bba76dd1d1f91a9c970818fbe3e85254e
MD5 ff766e7690dcdd691d444b9ce2275592
BLAKE2b-256 5b86350cac6fff11eecd25444711caccc1786b2bd72d2e32d661acf4dfb67b7f

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5ca7f249c0e1dec82a35d16496ece589fc611c108130c092d94233fdc7285ec6
MD5 b6147bdef43c7d4e4169c29b54bb6f04
BLAKE2b-256 587f5e5f26886576a008a54b3285ae87651d6f6eb34c9c3eb39eab0d630cc6ab

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp311-cp311-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp311-cp311-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 f5907a0070708a29e7d14190b6a8f1561ac4e408d90e5ff0a90983d2e6afa74f
MD5 1c55311f1cb6eefa4d3698fd893da584
BLAKE2b-256 e52e53d6359f1e67a29242f8a4f0f23b1504579523f418e2b6f56a7982923cf6

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d1bc1ee7d21bbc4941eac3d3fee88150e207d41c70af991cbaf67d25691c91d9
MD5 3d06f5513594d92ae1884b7839c25e98
BLAKE2b-256 ad0b62814cfcc982124b993a6313b41de7e5aed11378ab752f81db7346ca229f

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 11b06fe81cd76c26c17eed7f12913d6a7494ba2d726c2e85343c6bf793b56eb0
MD5 cfc0a30fc2bd268556afa09d2b26c6c2
BLAKE2b-256 a0437ac1c13954fec6b72d8ada5f1cbd6ab677ffee27da367673510c4c421c91

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp310-cp310-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp310-cp310-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 55259dacca2bf26636a39fcf012c15f4e2c69ee75210a16edbf83d47410311bc
MD5 6aba57f058060ee32bdef43371adab77
BLAKE2b-256 7d1faf6edfb661605196f59d32502541d8c7a171e329500bf7d3d14cddefa328

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8c9d85413fcf4bba0e56de2265e3aa6b43e7d8bb48664e5613539c77f85c7bdc
MD5 aab051c15ab185e726366861bb7606b1
BLAKE2b-256 a753ee75153edae0a5e8785eaba282225af8e0cd3d1ff6511a93ad5d81f47303

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 39f604ba2ad4135deddce57aa1e08eea563382211e729e661dc12a01d56cecfb
MD5 6f875467efae622be626abdc5401eb3e
BLAKE2b-256 2e4f8cd73849e2ec56a672e8e429a6d6307c8046e53df1cfe72805c3befa2567

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp39-cp39-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp39-cp39-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 c2c0013d4af1252d656af6cc2d4e6e3fed4f162463adb7cebf7872c15b9a9d11
MD5 01bf127de08850c135f9708cb87aa78d
BLAKE2b-256 2713f1c1e0e4e196569f9bd4fbc89a7e322a279f4af29652f48ffbd8bc9ac3f9

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp38-cp38-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2234ade40ab33ad5abe6ce8a6f9230f486c64f188405e987d9193ac226fb2633
MD5 75780b37794e083ad6b2105c26c3b2e3
BLAKE2b-256 a3f847e47d8c86f6fd2cfdfe9be75ddc1db6ac38078a32f1dc4a7213e48f5a5a

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06eb73ade1bcec6e6ca7c5d0a487a1465c28fccdd2344d89f1be7ec95c48e9b0
MD5 749f2377e33e4b609ca6f44a74cece94
BLAKE2b-256 83a72767b5487a69edf05a144f884ef19d9541c6aecc342fdcaf8356dc583bff

See more details on using hashes here.

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