{ "info": { "author": "Frost Ming", "author_email": "mianghong@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\n```\n \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255d \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255d \u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551 \u255a\u2550\u2550\u2588\u2588\u2554\u2550\u2550\u255d \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255d\n \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2550\u255d \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u255a\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551 \u255a\u2550\u2550\u2550\u2550\u2588\u2588\u2551\n \u255a\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551 \u255a\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d \u2588\u2588\u2551 \u255a\u2588\u2588\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\n \u255a\u2550\u2550\u2550\u2550\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u2550\u2550\u2550\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u2550\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u2550\u2550\u2550\u2550\u2550\u255d\n```\n[![Build Status](https://travis-ci.org/frostming/python-cfonts.svg?branch=master)](https://travis-ci.org/frostming/python-cfonts)\n\n*This is a Python port of [cfonts](https://github.com/dominikwilkowski/cfonts). Thanks for the original code and beautiful console fonts!*\n\n> **NOTE:** This project supports Python 2.7+ and 3.4+\n\n## Installation\n\n```bash\n$ pip install python-cfonts\n```\n\n## Usage\n[Documentation](https://python-cfonts.readthedocs.io/python-cfonts/)\n\nCommand line interface:\n```bash\n$ cfonts --help\nUsage: cfonts [OPTIONS] TEXT\n\n This is a tool for sexy fonts in the console. Give your cli some love.\n\nOptions:\n --version Show the version and exit.\n -m, --max-length INTEGER Use to define the amount of maximum\n characters per line\n -s, --spaceless Use to disable the padding around your\n output\n -z, --line-height INTEGER Use to define your line height\n -l, --letter-spacing INTEGER Use to define your letter spacing\n -a, --align [left|center|right]\n Use to align your text output\n -b, --background [transparent|black|red|green|yellow|blue|magenta|cyan|white|bright_black|bright_red|bright_green|bright_yellow|bright_blue|bright_magenta|bright_cyan|bright_white]\n Use to define the background color\n -c, --colors TEXT Use to define the font color\n -f, --font [console|block|simpleBlock|simple|3d|simple3d|chrome|huge]\n Use to define the font face\n --help Show this message and exit.\n```\n![](https://python-cfonts.readthedocs.io/en/latest/_images/example.png)\n\nOr generate the fonts pragramatically:\n\n```python\nfrom cfonts import render, say\n\noutput = render('Hello world', colors=['red', 'yellow'], align='center')\nprint(output)\n```\n## Supported Characters\n\n| | | | | |\n|-----|-----|-----|-----|-------------|\n| `A` | `O` | `2` | `2` | `=` |\n| `B` | `P` | `3` | `3` | `@` |\n| `C` | `Q` | `4` | `4` | `#` |\n| `D` | `R` | `5` | `5` | `$` |\n| `E` | `S` | `6` | `6` | `%` |\n| `F` | `T` | `7` | `7` | `&` |\n| `G` | `U` | `8` | `8` | `(` |\n| `H` | `V` | `9` | `9` | `)` |\n| `I` | `W` | `!` | `!` | `/` |\n| `J` | `X` | `?` | `?` | `:` |\n| `K` | `Y` | `.` | `.` | `;` |\n| `L` | `Z` | `+` | `+` | `,` |\n| `M` | `0` | `-` | `-` | `'` |\n| `N` | `1` | `_` | `_` | ` ` (space) |\n\n## Tests\n\n```bash\n$ pipenv run pytest\n```\n\n## License\n\nThe project is originated by [@dominikwilkowski](https://github.com/dominikwilkowski), under GPLv2 license.\nPorted by [@frostming](https://github.com/frostming), under GPLv2 license. See [LICENSE](/LICENSE) for details\n\n## Changelog\n\n- **v0.3.1** Fix a bug that the background doesn't span the full width.\n- **v0.3.0** Supports Python 2.7.\n- **v0.2.0** Initial commit and testing.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/frostming/python-cfonts", "keywords": "", "license": "GNU General Public License v2 (GPLv2)", "maintainer": "", "maintainer_email": "", "name": "python-cfonts", "package_url": "https://pypi.org/project/python-cfonts/", "platform": "", "project_url": "https://pypi.org/project/python-cfonts/", "project_urls": { "Homepage": "https://github.com/frostming/python-cfonts" }, "release_url": "https://pypi.org/project/python-cfonts/0.4.0/", "requires_dist": [ "click", "colorama", "backports.shutil-get-terminal-size; python_version < \"3.4\"" ], "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "summary": "Sexy fonts for the console", "version": "0.4.0" }, "last_serial": 4499285, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "d67d0a5506f7187fddbfb5e852c7247f", "sha256": "c78219a36d6ab872f95a2bb8c4f6e3e396a4b8794524e775414ce872ae290ae8" }, "downloads": -1, "filename": "python_cfonts-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d67d0a5506f7187fddbfb5e852c7247f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 17784, "upload_time": "2018-06-23T03:48:21", "url": "https://files.pythonhosted.org/packages/47/0c/ab7cf23b619947b2c76ce562c1b7d88ed1b8a8cb3dcf7e8840850afaf25f/python_cfonts-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a33e5ee65d70dcff572cc310a365d945", "sha256": "e022b26df1657a7245501007f1c854413410a83b8466dfec375e393c34410458" }, "downloads": -1, "filename": "python-cfonts-0.2.2.tar.gz", "has_sig": false, "md5_digest": "a33e5ee65d70dcff572cc310a365d945", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 22580, "upload_time": "2018-06-23T03:48:22", "url": "https://files.pythonhosted.org/packages/70/a4/320fabe3b7fb420c4b0e5ae3ca70f321c0e822928cd0837469090433f2ff/python-cfonts-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "1d057ac465cb7d4c17c58da862fb3f95", "sha256": "472232f741998a72237db17d4f38e13766a75372152c45f9c4119f23463bb5cf" }, "downloads": -1, "filename": "python_cfonts-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1d057ac465cb7d4c17c58da862fb3f95", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 18581, "upload_time": "2018-06-26T01:27:49", "url": "https://files.pythonhosted.org/packages/4f/8c/285bfdeaeed21c78f740759546d6e4cdc9e5129321c37bcb90d96497c49a/python_cfonts-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b331625929ff5dadca13663035389f66", "sha256": "4fe5faf94a299da908b0861af402bba591a257f16d0e0f27bcacd91ba5c29d75" }, "downloads": -1, "filename": "python-cfonts-0.3.0.tar.gz", "has_sig": false, "md5_digest": "b331625929ff5dadca13663035389f66", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 23588, "upload_time": "2018-06-26T01:27:50", "url": "https://files.pythonhosted.org/packages/77/b1/99f81d60b49225b86136b5fac709a79f582d9d3ecc680e392deded622256/python-cfonts-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "1ed36fdf6cf41d6a33b3615d51d753df", "sha256": "0ce589c81f9c74087c3fbbcfed289baa7bb75b58b89011ffc566399945db4466" }, "downloads": -1, "filename": "python_cfonts-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1ed36fdf6cf41d6a33b3615d51d753df", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 18782, "upload_time": "2018-07-02T02:33:24", "url": "https://files.pythonhosted.org/packages/82/e6/43b68835441f6018387598fbd3a3493cdedba653c19f10f79823efb52b6a/python_cfonts-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd4f48473bd0fe9d08a2f19fb11d3877", "sha256": "9611a9b5e1482eb4d0c73da980849ae561fe618e5bc550dc4026dad9fa85c8b3" }, "downloads": -1, "filename": "python-cfonts-0.3.1.tar.gz", "has_sig": false, "md5_digest": "bd4f48473bd0fe9d08a2f19fb11d3877", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 23760, "upload_time": "2018-07-02T02:33:26", "url": "https://files.pythonhosted.org/packages/e9/59/6a6eba7bc18db4b9e65a4fcf4d48e9c77d475e18187e084b6c0b8f2e3c0e/python-cfonts-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "7c35d04ee4f040ad009109ce1430362a", "sha256": "9ff035273f08cb31fc56c93aacc47a5b682a0f450b7f4493237d52452689be78" }, "downloads": -1, "filename": "python_cfonts-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7c35d04ee4f040ad009109ce1430362a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 25979, "upload_time": "2018-11-18T08:40:53", "url": "https://files.pythonhosted.org/packages/c5/3c/79ff063fe83dce29565748e2cf876936a91e9a92e7b9bcad7aa117f51983/python_cfonts-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dad2b8983f9df0742774e17809d22671", "sha256": "c1ec608e50afcc939ec182f336041b27f6e20ac0376768276fcc5b7e2199620d" }, "downloads": -1, "filename": "python-cfonts-0.4.0.tar.gz", "has_sig": false, "md5_digest": "dad2b8983f9df0742774e17809d22671", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 25370, "upload_time": "2018-11-18T08:40:55", "url": "https://files.pythonhosted.org/packages/b0/0c/928c7025823076c21875a283a32b9831362cf46b1caee42761ee8dbdbc35/python-cfonts-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7c35d04ee4f040ad009109ce1430362a", "sha256": "9ff035273f08cb31fc56c93aacc47a5b682a0f450b7f4493237d52452689be78" }, "downloads": -1, "filename": "python_cfonts-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7c35d04ee4f040ad009109ce1430362a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 25979, "upload_time": "2018-11-18T08:40:53", "url": "https://files.pythonhosted.org/packages/c5/3c/79ff063fe83dce29565748e2cf876936a91e9a92e7b9bcad7aa117f51983/python_cfonts-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dad2b8983f9df0742774e17809d22671", "sha256": "c1ec608e50afcc939ec182f336041b27f6e20ac0376768276fcc5b7e2199620d" }, "downloads": -1, "filename": "python-cfonts-0.4.0.tar.gz", "has_sig": false, "md5_digest": "dad2b8983f9df0742774e17809d22671", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 25370, "upload_time": "2018-11-18T08:40:55", "url": "https://files.pythonhosted.org/packages/b0/0c/928c7025823076c21875a283a32b9831362cf46b1caee42761ee8dbdbc35/python-cfonts-0.4.0.tar.gz" } ] }