{ "info": { "author": "hangfengYang", "author_email": "yhf5fhy@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "#

text2art

\n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

\n\n\n`text2art` is Python implementation of the original Figlet project. It looks like this (although you can select your font and color):\n\n```\n .-') _ ('-. ) (`-. .-') _ ('-. _ .-') .-') _\n ( OO) ) _( OO) ( OO ). ( OO) ) ( OO ).-.( \\( -O ) ( OO) )\n / '._(,------.(_/. \\_)-./ '._ .-----. / . --. / ,------. / '._\n |'--...__)| .---' \\ `.' / |'--...__)/ ,-. \\ | \\-. \\ | /`. '|'--...__)\n '--. .--'| | \\ /\\ '--. .--''-' | |.-'-' | | | / | |'--. .--'\n | | (| '--. \\ \\ | | | .' / \\| |_.' | | |_.' | | |\n | | | .--' .' \\_) | | .' /__ | .-. | | . '.' | |\n | | | `---. / .'. \\ | | | | | | | | | |\\ \\ | |\n `--' `------''--' '--' `--' `-------' `--' `--' `--' '--' `--'\n --------- by HangfengYang\n```\n\n\n### Getting Started\n---\n\n#### help\n```\n>>> text2art h\n Usage:\n text2art lf # Random display of 25 fonts\n text2art rd text [--on_color] [--attr] [--width] [--justify]\n text2art gt text [--font] [--color] [--on_color] [--attr] [--width] [--justify]\n \n available text colors:\n red, green, yellow, blue, magenta, cyan, white.\n available text highlights:\n on_red, on_green, on_yellow, on_blue, on_magenta, \n on_cyan,on_white.\n available attributes:\n bold, dark, underline, blink, reverse, concealed.\n width: Setting the size of the terminal output font,type is int.\n justify: Setting the location of the terminal output font.\n available parameter: left, enter, right.\n```\n\n#### Generates random fonts and random colors.\n\n```\n>>> text2art rd yang\n\n /\n Y88b / /~~~8e 888-~88e e88~88e\n Y888/ 88b 888 888 888 888\n Y8/ e88~-888 888 888 \"88_88\"\n Y C888 888 888 888 /\n / \"88_-888 888 888 Cb\n _/ Y8\"\"8D\n```\n\n#### Random display of 25 fonts\n\n```\n>>> text2art lf\n```\n\n#### Generate ascii art text via given font\n\n```\n>>> text2art gt yang --font ghost\n\n ('-. .-') _\n ( OO ).-. ( OO ) )\n ,--. ,--./ . --. /,--./ ,--,' ,----.\n \\ `.' / | \\-. \\ | \\ | |\\ ' .-./-')\n .-') /.-'-' | || \\| | )| |_( O- )\n (OO \\ / \\| |_.' || . |/ | | .--, \\\n | / /\\_ | .-. || |\\ | (| | '. (_/\n `-./ /.__) | | | || | \\ | | '--' |\n `--' `--' `--'`--' `--' `------'\n```\n\n#### Generate ascii art text via given color\n\n```\n>>> text2art gt hang --color cyan\n>>> text2art gt hang --color red\n```\n\n![COLOR][colored]\n\n\n\n#### Adjust the properties of the font\n\n```\n>>> text2art gt hang \n>>> text2art gt hang --attr bold\n```\n![ATTR][attr]\n\n#### Adjust the background color\n\n```\n>>> text2art gt hang --on_color on_cyan --color yellow --attr bold\n```\n\n![ON_COLOR][on_color]\n\n\n#### Adjust the location of the output font\n\n```\n>>> text2art gt feng --color cyan # default center\n>>> text2art gt feng --color cyan --justify left\n```\n\n![JUSTIFY][justify]\n\n#### Adjust the width of the terminal background\n\n```\n>>> text2art gt suibianshu # default width is 80\n>>> text2art gt suibianshu --width 120\n```\n\n![WIDTH][width]\n\n### Installation\n---\n\n`text2art` is hosted on [PYPI](https://pypi.python.org/pypi/text2art) and can be installed as such:\n\n```\n>>> pip install text2art\n```\n\nAlternatively, you can also get the latest source code from [GitHub](https://github.com/yhangf/text2art) and install it manually:\n\n```\n>>> git clone git@github.com:yhangf/text2art.git\n>>> cd text2art\n>>> python setup.py install\n```\n\nFor update:\n\n```\n>>> pip install text2art --upgrade\n```\n\n### Questions\n\n* The color display in DOS uses the init method in the colorama package. How can it be implemented without calling additional packages?\n\n* How fire packages are friendly output help documents?\n\n### Last\n\nvery welcome to star and pull requests, and I hope you can submit a nice font or color scheme to Issue.\n\n### License\n---\n\nMIT ([here](https://github.com/yhangf/text2art/blob/master/LICENSE))\n\n[colored]: https://raw.githubusercontent.com/yhangf/text2art/master/screenshot/colored.png\n[justify]: https://raw.githubusercontent.com/yhangf/text2art/master/screenshot/justify_left.png\n[on_color]: https://raw.githubusercontent.com/yhangf/text2art/master/screenshot/on_color.png\n[attr]: https://raw.githubusercontent.com/yhangf/text2art/master/screenshot/set_attr.png\n[width]: https://raw.githubusercontent.com/yhangf/text2art/master/screenshot/set_width.png", "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/yhangf/text2art", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "text2art", "package_url": "https://pypi.org/project/text2art/", "platform": "", "project_url": "https://pypi.org/project/text2art/", "project_urls": { "Homepage": "https://github.com/yhangf/text2art" }, "release_url": "https://pypi.org/project/text2art/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Generating controlled terminal art fonts", "version": "0.2.0" }, "last_serial": 4131218, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "e38d9788b5fc35199b853d23f2e7ab3d", "sha256": "dfd757faf6a0c00f4eac425a031373c1c2fb2b3fbe2d252e8f0a39fabcd6924a" }, "downloads": -1, "filename": "text2art-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e38d9788b5fc35199b853d23f2e7ab3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3004, "upload_time": "2018-05-01T13:40:29", "url": "https://files.pythonhosted.org/packages/ac/c7/234795952efa470419c58bfdc118213f0e6f49ed224b8db362a14d1be52e/text2art-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "32c74889e674750bad704a92f2868b46", "sha256": "c0f997ed58e61f1314dd0d225d408191e9d7ccba7aff699679931f942e94a357" }, "downloads": -1, "filename": "text2art-0.1.2.tar.gz", "has_sig": false, "md5_digest": "32c74889e674750bad704a92f2868b46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3002, "upload_time": "2018-05-01T14:49:55", "url": "https://files.pythonhosted.org/packages/80/08/31be3fee9fade21d2cb5f662898d4bf0246429dd982e896a2b98d5e07866/text2art-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2bff473b5d42b82e3ad06c835ca21266", "sha256": "bd476e70c0807c8460d2f5339158f88359edb8741ae6be82e9c7218a29cde853" }, "downloads": -1, "filename": "text2art-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2bff473b5d42b82e3ad06c835ca21266", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5842, "upload_time": "2018-05-02T04:31:07", "url": "https://files.pythonhosted.org/packages/df/d3/67a221cbb7cb2cec2001c2fd8a0c8d575dd012f5250ec5d506fa4894897b/text2art-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "f63c117b3b6dcf582d7c5a4e5a965bff", "sha256": "8fb1238754c18f7867c8930ac7cda5028b54fbdd085d7f75141b7133a89cc5d8" }, "downloads": -1, "filename": "text2art-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f63c117b3b6dcf582d7c5a4e5a965bff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6109, "upload_time": "2018-05-02T04:40:04", "url": "https://files.pythonhosted.org/packages/91/f0/65d928c9c5c3a9264ad5a4108e6ef25f4f4ce1ab2af7eb325aba398792fb/text2art-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "d41a1f920e6db80a21416868f85b16c5", "sha256": "cc88efb9799ea62c1b8c48292340b0b1f020a84608fc9cf079bb012200445e81" }, "downloads": -1, "filename": "text2art-0.1.5.tar.gz", "has_sig": false, "md5_digest": "d41a1f920e6db80a21416868f85b16c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5931, "upload_time": "2018-05-02T04:45:34", "url": "https://files.pythonhosted.org/packages/dc/fe/d6e57a9be52ea7ff5afd53cab76bacff053d3c603eb4e95b720c2d0bc7cc/text2art-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "c9f0641311e86ed3de4f069a9b57783e", "sha256": "821522d6829b2a9409aa2eda81e3c3dcf9ca1d6e5b1d1d058d89fd9469637cbd" }, "downloads": -1, "filename": "text2art-0.1.6.tar.gz", "has_sig": false, "md5_digest": "c9f0641311e86ed3de4f069a9b57783e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4549, "upload_time": "2018-05-02T04:47:55", "url": "https://files.pythonhosted.org/packages/ed/46/dc0783d7df44e8010de0d24d149f8577020ee4496e81cd3ef7a611e297f8/text2art-0.1.6.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "ae0d6c37dd461e381177a0344a819a5b", "sha256": "1a8487f36307d43a7949bbc4fc2b288557c19ce9c12cde01186c32956966c0ee" }, "downloads": -1, "filename": "text2art-0.1.9.tar.gz", "has_sig": false, "md5_digest": "ae0d6c37dd461e381177a0344a819a5b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5894, "upload_time": "2018-06-19T05:52:30", "url": "https://files.pythonhosted.org/packages/d7/dd/2bd4620743e178bcbc9f85a671296ed6b64587e953e2584b1da375f2fdff/text2art-0.1.9.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d2e1a37935065bad64fbdcb1f2479426", "sha256": "437cbe8d979b01995348f4da1792e3b277f1766bfaa232027423cf0e83896380" }, "downloads": -1, "filename": "text2art-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d2e1a37935065bad64fbdcb1f2479426", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5857, "upload_time": "2018-08-03T05:56:10", "url": "https://files.pythonhosted.org/packages/bf/a1/0700d641823976ab3544e85c05e21c2fa955c1d34bb4eef83fd6059b4949/text2art-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d2e1a37935065bad64fbdcb1f2479426", "sha256": "437cbe8d979b01995348f4da1792e3b277f1766bfaa232027423cf0e83896380" }, "downloads": -1, "filename": "text2art-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d2e1a37935065bad64fbdcb1f2479426", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5857, "upload_time": "2018-08-03T05:56:10", "url": "https://files.pythonhosted.org/packages/bf/a1/0700d641823976ab3544e85c05e21c2fa955c1d34bb4eef83fd6059b4949/text2art-0.2.0.tar.gz" } ] }