{ "info": { "author": "Byrd Technologies GmbH", "author_email": "developers@getbyrd.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "![CircleCI](https://img.shields.io/circleci/build/github/getbyrd/inspektor/master)\n![PyPI - License](https://img.shields.io/pypi/l/flask-inspektor)\n![PyPI](https://img.shields.io/pypi/v/flask-inspektor)\n\n# Flask-Inspektor\nSQLAlchemy querying metrics collection and reporting extension for Flask.\nHeavily influenced by [flask-queryinspect](https://github.com/noise/flask-queryinspect).\n\n[![image](./icon.jpg)](https://www.flickr.com/photos/veryveryquiet)\n\n## Installation\n\nFor now you have to use the Git repository:\n\n```bash\npip install git+https://github.com/getbyrd/inspektor.git#egg=flask-inspektor\n```\n\n\n## Usage\n\nUsing eagerly configured Flask application:\n\n```python\nfrom flask import Flask\nfrom flask_inspektor import QueryInspector\n\napp = Flask(__name__)\nqi = QueryInspector(app)\n```\n\nUsing lazy configuration or application factory pattern:\n\n```python\nfrom flask import Flask\nfrom flask_inspektor import QueryInspector\n\n\nqi = QueryInspector()\n\n\ndef create_app():\n app = Flask(__name__)\n qi.init_app(app)\n```\n\n\n## Configuration\n\n*Note*: Query inspector is not enabled by default.\n\nVariable | Default | Description\n-------- | ------- | -----------\nQUERYINSPECT_ENABLED | False | Activate the extension / react to SQL queries.\nQUERYINSPECT_HEADERS | True | Enable reporting in HTTP response header.\nQUERYINSPECT_LOG | True | Enable reporting in INFO level log message.\nQUERYINSPECT_LOG_DUPES | False | Enable logging of duplicated SQL queries.\n\n\n------\n\nDelivered to you by [developers](mailto:developers@getbyrd.com) of [Byrd](https://getbyrd.com).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/getbyrd/inspektor", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "flask-inspektor", "package_url": "https://pypi.org/project/flask-inspektor/", "platform": "", "project_url": "https://pypi.org/project/flask-inspektor/", "project_urls": { "Homepage": "https://github.com/getbyrd/inspektor" }, "release_url": "https://pypi.org/project/flask-inspektor/0.1.1/", "requires_dist": [ "flask (>=1.0)", "future (>=0.16.0)", "SQLAlchemy (>=1.2.2)", "Flask-SQLAlchemy (<2.5.0,>=2.4.0) ; extra == 'dev'", "flask-testing (>=0.7.1) ; extra == 'dev'", "pytest (>=4.6.0) ; extra == 'dev'", "twine ; extra == 'dev'", "Flask-SQLAlchemy (<2.5.0,>=2.4.0) ; extra == 'test'", "flask-testing (>=0.7.1) ; extra == 'test'", "pytest (>=4.6.0) ; extra == 'test'" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "summary": "SQLAlchemy querying metrics collection and reporting extension for Flask.", "version": "0.1.1" }, "last_serial": 5633134, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "34fcaf184b226de392b81fa35efe2fe6", "sha256": "a87eee2fd75c805e758045dafd173ed108aaa69932b573254f30b98823f30632" }, "downloads": -1, "filename": "flask_inspektor-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "34fcaf184b226de392b81fa35efe2fe6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 5387, "upload_time": "2019-08-02T19:54:31", "url": "https://files.pythonhosted.org/packages/d0/7c/7805d2f64454214cd6f844284e347273a5a51840297167ca454c006fc15c/flask_inspektor-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "751b2f42156300f4fcfe01e05b9862cc", "sha256": "6c7e52234ef13dc9f34daf9bb4dca85895b84fd817346b6911ff2239078402fa" }, "downloads": -1, "filename": "flask-inspektor-0.1.0.tar.gz", "has_sig": false, "md5_digest": "751b2f42156300f4fcfe01e05b9862cc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 13863, "upload_time": "2019-08-02T19:54:33", "url": "https://files.pythonhosted.org/packages/dd/c7/277d592e3219150bdae2034d0d25545e7aff4aa9adae46a075ccfd917a3a/flask-inspektor-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "738941b3f966f30ae68791ea7a1e9d6d", "sha256": "7b89d8fbf7a41d08ec7b076e44f139f1f979a38e240b92b7b68145471562fb4b" }, "downloads": -1, "filename": "flask_inspektor-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "738941b3f966f30ae68791ea7a1e9d6d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 5413, "upload_time": "2019-08-05T08:25:30", "url": "https://files.pythonhosted.org/packages/08/6a/633e57426f74e6b7e14a7593fbecc0187cc391f769e1db3683831090d025/flask_inspektor-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a79f18a5eef26dcccd975e6971f62380", "sha256": "76849c682c33407a0bb8d1a16f3a7af7f55fe3b25e6d5a3c0785d1feb488e875" }, "downloads": -1, "filename": "flask-inspektor-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a79f18a5eef26dcccd975e6971f62380", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 14894, "upload_time": "2019-08-05T08:25:33", "url": "https://files.pythonhosted.org/packages/80/f4/2dd9f1d73c5442e31561eab824a2d55b07d7e4e8f439fac66b767c218669/flask-inspektor-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "738941b3f966f30ae68791ea7a1e9d6d", "sha256": "7b89d8fbf7a41d08ec7b076e44f139f1f979a38e240b92b7b68145471562fb4b" }, "downloads": -1, "filename": "flask_inspektor-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "738941b3f966f30ae68791ea7a1e9d6d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 5413, "upload_time": "2019-08-05T08:25:30", "url": "https://files.pythonhosted.org/packages/08/6a/633e57426f74e6b7e14a7593fbecc0187cc391f769e1db3683831090d025/flask_inspektor-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a79f18a5eef26dcccd975e6971f62380", "sha256": "76849c682c33407a0bb8d1a16f3a7af7f55fe3b25e6d5a3c0785d1feb488e875" }, "downloads": -1, "filename": "flask-inspektor-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a79f18a5eef26dcccd975e6971f62380", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 14894, "upload_time": "2019-08-05T08:25:33", "url": "https://files.pythonhosted.org/packages/80/f4/2dd9f1d73c5442e31561eab824a2d55b07d7e4e8f439fac66b767c218669/flask-inspektor-0.1.1.tar.gz" } ] }