<picture>
<img src="https://edward-jazzhands.github.io/assets/rich-pyfiglet/banner.png" style="max-width:100%;height:auto;"/>
</picture>
# Rich-Pyfiglet
[](https://pypi.org/project/rich-pyfiglet/)
[](https://github.com/edward-jazzhands/rich-pyfiglet/releases/latest)
[](https://python.org)
[](https://mypy-lang.org/)
[](https://opensource.org/license/mit)
Rich-PyFiglet is an implementation of [PyFiglet](https://github.com/pwaller/pyfiglet) for [Rich](https://github.com/Textualize/rich).
It provides a RichFiglet class that is fully compatible with the Rich API and can be dropped into your Rich scripts.
*This library is related to [Textual-Pyfiglet](https://github.com/edward-jazzhands/rich-pyfiglet).*
## Features
- Usage in your Rich scripts can be a single line of code with default settings.
- Color system built on Rich can take common formats such as hex code and RGB, as well as a big list of named colors.
- Banner will automatically adjust to the terminal width and word-wrap the text.
- Automatically create gradients between colors vertically or horizontally.
- Comes with 4 animation modes built in (up, down, smooth-strobe, fast-strobe).
- Pass in a list of colors for multicolored gradients and animations.
- Manually tweak the gradient quality as well as the animation FPS in order to customize the banner the way you want it.
- Add borders around the banner - The RichFiglet takes border settings as arguments, which allows it to properly account for the border and padding when calculating its available space (without doing this, some terminal sizes would mess up the render).
- Included CLI mode for quick testing.
- The fonts are type-hinted to give you auto-completion in your code editor, eliminating the need to manually check what fonts are available.
## Try out the CLI
If you have [uv](https://docs.astral.sh/uv/) or [pipx](https://pipx.pypa.io/stable/), you can immediately try the included CLI:
```sh
uvx rich-pyfiglet "Rich is awesome" --colors blue:green
```
```sh
pipx rich-pyfiglet "Rich is awesome" --colors blue:green
```
## Documentation
### [Click here for documentation](https://edward-jazzhands.github.io/libraries/rich-pyfiglet/docs/)
## Questions, Issues, Suggestions?
Use the [issues](https://github.com/edward-jazzhands/rich-pyfiglet/issues) section for bugs or problems, and post ideas or feature requests on the [TTY group discussion board](https://github.com/orgs/ttygroup/discussions).
## Thanks and Copyright
Both Rich-Pyfiglet and the original PyFiglet are under MIT License. See LICENSE file.
FIGlet fonts have existed for a long time, and many people have contributed over the years.
Original creators of FIGlet:
[https://www.figlet.org](https://www.figlet.org)
The PyFiglet creators:
[https://github.com/pwaller/pyfiglet](https://github.com/pwaller/pyfiglet)
Rich:
[https://github.com/Textualize/rich](https://github.com/Textualize/rich)
And finally, thanks to the many hundreds of people that contributed to the fonts collection.
Raw data
{
"_id": null,
"home_page": null,
"name": "rich-pyfiglet",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "python, pyfiglet, figlet, ascii, rich, cli, color, terminal, banner",
"author": "edward-jazzhands",
"author_email": "edward-jazzhands <ed.jazzhands@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/63/45/e9fe32d846099de94bb89402a0bd87ae536d5317329cc4adb1373e027c8d/rich_pyfiglet-1.0.0.tar.gz",
"platform": null,
"description": "<picture>\n <img src=\"https://edward-jazzhands.github.io/assets/rich-pyfiglet/banner.png\" style=\"max-width:100%;height:auto;\"/>\n</picture>\n\n# Rich-Pyfiglet\n\n[](https://pypi.org/project/rich-pyfiglet/)\n[](https://github.com/edward-jazzhands/rich-pyfiglet/releases/latest)\n[](https://python.org)\n[](https://mypy-lang.org/)\n[](https://opensource.org/license/mit)\n\nRich-PyFiglet is an implementation of [PyFiglet](https://github.com/pwaller/pyfiglet) for [Rich](https://github.com/Textualize/rich).\n\nIt provides a RichFiglet class that is fully compatible with the Rich API and can be dropped into your Rich scripts.\n\n*This library is related to [Textual-Pyfiglet](https://github.com/edward-jazzhands/rich-pyfiglet).*\n\n## Features\n\n- Usage in your Rich scripts can be a single line of code with default settings.\n- Color system built on Rich can take common formats such as hex code and RGB, as well as a big list of named colors.\n- Banner will automatically adjust to the terminal width and word-wrap the text.\n- Automatically create gradients between colors vertically or horizontally.\n- Comes with 4 animation modes built in (up, down, smooth-strobe, fast-strobe).\n- Pass in a list of colors for multicolored gradients and animations.\n- Manually tweak the gradient quality as well as the animation FPS in order to customize the banner the way you want it.\n- Add borders around the banner - The RichFiglet takes border settings as arguments, which allows it to properly account for the border and padding when calculating its available space (without doing this, some terminal sizes would mess up the render).\n- Included CLI mode for quick testing.\n- The fonts are type-hinted to give you auto-completion in your code editor, eliminating the need to manually check what fonts are available.\n\n## Try out the CLI\n\nIf you have [uv](https://docs.astral.sh/uv/) or [pipx](https://pipx.pypa.io/stable/), you can immediately try the included CLI:\n\n```sh\nuvx rich-pyfiglet \"Rich is awesome\" --colors blue:green\n```\n\n```sh\npipx rich-pyfiglet \"Rich is awesome\" --colors blue:green\n```\n\n## Documentation\n\n### [Click here for documentation](https://edward-jazzhands.github.io/libraries/rich-pyfiglet/docs/)\n\n## Questions, Issues, Suggestions?\n\nUse the [issues](https://github.com/edward-jazzhands/rich-pyfiglet/issues) section for bugs or problems, and post ideas or feature requests on the [TTY group discussion board](https://github.com/orgs/ttygroup/discussions).\n\n## Thanks and Copyright\n\nBoth Rich-Pyfiglet and the original PyFiglet are under MIT License. See LICENSE file.\n\nFIGlet fonts have existed for a long time, and many people have contributed over the years.\n\nOriginal creators of FIGlet: \n[https://www.figlet.org](https://www.figlet.org)\n\nThe PyFiglet creators: \n[https://github.com/pwaller/pyfiglet](https://github.com/pwaller/pyfiglet)\n\nRich: \n[https://github.com/Textualize/rich](https://github.com/Textualize/rich)\n\nAnd finally, thanks to the many hundreds of people that contributed to the fonts collection.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A library that wraps PyFiglet with the Rich library for rendering ASCII art in the terminal.",
"version": "1.0.0",
"project_urls": {
"Changelog": "https://github.com/edward-jazzhands/rich-pyfiglet/blob/master/CHANGELOG.md",
"Repository": "https://github.com/edward-jazzhands/rich-pyfiglet"
},
"split_keywords": [
"python",
" pyfiglet",
" figlet",
" ascii",
" rich",
" cli",
" color",
" terminal",
" banner"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "7e33594d2997ce77d4a18984a9bfc01907d456b8f60dbcc313c8ad1cb568526e",
"md5": "06c5c1802dc40f7548def3b5cfed142a",
"sha256": "0b1653b0381cab356772c562e528c091171beeaa1821f71cfd65c379197b4244"
},
"downloads": -1,
"filename": "rich_pyfiglet-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "06c5c1802dc40f7548def3b5cfed142a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 15319,
"upload_time": "2025-07-31T04:17:40",
"upload_time_iso_8601": "2025-07-31T04:17:40.748974Z",
"url": "https://files.pythonhosted.org/packages/7e/33/594d2997ce77d4a18984a9bfc01907d456b8f60dbcc313c8ad1cb568526e/rich_pyfiglet-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "6345e9fe32d846099de94bb89402a0bd87ae536d5317329cc4adb1373e027c8d",
"md5": "591d79fd24cac8d001af26141c735395",
"sha256": "a9ba2ae109eb43112a2eb8f35abb3fc4113be0927d4718cdbbc47513957f38ed"
},
"downloads": -1,
"filename": "rich_pyfiglet-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "591d79fd24cac8d001af26141c735395",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 13575,
"upload_time": "2025-07-31T04:17:42",
"upload_time_iso_8601": "2025-07-31T04:17:42.218982Z",
"url": "https://files.pythonhosted.org/packages/63/45/e9fe32d846099de94bb89402a0bd87ae536d5317329cc4adb1373e027c8d/rich_pyfiglet-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-31 04:17:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "edward-jazzhands",
"github_project": "rich-pyfiglet",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "rich-pyfiglet"
}