{ "info": { "author": "xlzd", "author_email": "i@xlzd.me", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Programming Language :: Python", "Topic :: Text Processing :: Fonts" ], "description": "xart: generate art ascii texts. |Version| |WTFPL License|\n=========================================================\n\n``xart`` is a pure Python library that provides an easy way to generate\nart ascii texts. Life is short, be cool.\n\n::\n\n \u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u255a\u2588\u2588\u2557\u2588\u2588\u2554\u255d\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u255a\u2550\u2550\u2588\u2588\u2554\u2550\u2550\u255d\n \u255a\u2588\u2588\u2588\u2554\u255d \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d \u2588\u2588\u2551\n \u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557 \u2588\u2588\u2551\n \u2588\u2588\u2554\u255d \u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\n \u255a\u2550\u255d \u255a\u2550\u255d\u255a\u2550\u255d \u255a\u2550\u255d\u255a\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u255d\n\n### Getting Started\n-------------------\n\nhelp\n^^^^\n\n::\n\n $ xart -h\n usage: __init__.py [-h] [-f FONT] [-c COLOR] [-i] [-s] [-l] [-v]\n\n xart : generate art ascii texts.\n\n optional arguments:\n -h, --help show this help message and exit\n -f FONT, --font FONT font to render with, default random\n -c COLOR, --color COLOR\n font color, default WHITE, all : BLACK, RED, GREEN,\n YELLOW, BLUE, PURPLE, CYAN, GRAY, WHITE\n -i, --info show information of given font\n -s, --show show random fonts\n -l, --list list all supported fonts\n -v, --version version\n\ngenerate ascii text via random font\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n::\n\n $ xart test\n \u2588\u2588\u2588 \u2584\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2584\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\n \u2580\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2580\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2584\n \u2580\u2588\u2588\u2588\u2580\u2580\u2588\u2588 \u2588\u2588\u2588 \u2588\u2580 \u2588\u2588\u2588 \u2588\u2580 \u2580\u2588\u2588\u2588\u2580\u2580\u2588\u2588\n \u2588\u2588\u2588 \u2580 \u2584\u2588\u2588\u2588\u2584\u2584\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2580\n \u2588\u2588\u2588 \u2580\u2580\u2588\u2588\u2588\u2580\u2580\u2580 \u2580\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\n \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588\n \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2584\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\n \u2584\u2588\u2588\u2588\u2588\u2580 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2584\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2580 \u2584\u2588\u2588\u2588\u2588\u2580\n\ngenerate ascii text via given font\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n::\n\n $ xart test -f 3D_Diagonal\n\n ___ ___\n ,--.'|_ ,--.'|_\n | | :,' | | :,'\n : : ' : .--.--. : : ' :\n .;__,' / ,---. / / ' .;__,' /\n | | | / \\ | : /`./ | | |\n :__,'| : / / | | : ;_ :__,'| :\n ' : |__ . ' / | \\ \\ `. ' : |__\n | | '.'| ' ; /| `----. \\ | | '.'|\n ; : ; ' | / | / /`--' / ; : ;\n | , / | : | '--'. / | , /\n ---`-' \\ \\ / `--'---' ---`-'\n `----'\n\ngenerate ascii text via given color\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. figure:: https://raw.githubusercontent.com/xlzd/xart/master/printscreen/color.png\n :alt: COLOR\n\n COLOR\n\nshow all supported fonts\n^^^^^^^^^^^^^^^^^^^^^^^^\n\n::\n\n $ xart -l\n xart : generate art ascii texts.\n\n 0. 1Row\n 1. 3-D\n ...\n 277. Wow\n\n All 278 fonts.\n\nshow font infomation\n^^^^^^^^^^^^^^^^^^^^\n\n::\n\n $ xart -i -f Weird\n weird.flf (version 2)\n by: Bas Meijer meijer@info.win.tue.nl bas@damek.kth.se\n fixed by: Ryan Youck youck@cs.uregina.ca\n some special characters '#%*' etc. are not matching, they are from other fonts.\n Explanation of first line:\n flf2 - \"magic number\" for file identification\n a - should always be `a', for now\n $ - the \"hardblank\" -- prints as a blank, but can't be smushed\n 6 - height of a character\n 5 - height of a character, not including descenders\n 20 - max line length (excluding comment lines) + a fudge factor\n 15 - default smushmode for this font (like \"-m 15\" on command line)\n 13 - number of comment lines\n\nversion\n^^^^^^^\n\n::\n\n $ xart -v\n xart : generate art ascii fonts, version 0.1.5.\n ___ ____ ___\n / _ \\ (___ \\ / _ \\\n | | | | __) ) | | | |\n | | | | / __/ | | | |\n | |_| | _ | |___ _ | |_| |\n \\___/ (_)|_____)(_) \\___/\n\n### Installation\n----------------\n\n``xart`` is hosted on `PYPI `__ and\ncan be installed as such:\n\n::\n\n $ pip install xart\n\nAlternatively, you can also get the latest source code from\n`GitHub `__ and install it manually:\n\n::\n\n $ git clone git@github.com:xlzd/xart.git\n $ cd xart\n $ python setup.py install\n\nFor update:\n\n::\n\n $ pip install xart --upgrade\n\n### License\n-----------\n\nWTFPL (`here `__)\n\n.. |Version| image:: https://img.shields.io/pypi/v/xart.svg?label=version\n :target: https://pypi.python.org/pypi/xart/\n.. |WTFPL License| image:: https://img.shields.io/badge/license-WTFPL-007EC7.svg", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/xlzd/xart", "keywords": null, "license": "WTFPL", "maintainer": null, "maintainer_email": null, "name": "xart", "package_url": "https://pypi.org/project/xart/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/xart/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/xlzd/xart" }, "release_url": "https://pypi.org/project/xart/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "generate art ascii texts", "version": "0.2.0" }, "last_serial": 2470441, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "8b5636168c012aa645236e1c801d7b98", "sha256": "cab88ad68dc861d78ec4bd3dbeb815f9dcbd3e90972449cd95944442ca6e39aa" }, "downloads": -1, "filename": "xart-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8b5636168c012aa645236e1c801d7b98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 451096, "upload_time": "2016-11-19T13:27:33", "url": "https://files.pythonhosted.org/packages/df/0b/607ebe1853f4797714e06917b29aafe9120f309991c607c20b542fc716b7/xart-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8b5636168c012aa645236e1c801d7b98", "sha256": "cab88ad68dc861d78ec4bd3dbeb815f9dcbd3e90972449cd95944442ca6e39aa" }, "downloads": -1, "filename": "xart-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8b5636168c012aa645236e1c801d7b98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 451096, "upload_time": "2016-11-19T13:27:33", "url": "https://files.pythonhosted.org/packages/df/0b/607ebe1853f4797714e06917b29aafe9120f309991c607c20b542fc716b7/xart-0.2.0.tar.gz" } ] }