manim-fonts


Namemanim-fonts JSON
Version 0.4.0 PyPI version JSON
download
home_pagehttps://github.com/naveen521kk/manim-fonts
SummaryUse Fonts from Internet With Manim.
upload_time2024-05-11 10:22:13
maintainerNone
docs_urlNone
authorNaveen M K
requires_python<3.13,>=3.9
licenseBSD-3-Clause
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Manim Fonts

Get fonts on the fly from the internet which can be used with Manim.

<p align="center">
    <a href="https://pypi.org/project/manim-fonts/"><img src="https://img.shields.io/pypi/v/manim-fonts.svg?style=flat-square&logo=pypi" alt="PyPI Latest Release"></a>
    <a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square" alt="Code style: black"></a>
    <a href="https://github.com/naveen521kk/manim-fonts/blob/main/LICENSE"><img alt="GitHub license" src="https://img.shields.io/github/license/naveen521kk/manim-fonts?style=flat-square"></a>
</p>

## Example

```py
from manim import *
from manim_fonts import *


class Example(Scene):
    def construct(self):
        with RegisterFont("Poppins") as fonts:
            a = Text("Hello World", font=fonts[0])
            self.play(Write(a))
```
You can replace `Poppins` with any font available on Google Fonts for example `RegisterFont("Berkshire Swash")`, and this plugin will download that font and add to search path and returns the font names that can be passed to `Text` to directly to use the fonts.

The fonts downloaded are cached and are reused.

## License

This project is licensed under [BSD 3-Clause License](https://choosealicense.com/licenses/bsd-3-clause/).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/naveen521kk/manim-fonts",
    "name": "manim-fonts",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Naveen M K",
    "author_email": "naveen@manim.community",
    "download_url": "https://files.pythonhosted.org/packages/bc/3a/53070214615f9439e4c40d075b39ed96f4f309f55bdf1acbad056ad1631d/manim_fonts-0.4.0.tar.gz",
    "platform": null,
    "description": "# Manim Fonts\n\nGet fonts on the fly from the internet which can be used with Manim.\n\n<p align=\"center\">\n    <a href=\"https://pypi.org/project/manim-fonts/\"><img src=\"https://img.shields.io/pypi/v/manim-fonts.svg?style=flat-square&logo=pypi\" alt=\"PyPI Latest Release\"></a>\n    <a href=\"https://github.com/psf/black\"><img src=\"https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square\" alt=\"Code style: black\"></a>\n    <a href=\"https://github.com/naveen521kk/manim-fonts/blob/main/LICENSE\"><img alt=\"GitHub license\" src=\"https://img.shields.io/github/license/naveen521kk/manim-fonts?style=flat-square\"></a>\n</p>\n\n## Example\n\n```py\nfrom manim import *\nfrom manim_fonts import *\n\n\nclass Example(Scene):\n    def construct(self):\n        with RegisterFont(\"Poppins\") as fonts:\n            a = Text(\"Hello World\", font=fonts[0])\n            self.play(Write(a))\n```\nYou can replace `Poppins` with any font available on Google Fonts for example `RegisterFont(\"Berkshire Swash\")`, and this plugin will download that font and add to search path and returns the font names that can be passed to `Text` to directly to use the fonts.\n\nThe fonts downloaded are cached and are reused.\n\n## License\n\nThis project is licensed under [BSD 3-Clause License](https://choosealicense.com/licenses/bsd-3-clause/).\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Use Fonts from Internet With Manim.",
    "version": "0.4.0",
    "project_urls": {
        "Homepage": "https://github.com/naveen521kk/manim-fonts",
        "Repository": "https://github.com/naveen521kk/manim-fonts"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7c10fef1a66bcdb08156a9e45ba1a9fab751a60737efe22a3feab537b47a0dcb",
                "md5": "4ea4244f6623a926f5b70189eb8799bc",
                "sha256": "1e6db207d0c623a81dc8ea7973611c3e24cc11e95c0431c770c9f741bdf8385b"
            },
            "downloads": -1,
            "filename": "manim_fonts-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4ea4244f6623a926f5b70189eb8799bc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.9",
            "size": 6018,
            "upload_time": "2024-05-11T10:22:11",
            "upload_time_iso_8601": "2024-05-11T10:22:11.933444Z",
            "url": "https://files.pythonhosted.org/packages/7c/10/fef1a66bcdb08156a9e45ba1a9fab751a60737efe22a3feab537b47a0dcb/manim_fonts-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bc3a53070214615f9439e4c40d075b39ed96f4f309f55bdf1acbad056ad1631d",
                "md5": "4f7b6ea9424403f0d493bc843c9ba1fe",
                "sha256": "9ba904ae1949d8961a6b2bb7a701ece0c90090f9efaab22f86b886596018ffa5"
            },
            "downloads": -1,
            "filename": "manim_fonts-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4f7b6ea9424403f0d493bc843c9ba1fe",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.9",
            "size": 4367,
            "upload_time": "2024-05-11T10:22:13",
            "upload_time_iso_8601": "2024-05-11T10:22:13.479185Z",
            "url": "https://files.pythonhosted.org/packages/bc/3a/53070214615f9439e4c40d075b39ed96f4f309f55bdf1acbad056ad1631d/manim_fonts-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-11 10:22:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "naveen521kk",
    "github_project": "manim-fonts",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "manim-fonts"
}
        
Elapsed time: 0.25770s