pyfonts


Namepyfonts JSON
Version 1.1.1 PyPI version JSON
download
home_pageNone
SummaryA simple and reproducible way of using fonts in matplotlib
upload_time2025-07-19 08:05:54
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords matplotlib font reproducibility google
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyfonts

<img src="https://github.com/JosephBARBIERDARNAL/static/blob/main/python-libs/pyfonts/image.png?raw=true" alt="Pyfonts logo" align="right" width="150px"/>

A **simple** and **reproducible** way of using fonts in matplotlib.

![PyPI - Downloads](https://img.shields.io/pypi/dm/pyfonts)
![Coverage](coverage-badge.svg)

<br>

## Quick start

```py
import matplotlib.pyplot as plt
from pyfonts import load_google_font

font = load_google_font("Fascinate Inline")

fig, ax = plt.subplots()
ax.text(
    x=0.2,
    y=0.5,
    s="Hey there!",
    size=30,
    font=font
)
```

![](https://raw.githubusercontent.com/JosephBARBIERDARNAL/pyfonts/refs/heads/main/quickstart.png)

[**See more examples**](https://josephbarbierdarnal.github.io/pyfonts/reference/load_google_font#examples)

<br>

## Installation

```bash
pip install pyfonts
```

<br><br>

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyfonts",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "matplotlib, font, reproducibility, google",
    "author": null,
    "author_email": "Joseph Barbier <joseph.barbierdarnal@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/d6/df/753b979449a374258c2ee91cc7cf0bd1172f2685b69b0806eed6d2aece4a/pyfonts-1.1.1.tar.gz",
    "platform": null,
    "description": "# pyfonts\n\n<img src=\"https://github.com/JosephBARBIERDARNAL/static/blob/main/python-libs/pyfonts/image.png?raw=true\" alt=\"Pyfonts logo\" align=\"right\" width=\"150px\"/>\n\nA **simple** and **reproducible** way of using fonts in matplotlib.\n\n![PyPI - Downloads](https://img.shields.io/pypi/dm/pyfonts)\n![Coverage](coverage-badge.svg)\n\n<br>\n\n## Quick start\n\n```py\nimport matplotlib.pyplot as plt\nfrom pyfonts import load_google_font\n\nfont = load_google_font(\"Fascinate Inline\")\n\nfig, ax = plt.subplots()\nax.text(\n    x=0.2,\n    y=0.5,\n    s=\"Hey there!\",\n    size=30,\n    font=font\n)\n```\n\n![](https://raw.githubusercontent.com/JosephBARBIERDARNAL/pyfonts/refs/heads/main/quickstart.png)\n\n[**See more examples**](https://josephbarbierdarnal.github.io/pyfonts/reference/load_google_font#examples)\n\n<br>\n\n## Installation\n\n```bash\npip install pyfonts\n```\n\n<br><br>\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A simple and reproducible way of using fonts in matplotlib",
    "version": "1.1.1",
    "project_urls": {
        "Documentation": "https://josephbarbierdarnal.github.io/pyfonts/",
        "Homepage": "https://josephbarbierdarnal.github.io/pyfonts/",
        "Issues": "https://github.com/JosephBARBIERDARNAL/pyfonts/issues",
        "Repository": "https://github.com/JosephBARBIERDARNAL/pyfonts"
    },
    "split_keywords": [
        "matplotlib",
        " font",
        " reproducibility",
        " google"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "20002fde255434004eec687d3ba17ec476f2c064e013cc341e26f48e1c2b0ce2",
                "md5": "77dd701ad6c2e345de27742a359699d2",
                "sha256": "95775a4e1c362b7bf4a9f871e3a6c59d31e2e96ea89aec8e57497a0fdc6738ca"
            },
            "downloads": -1,
            "filename": "pyfonts-1.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "77dd701ad6c2e345de27742a359699d2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 8810,
            "upload_time": "2025-07-19T08:05:52",
            "upload_time_iso_8601": "2025-07-19T08:05:52.144417Z",
            "url": "https://files.pythonhosted.org/packages/20/00/2fde255434004eec687d3ba17ec476f2c064e013cc341e26f48e1c2b0ce2/pyfonts-1.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d6df753b979449a374258c2ee91cc7cf0bd1172f2685b69b0806eed6d2aece4a",
                "md5": "98b7711d5f9cdcd695a34254a6041581",
                "sha256": "c0528f334fdca273a977466eeb3e1a4316e1b25e8175189d2c39452094d5ee46"
            },
            "downloads": -1,
            "filename": "pyfonts-1.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "98b7711d5f9cdcd695a34254a6041581",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 189039,
            "upload_time": "2025-07-19T08:05:54",
            "upload_time_iso_8601": "2025-07-19T08:05:54.875494Z",
            "url": "https://files.pythonhosted.org/packages/d6/df/753b979449a374258c2ee91cc7cf0bd1172f2685b69b0806eed6d2aece4a/pyfonts-1.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-19 08:05:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "JosephBARBIERDARNAL",
    "github_project": "pyfonts",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pyfonts"
}
        
Elapsed time: 0.63373s