Skip to main content

Python bindings to fontconfig

Project description

fontconfig-py

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.0-cp312-cp312-musllinux_1_1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

fontconfig_py-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

fontconfig_py-0.1.0-cp312-cp312-macosx_12_0_x86_64.whl (766.6 kB view details)

Uploaded CPython 3.12 macOS 12.0+ x86-64

fontconfig_py-0.1.0-cp311-cp311-musllinux_1_1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

fontconfig_py-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

fontconfig_py-0.1.0-cp311-cp311-macosx_12_0_x86_64.whl (765.0 kB view details)

Uploaded CPython 3.11 macOS 12.0+ x86-64

fontconfig_py-0.1.0-cp310-cp310-musllinux_1_1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

fontconfig_py-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

fontconfig_py-0.1.0-cp310-cp310-macosx_12_0_x86_64.whl (764.0 kB view details)

Uploaded CPython 3.10 macOS 12.0+ x86-64

fontconfig_py-0.1.0-cp39-cp39-musllinux_1_1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

fontconfig_py-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

fontconfig_py-0.1.0-cp39-cp39-macosx_12_0_x86_64.whl (764.3 kB view details)

Uploaded CPython 3.9 macOS 12.0+ x86-64

fontconfig_py-0.1.0-cp38-cp38-musllinux_1_1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

fontconfig_py-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

File details

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

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 25ad3be2aff977ce971bf86758ccc6292f6b1f697e4c89371c24f989622c6824
MD5 7df9fc8de75780903fc70bd740af14cb
BLAKE2b-256 860b0d44976cd33ced61404eed18a801235c7980367127eec796856aca733780

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b64269122dd98f37a1769e5903d21588cb80d3cc2811625df43de590f341ba47
MD5 1bc95a78812b2900812a39056ca606ef
BLAKE2b-256 fce95e7d3ff37492a05e23dac9558640c6d8a4ebe028f9558e7f737a5f612353

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.0-cp312-cp312-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp312-cp312-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 f468a514bc4b0403bbca94760f04933b94d3a5c9c42c966acc79df4619ea095d
MD5 b9bab1e060d185ab367161fc478f321d
BLAKE2b-256 5f4325b53d3367492b40d92c01fcf771f308bfe96a5efcce04d1a288ef1ab0b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9b11eb920087dd4ba970b1182f6c6946955e6d942e98fc6fa577e0a4afe9d10b
MD5 e280671354251a4ef092b014ac74fbe2
BLAKE2b-256 4456ebc98ddf6de18e907928309f020d9849bc1470ebc7de5f06a8c7425f6b37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 24875cba97b49d5a3878eff002c9377a44a9fc4d21c00b7d6c15b4bc747309da
MD5 a3c25feb4e3780ba4d9bf3fd8b4404b8
BLAKE2b-256 3533ccf0f1c48a81f34fd9c245c8dc1426461ee4f09163b18ed49871f5cf18ba

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.0-cp311-cp311-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 046bf6a9271f49aaa4bb0799a8322b1c2a6a4b4cb578293fdc7995a682c56239
MD5 968a45e5f04ea7a0f588ef543d357c96
BLAKE2b-256 9b99fa23c45d3754d62c748c9c55af83832692f2cb0fc1ae16e82b5016311d81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 abcd493281cb1b532219b5cccab7ce4eb302c1f32820490951ed725220e855e6
MD5 ccb34755bc44b77f0296601f5342db3c
BLAKE2b-256 075725f2cd204d61c2b5327ce2f623e785a8506c34fd9cff9bfa87d0949e982a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15231d4caca4ed00996c20bdcb8a4da9234a59ac0770e493f2ad515740f01bf0
MD5 104ee045c892f9d2a62868172f9705b3
BLAKE2b-256 72235f2ffb8177a712c8300faf6e2ef56f8b058bcb7b035ee403d5a5e1d0f4fb

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.0-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 696cbc9e6a377be77ed7715c9ec3d0cc40d214fdf1e20f61d7dbc34ecc0560c1
MD5 eddbc0ceb6e6e9448b289e84337f2144
BLAKE2b-256 a7394c0dd5e4533dd9c1018b29f676bc80e5a0e7df83d273b059356df632c8c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 397548d025aef008217af47fbc866b5ca14823ee203c73c1ca8feec0c029499e
MD5 80007a115c0a032295251df85c9c1727
BLAKE2b-256 4a52576622549ee989cad4781f2c7338e7c4d154b17fbccb184b6108a3be1a1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ddf1bb0b7426e5d0ec0d29b4a812203a202dcfc1680c6627ff7d2dca14fb6189
MD5 14cf28dcb6ad4b652feec2924dba2df1
BLAKE2b-256 d5d6ca27aceec2b3cf6f56ccf461bc27c5d901dfbdd5a37c8fcee83241f1a122

See more details on using hashes here.

File details

Details for the file fontconfig_py-0.1.0-cp39-cp39-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 f2018fbc21515d5c8961624a4555754388aea7b87824d009ad970908c8412c81
MD5 2553118dfec3ca4ceec0603a79347f35
BLAKE2b-256 3fc9c757de9832d127a556358dc64c14bc0ca2dd42331310534f612dd9ea53f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c8db10f90bed95390ff423e80bb10aec6be56b1366aee7290c0f08ece4a6e08d
MD5 2f85923bc84b121e2e9f2fd032d828cd
BLAKE2b-256 9bc0ac84a270216c430051ebd473825c1ec0c1ba811068e5b732a1678a5d4535

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fontconfig_py-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8f176ce6c1fe537d7ef4e40affe2f28ef1f29523abfaca81a294c3cfe9acc2b7
MD5 0248cad4ed382784b6b0e376a7dea7de
BLAKE2b-256 75906caef3abfb49c53253ce26af3252c20541c5fd04c15ffc92efb603a870fa

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