fontconfig-py


Namefontconfig-py JSON
Version 0.1.2 PyPI version JSON
download
home_page
SummaryPython bindings to fontconfig
upload_time2023-09-04 12:47:25
maintainer
docs_urlNone
authorKota Yamaguchi
requires_python>=3.8.1,<4.0.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fontconfig-py

[![PyPI version](https://badge.fury.io/py/fontconfig-py.svg)](https://pypi.org/project/fontconfig-py)
[![Docs status](https://readthedocs.org/projects/fontconfig-py/badge/)](https://fontconfig-py.readthedocs.io/)

Python bindings to [fontconfig](https://www.freedesktop.org/wiki/Software/fontconfig/).

Currently Linux and macOS are supported.

## Install

Install from the PyPI:

```bash
pip install fontconfig-py
```

## Usage

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

```python
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](LICENSE.txt). The binary wheels
bundles several libraries that may be distributed in different licenses.
See [THIRD-PARTY-NOTICES.txt](THIRD-PARTY-NOTICES.txt).


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "fontconfig-py",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8.1,<4.0.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Kota Yamaguchi",
    "author_email": "yamaguchi_kota@cyberagent.co.jp",
    "download_url": "",
    "platform": null,
    "description": "# fontconfig-py\n\n[![PyPI version](https://badge.fury.io/py/fontconfig-py.svg)](https://pypi.org/project/fontconfig-py)\n[![Docs status](https://readthedocs.org/projects/fontconfig-py/badge/)](https://fontconfig-py.readthedocs.io/)\n\nPython bindings to [fontconfig](https://www.freedesktop.org/wiki/Software/fontconfig/).\n\nCurrently Linux and macOS are supported.\n\n## Install\n\nInstall from the PyPI:\n\n```bash\npip install fontconfig-py\n```\n\n## Usage\n\nThe following demonstrates the usage of `fontconfig.query` to identify English\nfonts in the system:\n\n```python\nimport fontconfig\n\nfonts = fontconfig.query(where=\":lang=en\", select=(\"family\",))\nfor font in fonts:\n    print(font[\"family\"])\n```\n\n## License notice\n\nThis project is distributed in [MIT license](LICENSE.txt). The binary wheels\nbundles several libraries that may be distributed in different licenses.\nSee [THIRD-PARTY-NOTICES.txt](THIRD-PARTY-NOTICES.txt).\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python bindings to fontconfig",
    "version": "0.1.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7d1faf6edfb661605196f59d32502541d8c7a171e329500bf7d3d14cddefa328",
                "md5": "6aba57f058060ee32bdef43371adab77",
                "sha256": "55259dacca2bf26636a39fcf012c15f4e2c69ee75210a16edbf83d47410311bc"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp310-cp310-macosx_12_0_universal2.whl",
            "has_sig": false,
            "md5_digest": "6aba57f058060ee32bdef43371adab77",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1339211,
            "upload_time": "2023-09-04T12:47:25",
            "upload_time_iso_8601": "2023-09-04T12:47:25.096398Z",
            "url": "https://files.pythonhosted.org/packages/7d/1f/af6edfb661605196f59d32502541d8c7a171e329500bf7d3d14cddefa328/fontconfig_py-0.1.2-cp310-cp310-macosx_12_0_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a0437ac1c13954fec6b72d8ada5f1cbd6ab677ffee27da367673510c4c421c91",
                "md5": "cfc0a30fc2bd268556afa09d2b26c6c2",
                "sha256": "11b06fe81cd76c26c17eed7f12913d6a7494ba2d726c2e85343c6bf793b56eb0"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "cfc0a30fc2bd268556afa09d2b26c6c2",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1218166,
            "upload_time": "2023-09-04T12:47:27",
            "upload_time_iso_8601": "2023-09-04T12:47:27.115773Z",
            "url": "https://files.pythonhosted.org/packages/a0/43/7ac1c13954fec6b72d8ada5f1cbd6ab677ffee27da367673510c4c421c91/fontconfig_py-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ad0b62814cfcc982124b993a6313b41de7e5aed11378ab752f81db7346ca229f",
                "md5": "3d06f5513594d92ae1884b7839c25e98",
                "sha256": "d1bc1ee7d21bbc4941eac3d3fee88150e207d41c70af991cbaf67d25691c91d9"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp310-cp310-musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "3d06f5513594d92ae1884b7839c25e98",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1292601,
            "upload_time": "2023-09-04T12:47:28",
            "upload_time_iso_8601": "2023-09-04T12:47:28.501127Z",
            "url": "https://files.pythonhosted.org/packages/ad/0b/62814cfcc982124b993a6313b41de7e5aed11378ab752f81db7346ca229f/fontconfig_py-0.1.2-cp310-cp310-musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e52e53d6359f1e67a29242f8a4f0f23b1504579523f418e2b6f56a7982923cf6",
                "md5": "1c55311f1cb6eefa4d3698fd893da584",
                "sha256": "f5907a0070708a29e7d14190b6a8f1561ac4e408d90e5ff0a90983d2e6afa74f"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp311-cp311-macosx_12_0_universal2.whl",
            "has_sig": false,
            "md5_digest": "1c55311f1cb6eefa4d3698fd893da584",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1342223,
            "upload_time": "2023-09-04T12:47:30",
            "upload_time_iso_8601": "2023-09-04T12:47:30.375994Z",
            "url": "https://files.pythonhosted.org/packages/e5/2e/53d6359f1e67a29242f8a4f0f23b1504579523f418e2b6f56a7982923cf6/fontconfig_py-0.1.2-cp311-cp311-macosx_12_0_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "587f5e5f26886576a008a54b3285ae87651d6f6eb34c9c3eb39eab0d630cc6ab",
                "md5": "b6147bdef43c7d4e4169c29b54bb6f04",
                "sha256": "5ca7f249c0e1dec82a35d16496ece589fc611c108130c092d94233fdc7285ec6"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "b6147bdef43c7d4e4169c29b54bb6f04",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1260250,
            "upload_time": "2023-09-04T12:47:32",
            "upload_time_iso_8601": "2023-09-04T12:47:32.257959Z",
            "url": "https://files.pythonhosted.org/packages/58/7f/5e5f26886576a008a54b3285ae87651d6f6eb34c9c3eb39eab0d630cc6ab/fontconfig_py-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5b86350cac6fff11eecd25444711caccc1786b2bd72d2e32d661acf4dfb67b7f",
                "md5": "ff766e7690dcdd691d444b9ce2275592",
                "sha256": "0cf9aac3f356f449b8fff1399403d59bba76dd1d1f91a9c970818fbe3e85254e"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp311-cp311-musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ff766e7690dcdd691d444b9ce2275592",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1340871,
            "upload_time": "2023-09-04T12:47:34",
            "upload_time_iso_8601": "2023-09-04T12:47:34.205242Z",
            "url": "https://files.pythonhosted.org/packages/5b/86/350cac6fff11eecd25444711caccc1786b2bd72d2e32d661acf4dfb67b7f/fontconfig_py-0.1.2-cp311-cp311-musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "75f662dd170238ef4b2711f4dbce48127845c1b2987f3bc3a439c605bd27575d",
                "md5": "857430b956b1f724695f1e75d491a5c1",
                "sha256": "004952cf8fbcfe1cefa80a1888b2811bb94c2bf409c937e89ce3904f6b20d0ef"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp312-cp312-macosx_12_0_universal2.whl",
            "has_sig": false,
            "md5_digest": "857430b956b1f724695f1e75d491a5c1",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1345656,
            "upload_time": "2023-09-04T12:47:36",
            "upload_time_iso_8601": "2023-09-04T12:47:36.088591Z",
            "url": "https://files.pythonhosted.org/packages/75/f6/62dd170238ef4b2711f4dbce48127845c1b2987f3bc3a439c605bd27575d/fontconfig_py-0.1.2-cp312-cp312-macosx_12_0_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "48616370f12d7fb925c30da0fb9d0a12d04d5d61b7ec3b47570a1dd91d054f19",
                "md5": "4d5a882afb56de8ba9014087d2749420",
                "sha256": "0ab145fa2861d409141cbac65a6edfad24be3c5105e6defdbc31ca52b81bbb16"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "4d5a882afb56de8ba9014087d2749420",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1258785,
            "upload_time": "2023-09-04T12:47:38",
            "upload_time_iso_8601": "2023-09-04T12:47:38.007960Z",
            "url": "https://files.pythonhosted.org/packages/48/61/6370f12d7fb925c30da0fb9d0a12d04d5d61b7ec3b47570a1dd91d054f19/fontconfig_py-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4ea93c05ca9b92462e356838fdaf3dca9abda1e04b88451d45cc28f69fe6083b",
                "md5": "ca8ace25d7fc2765df67fc0245129b6c",
                "sha256": "7cfc1038711ad7a93774bc83bacb338734c42edbba5198c19cfa2b537c23f208"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp312-cp312-musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ca8ace25d7fc2765df67fc0245129b6c",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1339406,
            "upload_time": "2023-09-04T12:47:39",
            "upload_time_iso_8601": "2023-09-04T12:47:39.983080Z",
            "url": "https://files.pythonhosted.org/packages/4e/a9/3c05ca9b92462e356838fdaf3dca9abda1e04b88451d45cc28f69fe6083b/fontconfig_py-0.1.2-cp312-cp312-musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83a72767b5487a69edf05a144f884ef19d9541c6aecc342fdcaf8356dc583bff",
                "md5": "749f2377e33e4b609ca6f44a74cece94",
                "sha256": "06eb73ade1bcec6e6ca7c5d0a487a1465c28fccdd2344d89f1be7ec95c48e9b0"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "749f2377e33e4b609ca6f44a74cece94",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1226935,
            "upload_time": "2023-09-04T12:47:41",
            "upload_time_iso_8601": "2023-09-04T12:47:41.919862Z",
            "url": "https://files.pythonhosted.org/packages/83/a7/2767b5487a69edf05a144f884ef19d9541c6aecc342fdcaf8356dc583bff/fontconfig_py-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a3f847e47d8c86f6fd2cfdfe9be75ddc1db6ac38078a32f1dc4a7213e48f5a5a",
                "md5": "75780b37794e083ad6b2105c26c3b2e3",
                "sha256": "2234ade40ab33ad5abe6ce8a6f9230f486c64f188405e987d9193ac226fb2633"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp38-cp38-musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "75780b37794e083ad6b2105c26c3b2e3",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1333960,
            "upload_time": "2023-09-04T12:47:43",
            "upload_time_iso_8601": "2023-09-04T12:47:43.215019Z",
            "url": "https://files.pythonhosted.org/packages/a3/f8/47e47d8c86f6fd2cfdfe9be75ddc1db6ac38078a32f1dc4a7213e48f5a5a/fontconfig_py-0.1.2-cp38-cp38-musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2713f1c1e0e4e196569f9bd4fbc89a7e322a279f4af29652f48ffbd8bc9ac3f9",
                "md5": "01bf127de08850c135f9708cb87aa78d",
                "sha256": "c2c0013d4af1252d656af6cc2d4e6e3fed4f162463adb7cebf7872c15b9a9d11"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp39-cp39-macosx_12_0_universal2.whl",
            "has_sig": false,
            "md5_digest": "01bf127de08850c135f9708cb87aa78d",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1339477,
            "upload_time": "2023-09-04T12:47:45",
            "upload_time_iso_8601": "2023-09-04T12:47:45.399893Z",
            "url": "https://files.pythonhosted.org/packages/27/13/f1c1e0e4e196569f9bd4fbc89a7e322a279f4af29652f48ffbd8bc9ac3f9/fontconfig_py-0.1.2-cp39-cp39-macosx_12_0_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2e4f8cd73849e2ec56a672e8e429a6d6307c8046e53df1cfe72805c3befa2567",
                "md5": "6f875467efae622be626abdc5401eb3e",
                "sha256": "39f604ba2ad4135deddce57aa1e08eea563382211e729e661dc12a01d56cecfb"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6f875467efae622be626abdc5401eb3e",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1216403,
            "upload_time": "2023-09-04T12:47:46",
            "upload_time_iso_8601": "2023-09-04T12:47:46.935927Z",
            "url": "https://files.pythonhosted.org/packages/2e/4f/8cd73849e2ec56a672e8e429a6d6307c8046e53df1cfe72805c3befa2567/fontconfig_py-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a753ee75153edae0a5e8785eaba282225af8e0cd3d1ff6511a93ad5d81f47303",
                "md5": "aab051c15ab185e726366861bb7606b1",
                "sha256": "8c9d85413fcf4bba0e56de2265e3aa6b43e7d8bb48664e5613539c77f85c7bdc"
            },
            "downloads": -1,
            "filename": "fontconfig_py-0.1.2-cp39-cp39-musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "aab051c15ab185e726366861bb7606b1",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 1293532,
            "upload_time": "2023-09-04T12:47:48",
            "upload_time_iso_8601": "2023-09-04T12:47:48.689476Z",
            "url": "https://files.pythonhosted.org/packages/a7/53/ee75153edae0a5e8785eaba282225af8e0cd3d1ff6511a93ad5d81f47303/fontconfig_py-0.1.2-cp39-cp39-musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-04 12:47:25",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "fontconfig-py"
}
        
Elapsed time: 0.14592s