{ "info": { "author": "Kale Kundert", "author_email": "kale@thekunderts.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries" ], "description": "``debugtools`` --- Easily print useful debugging information\n============================================================\nThis package provides a handful of functions you can use to print debugging \ninformation. There are basically two things that are useful about these \nfunctions. First, they're only one or two letters each, so you can type them \nreally quickly while debugging. Second, they append the name of the calling \nfunction to whatever you're printing, so you can easily see where each message \ncame from (and you don't have to hunt down print statements once you finish \ndebugging).\n\n.. image:: https://img.shields.io/pypi/v/debugtools.svg\n :target: https://pypi.python.org/pypi/debugtools\n\n.. image:: https://img.shields.io/pypi/pyversions/debugtools.svg\n :target: https://pypi.python.org/pypi/debugtools\n\n.. image:: https://img.shields.io/travis/kalekundert/debugtools.svg\n :target: https://travis-ci.org/kalekundert/debugtools\n\n.. image:: https://img.shields.io/coveralls/kalekundert/debugtools.svg\n :target: https://coveralls.io/github/kalekundert/debugtools?branch=master\n\nInstallation\n============\nYou can install ``debugtools`` using ``pip``::\n\n $ pip install debugtools\n\nUsage\n=====\nI typically the following import at the beginning of any file that I'm likely \nto debug:\n\n.. code:: python\n\n from debugtools import p, pp, pv\n\nThe ``p()`` function behaves just like ``print()``, except it appends the name \nof the calling function to whatever you're printing. I often use it with no \narguments, just to see if a function is being called or not.\n\nThe ``pp()`` function is to ``pprint.pprint()`` as ``p()`` is to ``print()``. \nThe ``pv()`` function calls ``pp()`` with the dictionary of variables in the \ncalling scope, so it's a good way to see what variables are defined in the \nfunction you're debugging.\n\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/kalekundert/debugtools", "keywords": "debugtools", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "debugtools", "package_url": "https://pypi.org/project/debugtools/", "platform": "", "project_url": "https://pypi.org/project/debugtools/", "project_urls": { "Homepage": "https://github.com/kalekundert/debugtools" }, "release_url": "https://pypi.org/project/debugtools/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.2.0" }, "last_serial": 2647805, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a2db141460ce073bf52517c9649b50b3", "sha256": "4080671dfd67788e437bf1be0e9fa3dc8e20cb8935858e8f5b142629945a52a8" }, "downloads": -1, "filename": "debugtools-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a2db141460ce073bf52517c9649b50b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7168, "upload_time": "2017-02-13T16:37:57", "url": "https://files.pythonhosted.org/packages/ac/41/c0ff3f12e39124b0e8e558ad36dcc33dc3d200e37af6dd696eaaf7519209/debugtools-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "461f31be939ba606807edebc45ff5aa7", "sha256": "f8bed30c8e80d0d0da5af8745da07502692c36604e039ba93b25f560eb7cf5d9" }, "downloads": -1, "filename": "debugtools-0.2.0.tar.gz", "has_sig": false, "md5_digest": "461f31be939ba606807edebc45ff5aa7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8526, "upload_time": "2017-02-16T19:45:58", "url": "https://files.pythonhosted.org/packages/ee/0c/0eb19bc45247f9a9ea09f47a8741ef9af67890090f6a13051d161caeef1d/debugtools-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "461f31be939ba606807edebc45ff5aa7", "sha256": "f8bed30c8e80d0d0da5af8745da07502692c36604e039ba93b25f560eb7cf5d9" }, "downloads": -1, "filename": "debugtools-0.2.0.tar.gz", "has_sig": false, "md5_digest": "461f31be939ba606807edebc45ff5aa7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8526, "upload_time": "2017-02-16T19:45:58", "url": "https://files.pythonhosted.org/packages/ee/0c/0eb19bc45247f9a9ea09f47a8741ef9af67890090f6a13051d161caeef1d/debugtools-0.2.0.tar.gz" } ] }