{ "info": { "author": "Kenneth Reitz", "author_email": "me@kennethreitz.com", "bugtrack_url": null, "classifiers": [], "description": "ShowMe -- Quick and easy debugging for Python\n=============================================\n\nShowMe is a simple set of extremely useful function decorators for Python.\nIt allows you to view trace information, execution time, cputime, and function\ndocumentation.\n\n\nInstallation\n------------\n\nTo use **showme**, simply:\n\n``pip install showme``\n\nor, if you must:\n\n``easy_install showme``\n\n\nUsage\n-----\n\nPrint passed-in arguments and function calls. ::\n\n\t@showme.trace\n\tdef complex_function(a, b, c, **kwargs):\n\t\n\t\n\t>>> complex_function('alpha', 'beta', False, debug=True)\n\tcalling haystack.submodule.complex_function() with \n\t args: ({'a': 'alpha', 'b': 'beta', 'c': False},)\n\t kwargs: {'debug': True}\n\n\t\nPrint function execution time. ::\n\n @showme.cputime\n def complex_function(a, b, c):\n \n >>> complex_function()\n 3 function calls in 0.013 CPU seconds\n\t\t\n ncalls tottime percall cumtime percall filename:lineno(function)\n 1 0.013 0.013 0.013 0.013 test_time.py:6(test)\n 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}\n 1 0.000 0.000 0.000 0.000 {range}\n\n\n.. Print local variables available at runtime. ::\n.. \t\n.. \t@showme.locals\n.. \tdef complex_function(a, b, c):\n\n\n\nPretty print function documentation. ::\n\t\n\t@showme.docs\n\tdef complex_function():\n\t\t\"\"\"Example Documentation for complex_function\"\"\"\n\t\tpass\n\t\t\n\t>>> complex_function()\n\tExample Documentation for complex_function\n\t\n\n\nHistory\n=======\n\n1.0.0 (2010-09-05)\n------------------\n* Featureset complete\n* Public release of showme to PyPi\n* Cleanup of project (removal of globals/locals)\n\n\n0.0.5 (2010-09-05)\n------------------\n* @showme.time support (simple but big feature)\n* Color output added (via vendorized Colorama)\n\n\n0.0.4 (2010-09-04)\n------------------\n* Epic @showme.trace decorator written\n* @showme.docs support\n\n\n0.0.3 (2010-09-01)\n------------------\n* General configuration in place\n* @showme.cputime support\n* Vendorization of decorator decorator", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/kennethreitz/showme", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "showme", "package_url": "https://pypi.org/project/showme/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/showme/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/kennethreitz/showme" }, "release_url": "https://pypi.org/project/showme/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Painless Debugging and Inspection for Python", "version": "1.0.0" }, "last_serial": 4831236, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "79c6a267945bd623dc1d2fb218fc4d22", "sha256": "4be451b7dce25d28a689e9bfb8d7e72fe8872704a8ec79ac39a8030256c5316d" }, "downloads": -1, "filename": "showme-1.0.0.tar.gz", "has_sig": false, "md5_digest": "79c6a267945bd623dc1d2fb218fc4d22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4391, "upload_time": "2010-09-05T22:08:07", "url": "https://files.pythonhosted.org/packages/ea/c7/bcfc6d0c9ee53fd8937c295ab6ab43f6ae1d24982851f6e08398eac6cc0a/showme-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "79c6a267945bd623dc1d2fb218fc4d22", "sha256": "4be451b7dce25d28a689e9bfb8d7e72fe8872704a8ec79ac39a8030256c5316d" }, "downloads": -1, "filename": "showme-1.0.0.tar.gz", "has_sig": false, "md5_digest": "79c6a267945bd623dc1d2fb218fc4d22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4391, "upload_time": "2010-09-05T22:08:07", "url": "https://files.pythonhosted.org/packages/ea/c7/bcfc6d0c9ee53fd8937c295ab6ab43f6ae1d24982851f6e08398eac6cc0a/showme-1.0.0.tar.gz" } ] }