{ "info": { "author": "Duroktar", "author_email": "duroktar@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: Games/Entertainment :: Fortune Cookies", "Topic :: Software Development", "Topic :: Software Development :: Debuggers" ], "description": "CatsAss\n=======\n\n.. image:: https://img.shields.io/pypi/v/CatsAss.svg\n :target: https://pypi.python.org/pypi/CatsAss\n\nSeriously the cats ass. Seriously.\n\n*Now with Colors!*\n\n.. image:: https://github.com/Duroktar/CatsAss/blob/master/images/CatsAss_colorz.png?raw=true\n\nWTF is it?\n==========\n\nCatsAss is the cats ass for sneaking cats into your daily workflow. the_cats_ass() introspects\nthe function you call it from and returns the local variables PrettyPrinted with a Cat! Not\nonly is the data PrettyPrinted, but you can also add syntax highlighting or create your own custom\nKittyPrinter classes!\n\n\n**So instead of this kinda stuff..**\n\n.. code-block:: python\n\n def cat_tail_shape_determiner_function(n):\n a, b = 0, 1\n rv = [a]\n while a < n:\n print('a:', a)\n print('b:', b)\n print('rv:', rv)\n a, b = a + b, b\n rv.append(a)\n return rv\n\n\n**Do this.**\n\n.. code-block:: python\n\n from catsass import the_cats_ass\n\n def cat_tail_shape_determiner_function(n):\n a, b = 0, 1\n rv = [a]\n while a < n:\n print( the_cats_ass() )\n a, b = a + b, b\n rv.append(a)\n return rv\n\n----\n\n.. image:: https://github.com/Duroktar/CatsAss/blob/master/images/CatsAss_demo.png?raw=true\n\n**It's the cats ass!!**\n\n\nColorz!\n-------\n\n*Requires: pygments and crayons packages*\n\n pip install pygments crayons\n\nJust swap out the_cats_ass() with the color cat of your choice!\n\n.. code-block:: python\n\n from catsass import tuxedo_cat\n\n def TuxedoCat(n):\n its = [\n \"The \",\n \" cats \",\n \" ass.. \",\n \"Seriously.\"\n ]\n print( tuxedo_cat() ) # See list below for more cats\n\n\n\n.. image:: https://github.com/Duroktar/CatsAss/blob/master/images/CatsAss_colorz_dark.png?raw=true\n\nAvailable colored cats - `calico_cat`, `tuxedo_cat`\n\n- *Minimum terminal width of 80 characters recommended*\n- MIT_ licensed\n\n.. _MIT: https://en.wikipedia.org/wiki/MIT_License\n\n\nInstallation\n============\n\n**Requires python 3.6**\n\nTo install CatsAss, run this command in your terminal:\n\n.. code-block:: console\n\n $ pip install CatsAss\n\n\nTo enable **Color** mode, install pygments_ and crayons_ as well:\n\n.. _pygments: http://pygments.org/\n.. _crayons: https://github.com/kennethreitz/crayons\n\n.. code-block:: console\n\n $ pip install pygments crayons\n\n\nIf you don't have `pip`_ installed, this `Python installation guide`_ can guide\nyou through the process.\n\n.. _pip: https://pip.pypa.io\n.. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/\n\n\nCustomization\n-------------\n\nThe `catsass.PrettyKitty` class can be used directly to produce your own\ncolor combinations or custom titles. In the next release you will be able\nto add your own ascii-art and coloring schemes yourself, for now we can\nonly modify arguments. Here's what's available..\n\n- **colors**: set True to activate colorz\n- **coat**: 'calico_colorz' or 'tuxedo_colors'\n- **logo_colorz**: 'logo_colorz' or 'dark_logo_colorz'\n- **title**: Can be set to any string. defaults to \"Meowed with love by Duroktar, 2017\"\n\n- **ctx**: when used with the_cats_ass this is filled in with the name of the calling function. But any hashable object works.\n- **data**: the actual data you wish to be pretty-printed.\n\nExample:\n\n.. code-block:: python\n\n from catsass import PrettyKitty\n\n data = {*zip('abcde', range(5))}\n\n print(PrettyKitty(\"Magic!\", data, colors=True, coat='tuxedo_colorz',\n logo_colorz='dark_logo_colorz', title=\"Dude, where's my car?\"))\n\n\nBugs\n----\n\nCatsAss works by inspecting the stack frames, which isn't always\nthe right context. In this case it isn't really the cats ass\nanymore.. Luckily you can poke the cat in different places\nuntil you get the context you want.\n\n.. code-block:: python\n\n from catsass import the_cats_ass, comb, Cats\n\n\n def long_cat_tail():\n def cat_tail_shape_determiner_function(n):\n a, b = 0, 1\n rv = [a]\n while a < n:\n print( poke_the_cat(Cats.TAIL, catnip=True) )\n a, b = a + b, b\n rv.append(a)\n return rv\n return cat_tail_shape_determiner_function(100)\n\n\nIssues\n------\n\nDeep personal ones, yes.\n\nCoding\n------\n\nDuroktar - duroktar@gmail.com\n\n\nLegal\n-----\n\n- The CatsAss logo was created with the help of this great site -\n http://patorjk.com/software/taag/#p=display&f=Graffiti&t=CatsAss\n\n- The ascii-OCTOCAT was taken from https://github.com/audy/catsay, MIT.\n\n- The OCTOCAT design is the exclusive property of GitHub. All rights reserved.\n\n----\n\n*This package was originally created with* PyRelease_ *package maker.* 2017\n\n.. _PyRelease: https://github.com/pyrelease/pyrelease\n\n", "description_content_type": null, "docs_url": "https://pythonhosted.org/CatsAss/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Duroktar/CatsAss", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "CatsAss", "package_url": "https://pypi.org/project/CatsAss/", "platform": "", "project_url": "https://pypi.org/project/CatsAss/", "project_urls": { "Homepage": "https://github.com/Duroktar/CatsAss" }, "release_url": "https://pypi.org/project/CatsAss/1.1.3/", "requires_dist": null, "requires_python": "", "summary": "Seriously the cats ass. Seriously.", "version": "1.1.3" }, "last_serial": 2839615, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "f79d6e0cc1e074a2c8d51ace3011d527", "sha256": "6f1cb9e76036ed792b63553f42d0b6af39b5505d3882a2ade0621e0a32c1c05e" }, "downloads": -1, "filename": "CatsAss-1.0.0-py36-none-any.whl", "has_sig": false, "md5_digest": "f79d6e0cc1e074a2c8d51ace3011d527", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": null, "size": 8377, "upload_time": "2017-04-21T23:08:54", "url": "https://files.pythonhosted.org/packages/34/0e/5c1a7ce81831fdcaaa61224c89755e9f72312b95f6ec3f9165d8449ccc6d/CatsAss-1.0.0-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94e16a76889fc71322dd62ddd7bf5513", "sha256": "46164eafcdf36ca6b18c72192199e08f004d3fb43c9adabaa9448d7a18022d29" }, "downloads": -1, "filename": "CatsAss-1.0.0.tar.gz", "has_sig": false, "md5_digest": "94e16a76889fc71322dd62ddd7bf5513", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6744, "upload_time": "2017-04-21T23:08:55", "url": "https://files.pythonhosted.org/packages/6b/7a/8c2d2d683a0e92f808432acaa632fc15b13935b2977cd3e58cef0020ee7b/CatsAss-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "0e5256a4104352d19b1853b69a9716fd", "sha256": "7d9ddbd9987ba75136d7cfc7fb163664072e8bad7b0cc98e26eb2a21e9002b60" }, "downloads": -1, "filename": "CatsAss-1.1.0-py36-none-any.whl", "has_sig": false, "md5_digest": "0e5256a4104352d19b1853b69a9716fd", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": null, "size": 11555, "upload_time": "2017-04-28T22:29:24", "url": "https://files.pythonhosted.org/packages/ef/77/034d92b3216070259eb75e75e8dd818f33d34a1aec50c7b371608f2a6aa6/CatsAss-1.1.0-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a23adffd9e89a7a5e68c422a31e27f1e", "sha256": "32803e41317d6cb583d824c655026f5c164672e93399ae12e97972e083d577d2" }, "downloads": -1, "filename": "CatsAss-1.1.0.tar.gz", "has_sig": false, "md5_digest": "a23adffd9e89a7a5e68c422a31e27f1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9091, "upload_time": "2017-04-28T22:29:25", "url": "https://files.pythonhosted.org/packages/03/ac/6d420c72049828eaf6df332012d7dc30d06a7985a7a754e7617c9c27f307/CatsAss-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "614b20ac125667561a801a576a4a81cb", "sha256": "d249c8a2d706dbc15e389c4b01675400b46c8a1c326b70c52292272ac6bbfaba" }, "downloads": -1, "filename": "CatsAss-1.1.1-py36-none-any.whl", "has_sig": false, "md5_digest": "614b20ac125667561a801a576a4a81cb", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": null, "size": 11566, "upload_time": "2017-04-29T01:20:19", "url": "https://files.pythonhosted.org/packages/52/6a/5e817968b74f56a42677a00cb00024821b0a7bb0962cfb18ab7ae3fd5482/CatsAss-1.1.1-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "808f849ed518ebedb719ef9fca52ec58", "sha256": "fb637c1814b9c522da17972cf16813dcb33b739b2453258f1b4301674d36f642" }, "downloads": -1, "filename": "CatsAss-1.1.1.tar.gz", "has_sig": false, "md5_digest": "808f849ed518ebedb719ef9fca52ec58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9077, "upload_time": "2017-04-29T01:20:20", "url": "https://files.pythonhosted.org/packages/c9/26/d3d84bd714b5e285221e4dcdf80eed7ea3e6376c43898f2220401d4103a7/CatsAss-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "94580896fa7f9a5278d0d2a80a3624ab", "sha256": "5ce2c5fb428038a34e7fecdee771293e67e69180d2e198d844fd2b708c20a67f" }, "downloads": -1, "filename": "CatsAss-1.1.2-py36-none-any.whl", "has_sig": false, "md5_digest": "94580896fa7f9a5278d0d2a80a3624ab", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": null, "size": 11668, "upload_time": "2017-04-29T20:57:40", "url": "https://files.pythonhosted.org/packages/14/9d/41d146dc746061b468519af016ae3e7baa95793d22770e33b3bd845048be/CatsAss-1.1.2-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d5884a0a03a1b558cef6a43c6b666086", "sha256": "14a3870426efa9693098e120dca262b43c8d22cc9da74704dfef01595ebaae89" }, "downloads": -1, "filename": "CatsAss-1.1.2.tar.gz", "has_sig": false, "md5_digest": "d5884a0a03a1b558cef6a43c6b666086", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9136, "upload_time": "2017-04-29T20:57:41", "url": "https://files.pythonhosted.org/packages/db/e3/964eb676aa912703e937b9184fa67c3a253a96c0a5d1fed6310c717630f7/CatsAss-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "70c0e586b4a2a6dc571aa824a7e79f9f", "sha256": "1ee4c16b51e8a410a530af387b9f943ed3dbda7532378569efc940bce025d4e9" }, "downloads": -1, "filename": "CatsAss-1.1.3-py36-none-any.whl", "has_sig": false, "md5_digest": "70c0e586b4a2a6dc571aa824a7e79f9f", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": null, "size": 11680, "upload_time": "2017-04-29T21:09:52", "url": "https://files.pythonhosted.org/packages/fe/5c/5fb96dce7d48bf7fad27f6311054aed2aed58eac0632981d729dd50c60b6/CatsAss-1.1.3-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "83ac48f346f7df0ee4da22280018843b", "sha256": "360a645abf67d2f16dd27a380f8b2b3cb6fce6e923f3d72603aea812992f77b3" }, "downloads": -1, "filename": "CatsAss-1.1.3.tar.gz", "has_sig": false, "md5_digest": "83ac48f346f7df0ee4da22280018843b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9148, "upload_time": "2017-04-29T21:09:54", "url": "https://files.pythonhosted.org/packages/73/0f/95ba0abc8c1151c14971cd1b8d1931e3bda3d940f72c9fd38c1fc457b6b3/CatsAss-1.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "70c0e586b4a2a6dc571aa824a7e79f9f", "sha256": "1ee4c16b51e8a410a530af387b9f943ed3dbda7532378569efc940bce025d4e9" }, "downloads": -1, "filename": "CatsAss-1.1.3-py36-none-any.whl", "has_sig": false, "md5_digest": "70c0e586b4a2a6dc571aa824a7e79f9f", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": null, "size": 11680, "upload_time": "2017-04-29T21:09:52", "url": "https://files.pythonhosted.org/packages/fe/5c/5fb96dce7d48bf7fad27f6311054aed2aed58eac0632981d729dd50c60b6/CatsAss-1.1.3-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "83ac48f346f7df0ee4da22280018843b", "sha256": "360a645abf67d2f16dd27a380f8b2b3cb6fce6e923f3d72603aea812992f77b3" }, "downloads": -1, "filename": "CatsAss-1.1.3.tar.gz", "has_sig": false, "md5_digest": "83ac48f346f7df0ee4da22280018843b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9148, "upload_time": "2017-04-29T21:09:54", "url": "https://files.pythonhosted.org/packages/73/0f/95ba0abc8c1151c14971cd1b8d1931e3bda3d940f72c9fd38c1fc457b6b3/CatsAss-1.1.3.tar.gz" } ] }