{ "info": { "author": "ransomware", "author_email": "4thel00z@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "Swag\n====\n\nColor your shell output with escape code magic.\n\n.. figure:: https://media.giphy.com/media/l0O5ASEoXnoaMd3S8/source.gif\n :alt: Demo\n\n Demo\n\nInstallation\n------------\n\n``pip install swag``\n\nUsage\n-----\n\n::\n\n usage: swag [-h] {print,install} ...\n\n positional arguments:\n {print,install} [command] help\n install install the colors to the folder of choice\n print prints the text with the specified color and type to the\n console\n\n optional arguments:\n -h, --help show this help message and exit\n\nRaw Usage\n---------\n\nUse from code\n~~~~~~~~~~~~~\n\n::\n\n from swag import colors\n print colors.COLORS[\"red\"], \"This will be red\"\n # Or use the swagprinter helpers:\n\n from swag import swagprinter\n from swag.swagprinter import INTENSE\n\n swagprinter.print_green(\"Blah\", INTENSE) # Prints an intense green\n\n # Prints an intense green, to the end of the output:\n swagprinter.print_green(\"Blah\", INTENSE, true)\n\n\nInstallation to a folder\n~~~~~~~~~~~~~~~~~~~~~~~~\n\nFrom the commandline do\n\n::\n\n swag install -d # default is ~/.colors\n\nThis will install all the escape codes to the ~/.colors or folder.\n\nNow you can use the colors directly from the console via:\n\n``echo $(cat ~/.colors/blue) This will be blue``\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/4thel00z/swag", "keywords": "terminal theming style echo swag shell console", "license": "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "maintainer": "", "maintainer_email": "", "name": "swag", "package_url": "https://pypi.org/project/swag/", "platform": "", "project_url": "https://pypi.org/project/swag/", "project_urls": { "Homepage": "https://github.com/4thel00z/swag" }, "release_url": "https://pypi.org/project/swag/1.5.1/", "requires_dist": null, "requires_python": "", "summary": "Swag up your shell output with escape code magic!", "version": "1.5.1" }, "last_serial": 3183064, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "c15b5cf2ebe477d7b54a5bf0469dfe39", "sha256": "c719988e178fc9074d7bed949474d0ebef41af69a43c2145c957ca19e667bbf5" }, "downloads": -1, "filename": "swag-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c15b5cf2ebe477d7b54a5bf0469dfe39", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5692, "upload_time": "2017-02-18T20:30:50", "url": "https://files.pythonhosted.org/packages/58/6a/1527d65b1e33c02ae5f7f763b1d98bb1e11f0f0c3e36c5b3e590c270cc4d/swag-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a737e8d5662fb744f2a1ebfeab47fac8", "sha256": "2bbd08e8963a64913664038c9d2d8970aeb6f850a5ffeff42e44dbcdc3cc80ad" }, "downloads": -1, "filename": "swag-1.0.0.tar.gz", "has_sig": false, "md5_digest": "a737e8d5662fb744f2a1ebfeab47fac8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4434, "upload_time": "2017-02-18T20:30:52", "url": "https://files.pythonhosted.org/packages/de/ef/1a63beae0547ca9eef4cc18235da4b9aee41b8f16a1fa1fc8b09ebb01124/swag-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "3881d99edcc7244b1540e1d33b222fb2", "sha256": "08f8a66295b23cc0648d38daea8d8d79e53401755a6352255a25a5ea7ed77c07" }, "downloads": -1, "filename": "swag-1.1.0.tar.gz", "has_sig": false, "md5_digest": "3881d99edcc7244b1540e1d33b222fb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16965, "upload_time": "2017-02-18T21:25:02", "url": "https://files.pythonhosted.org/packages/68/ce/3ce6692694e031341a0eafcda9f3aaf26fc46c8c921216591424a897bc5c/swag-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "0ed5c69abaa32faeffbf5aed2547048c", "sha256": "a81b62bb57b41d4c070841d634266224d42eda0513466b886ee152c8acf8f712" }, "downloads": -1, "filename": "swag-1.2.0.tar.gz", "has_sig": false, "md5_digest": "0ed5c69abaa32faeffbf5aed2547048c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17080, "upload_time": "2017-09-17T20:49:13", "url": "https://files.pythonhosted.org/packages/f5/24/f2fd556d33a8ab6bd1a1b9dad92fc958fd6c5a50da5809d38264e4e6741f/swag-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "71a357a48a27df6163f0f369565ea9ca", "sha256": "6ef8fd10e1b372e101c84b7ee4738d0baf15e007e888ce0c56c17daa04c70918" }, "downloads": -1, "filename": "swag-1.2.1.tar.gz", "has_sig": false, "md5_digest": "71a357a48a27df6163f0f369565ea9ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17075, "upload_time": "2017-09-17T20:52:53", "url": "https://files.pythonhosted.org/packages/f8/b8/5844729a0b33aefee677fd83a954711b336b720758d93f403e4fe0ca7389/swag-1.2.1.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "8bfbdd9a7d2d5afb1bac65c3bb5eb763", "sha256": "d170b30ef936dea7a055838f8a50a603ac56bfabcbfaa8228e296184d000b989" }, "downloads": -1, "filename": "swag-1.3.0.tar.gz", "has_sig": false, "md5_digest": "8bfbdd9a7d2d5afb1bac65c3bb5eb763", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17083, "upload_time": "2017-09-17T20:55:17", "url": "https://files.pythonhosted.org/packages/87/68/745bc4595e380fbfafd877154d94471b4b25637d82c6623234792d30ea73/swag-1.3.0.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "4bcabebc1554b6f07116b1fbe35f903e", "sha256": "fbe844e0c4c872f73341c2bae4eb5a310a7b4f7d1a416069a5414e933400e48e" }, "downloads": -1, "filename": "swag-1.4.0.tar.gz", "has_sig": false, "md5_digest": "4bcabebc1554b6f07116b1fbe35f903e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17604, "upload_time": "2017-09-17T22:45:57", "url": "https://files.pythonhosted.org/packages/3c/47/c10f647a57b91c6b68dfcb6a064e7d08ea498eb730ef48804f56785e1ffb/swag-1.4.0.tar.gz" } ], "1.4.1": [ { "comment_text": "", "digests": { "md5": "c715dc35eafc568cf1bdfc335d418540", "sha256": "120b3a999c09f2808ba0c029dcfe833277129854f4b64ac501b4fed9eb351b8f" }, "downloads": -1, "filename": "swag-1.4.1.tar.gz", "has_sig": false, "md5_digest": "c715dc35eafc568cf1bdfc335d418540", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17582, "upload_time": "2017-09-17T22:54:16", "url": "https://files.pythonhosted.org/packages/f6/fe/1740ac4918c6866c619caca3d6d99728c80083270ce8fa9fe7c9cde8a3f2/swag-1.4.1.tar.gz" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "8cf191846117669dc8b1722ad7faf6d4", "sha256": "778079fa0eac88ef9f3805fed7a7d613c8574c9ce8f8421825f6709125e709ad" }, "downloads": -1, "filename": "swag-1.5.0.tar.gz", "has_sig": false, "md5_digest": "8cf191846117669dc8b1722ad7faf6d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17546, "upload_time": "2017-09-17T23:11:44", "url": "https://files.pythonhosted.org/packages/2a/8b/b34ab1382dd3073831b47e9f31b11e0b07b77e7b86e03f0022302ce5ecee/swag-1.5.0.tar.gz" } ], "1.5.1": [ { "comment_text": "", "digests": { "md5": "77d5b09764cbf50656f6252f13926e73", "sha256": "4f668dcde88ba1391a3cad32f4cfbae908871ecf72e04055c4a868db35c423c7" }, "downloads": -1, "filename": "swag-1.5.1.tar.gz", "has_sig": false, "md5_digest": "77d5b09764cbf50656f6252f13926e73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17551, "upload_time": "2017-09-18T17:58:19", "url": "https://files.pythonhosted.org/packages/a7/0a/0e1fd4cde64db73552935ab1420cce61b248caef84bc9f8c0e9b5114e85f/swag-1.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "77d5b09764cbf50656f6252f13926e73", "sha256": "4f668dcde88ba1391a3cad32f4cfbae908871ecf72e04055c4a868db35c423c7" }, "downloads": -1, "filename": "swag-1.5.1.tar.gz", "has_sig": false, "md5_digest": "77d5b09764cbf50656f6252f13926e73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17551, "upload_time": "2017-09-18T17:58:19", "url": "https://files.pythonhosted.org/packages/a7/0a/0e1fd4cde64db73552935ab1420cce61b248caef84bc9f8c0e9b5114e85f/swag-1.5.1.tar.gz" } ] }