{ "info": { "author": "Jo\u00e3o Bernardo Oliveira", "author_email": "jbvsmo@example.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Code Generators", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Silence chosen exceptions.\n\nAuthor: Jo\u00e3o Bernardo Oliveira - @jbvsmo\n\nReplacement for the idiom:\n \n>>> try:\n... may_raise_exception()\n... except Exception:\n... pass\n\nJust write:\n\n>>> with stfu:\n... may_raise_exception()\n\n>>> with stfu(TypeError, ValueError):\n... may_raise_exception()\n\n\nTo catch *everything* (even KeyboardInterrup and StopIteration):\n\n>>> with stfu_all:\n... may_raise_any_exception()\n\n\n\"Errors should never pass silently.\n Unless explicitly silenced.\" :)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "stfu,exception,silence", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "stfu", "package_url": "https://pypi.org/project/stfu/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/stfu/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/stfu/1.2/", "requires_dist": null, "requires_python": null, "summary": "STFU those exceptions (explicitly)", "version": "1.2" }, "last_serial": 722677, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "a20f689b317580c60009d82fd3894067", "sha256": "27b9660ca567cff30f97f486590d4711c63858e370de6173e34abcdea14ad02f" }, "downloads": -1, "filename": "stfu-1.1.tar.gz", "has_sig": false, "md5_digest": "a20f689b317580c60009d82fd3894067", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1317, "upload_time": "2013-02-24T20:00:58", "url": "https://files.pythonhosted.org/packages/20/2d/8c65a4ddbf155a45df9e3a35e97bbabb0ee1dccbd359e2cd30024d31af30/stfu-1.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "647943fcb397e748a6b7b3a4fa6602c4", "sha256": "21fe8fa7c3d8e600f96a89a59136d9d3a71a498fb60e10c00d91b0361ed13650" }, "downloads": -1, "filename": "stfu-1.1.zip", "has_sig": false, "md5_digest": "647943fcb397e748a6b7b3a4fa6602c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1915, "upload_time": "2013-02-24T20:01:03", "url": "https://files.pythonhosted.org/packages/3d/4a/dbf91e8251a48472911a5c09510573e0eeba482b22f27d935d1a27b5b573/stfu-1.1.zip" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "85734db6e5d3a7fdf8fbae4667e9e7fb", "sha256": "c967348a8e11874bfa4d701116681d4a895c595838cb2f888624365f5d04ab2a" }, "downloads": -1, "filename": "stfu-1.2.tar.gz", "has_sig": false, "md5_digest": "85734db6e5d3a7fdf8fbae4667e9e7fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1336, "upload_time": "2013-03-15T08:46:20", "url": "https://files.pythonhosted.org/packages/06/5f/3336c217ac225069e05f12900eaac8a943cd50b3d7a08807de27e09bda57/stfu-1.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "4f3cfaf26cf4ca243ff2444c9765cc32", "sha256": "8ff0aeb44bd2eaff3e4f3698e6e952002b95538f11c42c40b60a4a3f8c9735b6" }, "downloads": -1, "filename": "stfu-1.2.zip", "has_sig": false, "md5_digest": "4f3cfaf26cf4ca243ff2444c9765cc32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1911, "upload_time": "2013-03-15T08:46:24", "url": "https://files.pythonhosted.org/packages/ab/7a/803353975d0a8db7e9bfb8caec675804aa6faeaa00b310894b088b3c476f/stfu-1.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "85734db6e5d3a7fdf8fbae4667e9e7fb", "sha256": "c967348a8e11874bfa4d701116681d4a895c595838cb2f888624365f5d04ab2a" }, "downloads": -1, "filename": "stfu-1.2.tar.gz", "has_sig": false, "md5_digest": "85734db6e5d3a7fdf8fbae4667e9e7fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1336, "upload_time": "2013-03-15T08:46:20", "url": "https://files.pythonhosted.org/packages/06/5f/3336c217ac225069e05f12900eaac8a943cd50b3d7a08807de27e09bda57/stfu-1.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "4f3cfaf26cf4ca243ff2444c9765cc32", "sha256": "8ff0aeb44bd2eaff3e4f3698e6e952002b95538f11c42c40b60a4a3f8c9735b6" }, "downloads": -1, "filename": "stfu-1.2.zip", "has_sig": false, "md5_digest": "4f3cfaf26cf4ca243ff2444c9765cc32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1911, "upload_time": "2013-03-15T08:46:24", "url": "https://files.pythonhosted.org/packages/ab/7a/803353975d0a8db7e9bfb8caec675804aa6faeaa00b310894b088b3c476f/stfu-1.2.zip" } ] }