{ "info": { "author": "Peter Goldsborough", "author_email": "petergoldsborough@hotmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development" ], "description": "*******\nEcstasy \n*******\n\n.. image:: https://travis-ci.org/goldsborough/ecstasy.svg?branch=master\n\t:target: https://travis-ci.org/goldsborough/ecstasy\n\n.. image:: https://img.shields.io/github/license/mashape/apistatus.svg\n\t:target: http://goldsborough.mit-license.org\n\n.. image:: https://badge.fury.io/py/ecstasy.svg\n\t:target: http://badge.fury.io/py/ecstasy\n\n.. image:: https://coveralls.io/repos/goldsborough/ecstasy/badge.svg?branch=master&service=github\n\t:target: https://coveralls.io/github/goldsborough/ecstasy?branch=master\n\n.. image:: https://landscape.io/github/goldsborough/ecstasy/master/landscape.svg?style=flat\n\t:target: https://landscape.io/github/goldsborough/ecstasy/master\n\n.. image:: https://codeclimate.com/github/goldsborough/ecstasy/badges/gpa.svg\n\t:target: https://codeclimate.com/github/goldsborough/ecstasy\n\n.. image:: http://img.shields.io/gratipay/goldsborough.svg\n\t:target: https://gratipay.com/~goldsborough/\n\n\\\n\nEcstasy is here to make your command-line tool beautiful and fancy.\n\n**Your command-line tool's output without ecstasy:**\n\n.. image:: https://raw.githubusercontent.com/goldsborough/ecstasy/master/docs/img/without.png\n\n\\\n\n**Your command-line tool's output with (on?) ecstasy:**\n\n.. image:: https://raw.githubusercontent.com/goldsborough/ecstasy/master/docs/img/with.gif\n\nUsage\n=====\n\nTo use ecstasy, you mark up a standard Python string using ecstasy's special syntax, chose some sassy styling and formatting flags, pass them on to the package-level beautify() method and, in return, get your beautified string, ready to kick ass when printed to your command-line:\n\n.. code-block:: python\n\n\timport ecstasy\n\n\t# <...> is a normal phrase, its style is determined by its position\n\t# <(x)...> is a phrase with an argument, its style is the one at index 'x'\n\t# <<...> <...>> is a phrase with nested phrases, their styles cascade\n\ttext = \" are <(0)just> <, furry >!\"\n\n\t# Beautify text by specifying styles via flag combinations\n\ttext = ecstasy.beautify(text,\n\t\t\t\tecstasy.Style.Blink | ecstasy.Color.Red,\n\t\t\t\tecstasy.Style.Bold | ecstasy.Fill.Blue,\n\t\t\t\tecstasy.Color.Magenta | ecstasy.Style.Underline,\n\t\t\t\tsmall=ecstasy.Style.Invert | ecstasy.Color.White)\n\n\t# Keyword arguments (small=...) cause all phrases matching the string of\n\t# the key to have the style specified by the keyword argument's value.\n\n\tprint(text)\n\nRunning this in a script from a command-line outputs:\n\n.. image:: https://raw.githubusercontent.com/goldsborough/ecstasy/master/docs/img/usage.gif\n\nInstallation\n============\n\nNow that you're convinced, you can install ecstasy with pip:\n\n::\n\n\t$ pip install ecstasy\n\n... and get crackin'.\n\n`Documentation `_\n============================================================\n\nFull documentation and usage descriptions specifying all possible options and possibilities of how you can beautify your strings with *ecstasy* can be found `here `_.\n\nCompatibility\n=============\n\nPython Versions\n---------------\n\nBuilt with Python 3.4 and Python 2.7. Additionally successfully backported to and tested with Python 2.6, 3.2 and also 3.3. See what `Travis `_ has to say about it.\n\nTerminal Support\n----------------\n\nWorks out of the box with your Mac's terminal. For more information, please enjoy this table:\n\n========== ==== === ========== ===== ====== ====== =====\nTerminal Bold Dim Underlined Blink Invert Hidden Color\n========== ==== === ========== ===== ====== ====== =====\naTerm \u2713 X \u2713 X \u2713 X \u2713\nEterm (\\1) X \u2713 X \u2713 X \u2713\nGNOME \u2713 \u2713 \u2713 X \u2713 \u2713 \u2713\nGuake \u2713 \u2713 \u2713 X \u2713 \u2713 \u2713\nKonsole \u2713 X \u2713 \u2713 \u2713 X \u2713\nNautilus \u2713 \u2713 \u2713 X \u2713 \u2713 \u2713\nrxvt \u2713 X \u2713 (\\2) \u2713 X \u2713\nTerminator \u2713 \u2713 \u2713 X \u2713 \u2713 \u2713\nTilda \u2713 X \u2713 X \u2713 X \u2713\nXFCE4 \u2713 \u2713 \u2713 X \u2713 \u2713 \u2713\nXTerm \u2713 X \u2713 \u2713 \u2713 \u2713 \u2713\nxvt \u2713 X \u2713 X \u2713 X X\nLinux TTY \u2713 X X X \u2713 X \u2713\nVTE \u2713 \u2713 \u2713 X \u2713 \u2713 \u2713\n========== ==== === ========== ===== ====== ====== =====\n\n\\\n\n(\\1) Lighter colors instead of bold.\n\n(\\2) Lighter colors instead of blink.\n\n`License `_\n================================================\n\nEcstasy is released under the `MIT license `_.\n\nAuthors\n=======\n\nPeter Goldsborough & `cat `_ :heart:\n\n\n.. image:: https://badges.gitter.im/Join%20Chat.svg\n :alt: Join the chat at https://gitter.im/goldsborough/ecstasy\n :target: https://gitter.im/goldsborough/ecstasy?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge", "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/goldsborough/ecstasy", "keywords": "command-line tools formatting styling beautifier markup", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "ecstasy", "package_url": "https://pypi.org/project/ecstasy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ecstasy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/goldsborough/ecstasy" }, "release_url": "https://pypi.org/project/ecstasy/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "A command-line-tool beautifier.", "version": "0.1.3" }, "last_serial": 1679041, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e07adfcf8745e8687b3d819212435e42", "sha256": "a12b8aba5ebcc8b2090ca62c62ca87b28b7efde687b3ec8afa5a4fdc9cc37c37" }, "downloads": -1, "filename": "ecstasy-0.1-py2.7.egg", "has_sig": false, "md5_digest": "e07adfcf8745e8687b3d819212435e42", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 34322, "upload_time": "2015-08-07T22:51:22", "url": "https://files.pythonhosted.org/packages/32/94/9950aa23d1f6facaae9a0f8415d5b8cc4e00f7961f8b41b5a85710708e1a/ecstasy-0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "b5c3cbc991cc634b83b55241e0e4ecf7", "sha256": "605f53be1ffb88cb0d5e79c7632a0f2af6a14511b1dc3c99cb0d81358de988f2" }, "downloads": -1, "filename": "ecstasy-0.1-py3.4.egg", "has_sig": false, "md5_digest": "b5c3cbc991cc634b83b55241e0e4ecf7", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 35278, "upload_time": "2015-08-07T22:51:25", "url": "https://files.pythonhosted.org/packages/e3/c6/a60742b43a4a153a0920b64a060bad2aaf622ea89e22f51798c2cdc649ed/ecstasy-0.1-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "fba63b45d3503b4b9b6c244fa8181a12", "sha256": "6478e01a7d2f08e984bd1e76b0b1beb103dd6376507b96da00334f7e770720c1" }, "downloads": -1, "filename": "ecstasy-0.1.tar.gz", "has_sig": false, "md5_digest": "fba63b45d3503b4b9b6c244fa8181a12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14679, "upload_time": "2015-08-07T22:51:30", "url": "https://files.pythonhosted.org/packages/58/f1/4b92d2bcc5364cdd8a94ff7dbb114a613c013c23deb750542e5c4c515045/ecstasy-0.1.tar.gz" } ], "0.1.0": [], "0.1.1": [], "0.1.2": [], "0.1.3": [ { "comment_text": "", "digests": { "md5": "e43dea3fa18f69e3d41fea919964d4f8", "sha256": "216dda6e5bd33fd6dc3962f6e60894010300ad19764f59f0036bace044115b31" }, "downloads": -1, "filename": "ecstasy-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e43dea3fa18f69e3d41fea919964d4f8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19030, "upload_time": "2015-08-09T00:31:39", "url": "https://files.pythonhosted.org/packages/28/ba/bc2a56f1322218489d18d5d0e1c1d91cdfaf65ca60e31cfe10b83d5d845b/ecstasy-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e459d7e017b6c8a94e078b6fe55bf4f5", "sha256": "3c535dc6a2b3500114a4e6f44f8e33f0c7e1296444f080ed1c26c4a8dc16bd06" }, "downloads": -1, "filename": "ecstasy-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e459d7e017b6c8a94e078b6fe55bf4f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15446, "upload_time": "2015-08-09T00:31:42", "url": "https://files.pythonhosted.org/packages/b4/73/467c727fd071c85e77052ab3d964afab4fa28b0dd86eb162affe299f8c89/ecstasy-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e43dea3fa18f69e3d41fea919964d4f8", "sha256": "216dda6e5bd33fd6dc3962f6e60894010300ad19764f59f0036bace044115b31" }, "downloads": -1, "filename": "ecstasy-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e43dea3fa18f69e3d41fea919964d4f8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19030, "upload_time": "2015-08-09T00:31:39", "url": "https://files.pythonhosted.org/packages/28/ba/bc2a56f1322218489d18d5d0e1c1d91cdfaf65ca60e31cfe10b83d5d845b/ecstasy-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e459d7e017b6c8a94e078b6fe55bf4f5", "sha256": "3c535dc6a2b3500114a4e6f44f8e33f0c7e1296444f080ed1c26c4a8dc16bd06" }, "downloads": -1, "filename": "ecstasy-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e459d7e017b6c8a94e078b6fe55bf4f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15446, "upload_time": "2015-08-09T00:31:42", "url": "https://files.pythonhosted.org/packages/b4/73/467c727fd071c85e77052ab3d964afab4fa28b0dd86eb162affe299f8c89/ecstasy-0.1.3.tar.gz" } ] }