{ "info": { "author": "Delgan", "author_email": "delgan.py@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "**Note:** *This a fork of the original* ``better_exceptions`` *library.\nThis fork is intended to fix some edge cases I reported (see*\n`#47 `__), *but for\nthis it adds two dependencies to the project. The fixed errors are too\nsmall to justify the addition of dependency to the main library, hence\nthis fork that I publish for personal use.*\n\nbetter-exceptions |Travis|\n==========================\n\nPretty and more helpful exceptions in Python, automatically.\n\n.. image:: https://github.com/Delgan/better-exceptions/raw/master_fork/screenshot.png\n :alt: Example screenshot of exceptions\n\nUsage\n-----\n\nInstall ``better_exceptions`` via pip:\n\n.. code:: console\n\n $ pip install better_exceptions\n\nAnd set the ``BETTER_EXCEPTIONS`` environment variable to any value:\n\n.. code:: bash\n\n export BETTER_EXCEPTIONS=1 # Linux / OSX\n setx BETTER_EXCEPTIONS 1 # Windows\n\nThat's it!\n\nPython REPL (Interactive Shell)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIn order to use ``better_exceptions`` in the Python REPL, first install the\npackage (as instructed above) and run:\n\n.. code:: console\n\n $ python -m better_exceptions\n Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n (BetterExceptionsConsole)\n >>>\n\nin order to drop into a ``better_exceptions``-enabled Python interactive shell.\n\nAdvanced Usage\n~~~~~~~~~~~~~~\n\nIf you want to allow the entirety of values to be outputted instead of\nbeing truncated to a certain amount of characters:\n\n.. code:: python\n\n import better_exceptions\n better_exceptions.MAX_LENGTH = None\n\nWhile using ``better_exceptions`` in production, do not forget to unset\nthe ``BETTER_EXCEPTIONS`` variable to avoid leaking sensitive data in\nyour logs.\n\nTroubleshooting\n---------------\n\nIf you do not see beautiful exceptions, first make sure that the\nenvironment variable does exist. You can try ``echo $BETTER_EXCEPTIONS``\n(Linux / OSX) or ``echo %BETTER_EXCEPTIONS%`` (Windows). On Linux and\nOSX, the ``export`` command does not add the variable permanently, you\nwill probably need to edit the ``~/.profile`` file to make it\npersistent. On Windows, you need to open a new terminal after the\n``setx`` command.\n\nCheck that there is no conflict with another library, and that the\n``sys.excepthook`` function has been correctly replaced with the\n``better_exceptions``'s one. Sometimes other components can set up their\nown exception handlers, such as the ``python3-apport`` Ubuntu package\nthat you may need to uninstall.\n\nMake sure that you have not inadvertently deleted the\n``better_exceptions_hook.pth`` file that should be in the same place as\nthe ``better_exceptions`` folder where all of your Python packages are\ninstalled. Otherwise, try re-installing ``better_exceptions``.\n\nYou can also try to manually activate the hook by adding\n``import better_exceptions; better_exceptions.hook()`` at the beginning\nof your script.\n\nFinally, if you still can not get this module to work, `open a new\nissue `__ by\ndescribing your problem precisely and detailing your configuration\n(Python and ``better_exceptions`` versions, OS, code snippet,\ninterpeter, etc.) so that we can reproduce the bug you are experiencing.\n\nLicense\n=======\n\nCopyright \u00a9 2017, Josh Junon. Licensed under the `MIT\nlicense `__.\n\n.. |Travis| image:: https://img.shields.io/travis/Delgan/better-exceptions.svg?style=flat-square\n :target: https://travis-ci.org/Delgan/better-exceptions", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/delgan/better-exceptions/archive/0.2.1.post6.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/delgan/better-exceptions", "keywords": "pretty,better,exceptions,exception,error,local,debug,debugging,locals", "license": "", "maintainer": "", "maintainer_email": "", "name": "better-exceptions-fork", "package_url": "https://pypi.org/project/better-exceptions-fork/", "platform": "", "project_url": "https://pypi.org/project/better-exceptions-fork/", "project_urls": { "Download": "https://github.com/delgan/better-exceptions/archive/0.2.1.post6.tar.gz", "Homepage": "https://github.com/delgan/better-exceptions" }, "release_url": "https://pypi.org/project/better-exceptions-fork/0.2.1.post6/", "requires_dist": null, "requires_python": "", "summary": "Pretty and helpful exceptions, automatically", "version": "0.2.1.post6" }, "last_serial": 3818458, "releases": { "0.1.8.post1": [ { "comment_text": "", "digests": { "md5": "f118412aba5034c1c56f7f1ca3f2f079", "sha256": "5044eef127a6a086069d01f823663f5ef2038dbfa92387dda452752351b2b5a9" }, "downloads": -1, "filename": "better_exceptions_fork-0.1.8.post1.tar.gz", "has_sig": false, "md5_digest": "f118412aba5034c1c56f7f1ca3f2f079", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18975, "upload_time": "2017-10-08T22:43:41", "url": "https://files.pythonhosted.org/packages/53/bf/04e8226681dda6b9f8f11fe7ad421edef3b29bfe9de03ae1709e6f856a2c/better_exceptions_fork-0.1.8.post1.tar.gz" } ], "0.1.8.post2": [ { "comment_text": "", "digests": { "md5": "0fd863ec0f251895954234f873c5a609", "sha256": "320651d8d198002d311dc8353af7f8b40352e3fc9c32ccd925e4f4b4bba34bed" }, "downloads": -1, "filename": "better_exceptions_fork-0.1.8.post2.tar.gz", "has_sig": false, "md5_digest": "0fd863ec0f251895954234f873c5a609", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18146, "upload_time": "2017-12-03T11:40:12", "url": "https://files.pythonhosted.org/packages/28/29/d51386405515e45c1d95f03e4819e447db762a8d7cb8ce0d2df85cd93274/better_exceptions_fork-0.1.8.post2.tar.gz" } ], "0.1.8.post3": [ { "comment_text": "", "digests": { "md5": "807f48654c9ec57c4ca206d1298af114", "sha256": "5f2a0a7edeca8c3fc5f838af7724af45c3949013a60615378282ce752a55a09f" }, "downloads": -1, "filename": "better_exceptions_fork-0.1.8.post3.tar.gz", "has_sig": false, "md5_digest": "807f48654c9ec57c4ca206d1298af114", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27118, "upload_time": "2018-01-15T17:35:01", "url": "https://files.pythonhosted.org/packages/55/7e/1cacbe185072fb2bcbb5a353610ee01963029834f3d77dcb7276c9e4c8e9/better_exceptions_fork-0.1.8.post3.tar.gz" } ], "0.2.1.post3": [ { "comment_text": "", "digests": { "md5": "df6e03ad92df248fc285673b452614f4", "sha256": "24eeca912c9043bb8249f9ea7fa6305cdbe64eecbe094f8fe8bcc80f6208aa59" }, "downloads": -1, "filename": "better_exceptions_fork-0.2.1.post3.tar.gz", "has_sig": false, "md5_digest": "df6e03ad92df248fc285673b452614f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29054, "upload_time": "2018-01-24T23:12:07", "url": "https://files.pythonhosted.org/packages/ff/bd/bff6cafced8f54dfc1aab0dd7cfc9ae5635e0b0d70e387676dc1248eb60d/better_exceptions_fork-0.2.1.post3.tar.gz" } ], "0.2.1.post4": [ { "comment_text": "", "digests": { "md5": "1df0745b9c9f69cca99ac5ecfc70a22e", "sha256": "a9e09047e1a56cec80b40fe2973428f2d551b64c16b37f7cc2a721bf55c08c86" }, "downloads": -1, "filename": "better_exceptions_fork-0.2.1.post4-py3-none-any.whl", "has_sig": false, "md5_digest": "1df0745b9c9f69cca99ac5ecfc70a22e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 22986, "upload_time": "2018-01-27T14:39:18", "url": "https://files.pythonhosted.org/packages/85/fb/d56c2e9cb245c50ef789bdda18ac2c8d58ec2fade63e592b8f21e8f5f4f8/better_exceptions_fork-0.2.1.post4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e70485487680eaf5bad56fdf5076a1ba", "sha256": "dc1233e3d1b034810ff3ec1f4017fd4ffaaf1575483855c9243e09f289fe4406" }, "downloads": -1, "filename": "better_exceptions_fork-0.2.1.post4.tar.gz", "has_sig": false, "md5_digest": "e70485487680eaf5bad56fdf5076a1ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48417, "upload_time": "2018-01-27T14:39:20", "url": "https://files.pythonhosted.org/packages/d2/eb/b1e39b91090e43e116e1e09bbced12ab0e1af45e04946c60e30c71aee42c/better_exceptions_fork-0.2.1.post4.tar.gz" } ], "0.2.1.post5": [ { "comment_text": "", "digests": { "md5": "2b6792917c4fdf568083caa27e6becf8", "sha256": "5dd047bc0e83e25e45c55501f20dab472fa77afe2451bede30041ecd40236dae" }, "downloads": -1, "filename": "better_exceptions_fork-0.2.1.post5.tar.gz", "has_sig": false, "md5_digest": "2b6792917c4fdf568083caa27e6becf8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48191, "upload_time": "2018-03-25T20:52:38", "url": "https://files.pythonhosted.org/packages/c9/91/4a24756517bff0da96e0469e0efad97fba59443230ae7281a039b3cd6c86/better_exceptions_fork-0.2.1.post5.tar.gz" } ], "0.2.1.post6": [ { "comment_text": "", "digests": { "md5": "295560638edf376b9a27dc4de7d501a8", "sha256": "5f0983da51e956dbdaf8b9a3d10e2774b382ce6c6ff2e54685c33e2dbe8f1472" }, "downloads": -1, "filename": "better_exceptions_fork-0.2.1.post6.tar.gz", "has_sig": false, "md5_digest": "295560638edf376b9a27dc4de7d501a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49834, "upload_time": "2018-04-29T10:40:09", "url": "https://files.pythonhosted.org/packages/55/7b/eaa2e2876ea80169adfb7304339b4d735c1d445efc5402da39cd918a6d45/better_exceptions_fork-0.2.1.post6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "295560638edf376b9a27dc4de7d501a8", "sha256": "5f0983da51e956dbdaf8b9a3d10e2774b382ce6c6ff2e54685c33e2dbe8f1472" }, "downloads": -1, "filename": "better_exceptions_fork-0.2.1.post6.tar.gz", "has_sig": false, "md5_digest": "295560638edf376b9a27dc4de7d501a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49834, "upload_time": "2018-04-29T10:40:09", "url": "https://files.pythonhosted.org/packages/55/7b/eaa2e2876ea80169adfb7304339b4d735c1d445efc5402da39cd918a6d45/better_exceptions_fork-0.2.1.post6.tar.gz" } ] }