{ "info": { "author": "Guillaume Gauvrit", "author_email": "guillaume@gauvr.it", "bugtrack_url": null, "classifiers": [ "Framework :: Pyramid", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP" ], "description": "pyramid_filterwarnings\r\n======================\r\n\r\nGetting Started\r\n---------------\r\n\r\nThe aim of this project is to provide a generic way to configure python\r\n`warnings.filterwarnings`_.\r\nPython warnings can be configured via Environment variable, Python interpreter\r\nargument, or directly in the code. This plugin provides to Pyramid application\r\na clean way to configure the warning level via its configuration file.\r\n\r\n\r\nConfiguration\r\n-------------\r\n\r\nSet the pyramid_filterwarnings plugin from in the Pyramid ini file then\r\nconfigure the level.\r\n\r\n::\r\n\r\n pyramid.includes =\r\n pyramid_filterwarnings\r\n ... your other plugins ...\r\n\r\n # configure the warning level, default is ignore\r\n filterwarnings.action = ignore\r\n\r\n.. note::\r\n\r\n You should set the filterwarnings on top of the configuration if you want\r\n to catch plugins warnings. You should also set the level to error for your\r\n developement environment to fix the warning as soon as possible.\r\n\r\n\r\nIt is also possible to set category_, module and message, and do many rules.\r\n\r\n::\r\n\r\n # Other optionals configurations keys\r\n # filterwarnings.category = DeprecationWarning\r\n # filterwarnings.module = pyramid\\..*\r\n\r\n # Add other rules\r\n filterwarnings.1.action = once\r\n filterwarnings.1.category = DeprecationWarning\r\n filterwarnings.1.module = sqlalchemy\\..*\r\n\r\n filterwarnings.2.action = ignore\r\n filterwarnings.2.module = pyramid_jinja2\\.*\r\n filterwarnings.2.message = reload_templates setting is deprecated\r\n\r\n # and more if necessary...\r\n\r\n\r\n.. _warnings.filterwarnings: _http://docs.python.org/2/library/warnings.html#warnings.filterwarnings\r\n.. _category: _http://docs.python.org/2/library/warnings.html#warning-categories", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mardiros/pyramid_filterwarnings", "keywords": "pyramid", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "pyramid_filterwarnings", "package_url": "https://pypi.org/project/pyramid_filterwarnings/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyramid_filterwarnings/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mardiros/pyramid_filterwarnings" }, "release_url": "https://pypi.org/project/pyramid_filterwarnings/0.4/", "requires_dist": null, "requires_python": null, "summary": "Configure python warnings for the Pyramid web framework", "version": "0.4" }, "last_serial": 1520867, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "52540dd00504fa526ee28aea00d40633", "sha256": "59e13306c053534246c26c5571c7105c798b4821569b53e3215aada5068cc22d" }, "downloads": -1, "filename": "pyramid_filterwarnings-0.1.tar.gz", "has_sig": false, "md5_digest": "52540dd00504fa526ee28aea00d40633", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2080, "upload_time": "2013-06-09T18:59:47", "url": "https://files.pythonhosted.org/packages/f9/e1/9c3d39ef6bfc0b6929ce7229f924600021934c9ef0e7398c5784f08086ae/pyramid_filterwarnings-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "55de05324cbd6a56a957ec5dd64f56a4", "sha256": "db34483ce562f453890e9d07a09510a87db17995d17d4eaee8bce40273a8e0f6" }, "downloads": -1, "filename": "pyramid_filterwarnings-0.2.tar.gz", "has_sig": false, "md5_digest": "55de05324cbd6a56a957ec5dd64f56a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2476, "upload_time": "2013-06-09T20:07:43", "url": "https://files.pythonhosted.org/packages/9d/b9/2cf972c663132a50a85eda384a627575f6ea638996da9bb890d89dbb9f74/pyramid_filterwarnings-0.2.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "050023676ae8b64f3d022247836c694f", "sha256": "64f08c4b81fbec773ed93ca4354767b51006b3db39f4e8fa2f3b0e8797ae302d" }, "downloads": -1, "filename": "pyramid_filterwarnings-0.4.tar.gz", "has_sig": false, "md5_digest": "050023676ae8b64f3d022247836c694f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3553, "upload_time": "2013-06-09T20:13:31", "url": "https://files.pythonhosted.org/packages/68/05/dbec576e0fbdc4c13a62831f70723b41e27d07aa90e0941a9728a384462e/pyramid_filterwarnings-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "050023676ae8b64f3d022247836c694f", "sha256": "64f08c4b81fbec773ed93ca4354767b51006b3db39f4e8fa2f3b0e8797ae302d" }, "downloads": -1, "filename": "pyramid_filterwarnings-0.4.tar.gz", "has_sig": false, "md5_digest": "050023676ae8b64f3d022247836c694f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3553, "upload_time": "2013-06-09T20:13:31", "url": "https://files.pythonhosted.org/packages/68/05/dbec576e0fbdc4c13a62831f70723b41e27d07aa90e0941a9728a384462e/pyramid_filterwarnings-0.4.tar.gz" } ] }