{ "info": { "author": "Miroslav Shubernetskiy", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3" ], "description": "============================\nDjango Debug Toolbar Alchemy\n============================\n\n.. image:: https://badge.fury.io/py/django-debug-toolbar-alchemy.svg\n :target: http://badge.fury.io/py/django-debug-toolbar-alchemy\n\nDjango Debug Toolbar panel for SQLAlchemy.\n\n* Free software: MIT license\n* GitHub: https://github.com/miki725/django-debug-toolbar-alchemy\n\nOverview\n--------\n\nThis package completely mimics default Django Debug Toolbar SQL panel\n(internally its actually subclassed) but instead of displaying queries done\nvia Django ORM, SQLAlchemy generated queries are displayed.\nRest of the functionality is the same.\n\nInstalling\n----------\n\nFirst install::\n\n $ pip install django-debug-toolbar-alchemy\n\nThen in your settings::\n\n # settings.py\n DEBUG_TOOLBAR_PANELS = [\n # other panels\n 'debug_toolbar_alchemy.panels.sql.SQLPanel',\n # other panels\n ]\n\nIn order to support multiple DB databases, alias getter callable\nmust be specified in settings::\n\n # settings.py\n DEBUG_TOOLBAR_CONFIG = {\n 'ALCHEMY_DB_ALIASES': '',\n }\n\nAlias getter must return a dictionary of aliases as keys and\nSQLAlchemy engines as values.\nIf your application uses global session,\nyou can get the engine from session instances::\n\n from myapp.db import session, session_slave\n\n def alchemy_dbs():\n return {\n 'default': session.bind,\n 'slave': session_slave.bind,\n }\n\n\n\n\nHistory\n-------\n\n0.1.5 (2018-09-04)\n~~~~~~~~~~~~~~~~~~\n\n* Fixed when ``multiparams`` are name synonyms in ``UPDATE`` statements.\n* Added support for ``similar`` queries added in debug toolbar base ``SQLPanel``.\n\n0.1.4 (2018-09-04)\n~~~~~~~~~~~~~~~~~~\n\n* Added template to be included in ``dist`` package.\n\n0.1.3 (2018-09-03)\n~~~~~~~~~~~~~~~~~~\n\n* Added a way to run ``SELECT`` and ``EXPLAIN`` to queries in debug toolbar.\n Tested in ``sqlite``, ``postgresql`` and ``oracle``.\n\n0.1.2 (2018-08-30)\n~~~~~~~~~~~~~~~~~~\n\n* Fix bug by attaching SQLAlchemy events at most once.\n Otherwise in some cases when multiple threads are used,\n event handlers ``deque`` would be mutated while\n other SQLAlchemy events are running since\n event handling is not thread-safe in SQA.\n\n0.1.1 (2018-07-13)\n~~~~~~~~~~~~~~~~~~\n\n* Fix bug which did not correctly track plain string clauses.\n\n0.1.0 (2017-10-04)\n~~~~~~~~~~~~~~~~~~\n\n* First release on PyPI.\n\n\nCredits\n-------\n\nDevelopment Lead\n----------------\n\n* Miroslav Shubernetskiy - https://github.com/miki725\n\nContributors\n------------\n\n* None yet. Why not be the first?\n\n\nLicense\n-------\n\n::\n\n The MIT License (MIT)\n\n Copyright (c) 2017, Miroslav Shubernetskiy\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/miki725/django-debug-toolbar-alchemy", "keywords": "django django-debug-toolbar sqlalchemy", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-debug-toolbar-alchemy", "package_url": "https://pypi.org/project/django-debug-toolbar-alchemy/", "platform": "", "project_url": "https://pypi.org/project/django-debug-toolbar-alchemy/", "project_urls": { "Homepage": "https://github.com/miki725/django-debug-toolbar-alchemy" }, "release_url": "https://pypi.org/project/django-debug-toolbar-alchemy/0.1.5/", "requires_dist": null, "requires_python": "", "summary": "Django Debug Toolbar panel for SQLAlchemy.", "version": "0.1.5" }, "last_serial": 4241441, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8869245f18d5fa42ff0877a87412dab0", "sha256": "a49d3359ea84747a1107dabdd9d0ddbde2e0a9c3100c6684f8f327acb18026af" }, "downloads": -1, "filename": "django_debug_toolbar_alchemy-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8869245f18d5fa42ff0877a87412dab0", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 8957, "upload_time": "2017-11-06T15:58:42", "url": "https://files.pythonhosted.org/packages/81/e8/a937f7704b4259568b5ae5e4a653511662d5ce698cf4953d7d6b783d09d5/django_debug_toolbar_alchemy-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "07feb06c4a5e59904376576c5e24c26f", "sha256": "33dcb3534e6742ab371557e71363fa66a0418d5f7e233fa7c08d14c20cfde71c" }, "downloads": -1, "filename": "django-debug-toolbar-alchemy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "07feb06c4a5e59904376576c5e24c26f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5557, "upload_time": "2017-11-06T15:58:39", "url": "https://files.pythonhosted.org/packages/1b/30/76e1fda664f9d3c91b5373a44d6b8bba82aa805aafa5dea58f7943b20fb6/django-debug-toolbar-alchemy-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "71c89d59d68d33c1bec3019a159726bf", "sha256": "0693728f29a0bd0e7722d2c89b2cdf5976828b14ba6b40f9a80e56450debf49b" }, "downloads": -1, "filename": "django_debug_toolbar_alchemy-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "71c89d59d68d33c1bec3019a159726bf", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 6650, "upload_time": "2018-07-13T14:31:00", "url": "https://files.pythonhosted.org/packages/70/31/9243f34211b51bfb098c323e0211cc8af7b1d7f31f1b471046ad4752baca/django_debug_toolbar_alchemy-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eaf40ca5670f233fd133e2bf982f50df", "sha256": "a0c5b4e663d9e466bb7c6f883e1ee781686d5ddf46fe1e95b7938abe940a0465" }, "downloads": -1, "filename": "django-debug-toolbar-alchemy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "eaf40ca5670f233fd133e2bf982f50df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5703, "upload_time": "2018-07-13T14:30:58", "url": "https://files.pythonhosted.org/packages/b1/0d/3d4cbf7b1bb88f6fd32cf18dc19c05b0b220c1c1e5f6b543a153f48677f0/django-debug-toolbar-alchemy-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c30dc2d79f8758a958f7bdfac3d38eaf", "sha256": "d9da02e22dec2c06c55ced7bc872bde70fd451ec1afc699e9207d485f582b8b8" }, "downloads": -1, "filename": "django_debug_toolbar_alchemy-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c30dc2d79f8758a958f7bdfac3d38eaf", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 6941, "upload_time": "2018-08-31T00:12:41", "url": "https://files.pythonhosted.org/packages/58/17/6b4d7749d4270c948854ebfc9ecf7e29ac7fe2e342c0d0e58a56e9b868c2/django_debug_toolbar_alchemy-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f3d588844fcd0f2e0280ebabb07d1872", "sha256": "9f98d668a69a4de8402b7c9bd4b007cd5c893371833cc7ad7bbb84c3b5fb5016" }, "downloads": -1, "filename": "django-debug-toolbar-alchemy-0.1.2.tar.gz", "has_sig": false, "md5_digest": "f3d588844fcd0f2e0280ebabb07d1872", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6042, "upload_time": "2018-08-31T00:12:38", "url": "https://files.pythonhosted.org/packages/2a/aa/5ff6158d2d6f4d72b12ff89fc57af81521c3a0a4973751fc2db1062faa34/django-debug-toolbar-alchemy-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "1c31521bf96ab799e9f24d5524c56790", "sha256": "7e18fe11fde83f941fdc180364056aefc6db5300e0fe56480eff3037639157a0" }, "downloads": -1, "filename": "django_debug_toolbar_alchemy-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1c31521bf96ab799e9f24d5524c56790", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 9667, "upload_time": "2018-09-04T19:47:50", "url": "https://files.pythonhosted.org/packages/13/6c/b5a185749d0c921b4ffd1b4e594d9495de9e06cf9e1422bf17c4a7a1039f/django_debug_toolbar_alchemy-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b5f3f194284cad9a3df32ef481587a56", "sha256": "d87dc36b70f5021a140b2770153fe03005cf99c497a957d0da1f75650120bac8" }, "downloads": -1, "filename": "django-debug-toolbar-alchemy-0.1.3.tar.gz", "has_sig": false, "md5_digest": "b5f3f194284cad9a3df32ef481587a56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7649, "upload_time": "2018-09-04T19:47:48", "url": "https://files.pythonhosted.org/packages/55/e8/8590a38886189f85df480e9090954104790e9dee495bd154daabd02b0b78/django-debug-toolbar-alchemy-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "921f17780b3d042cf6e42d49396c4db2", "sha256": "15d7402d2df54b87e95aa57e1a7d7e8baeb17551df250974af5f15601c8c1489" }, "downloads": -1, "filename": "django_debug_toolbar_alchemy-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "921f17780b3d042cf6e42d49396c4db2", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 11490, "upload_time": "2018-09-05T02:41:59", "url": "https://files.pythonhosted.org/packages/8a/8c/38d218e94677ee7744101ef9d50bb56fdf11b2b0f3fae45b7c83c609d169/django_debug_toolbar_alchemy-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "597ef948ccee382d2d0c65691d53c640", "sha256": "a668c32a229a8d4540ff180923d1c102d8d615a17010e4702494fdec70c937db" }, "downloads": -1, "filename": "django-debug-toolbar-alchemy-0.1.4.tar.gz", "has_sig": false, "md5_digest": "597ef948ccee382d2d0c65691d53c640", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11972, "upload_time": "2018-09-05T02:41:57", "url": "https://files.pythonhosted.org/packages/d9/a1/8ca28702ae8cb821487ef2c3863694a2cce744d699ffef107a8aeed69485/django-debug-toolbar-alchemy-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "c41dcef35f77ffd6fadfd4099f51cab4", "sha256": "70bfd9ae67d68a25b213e21014a01869f84f9edfad0dcfc43bf2511891972cc0" }, "downloads": -1, "filename": "django_debug_toolbar_alchemy-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c41dcef35f77ffd6fadfd4099f51cab4", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 11999, "upload_time": "2018-09-05T15:51:35", "url": "https://files.pythonhosted.org/packages/48/7d/ad7c9fd5665639af01d1927c85c16dff42a05bff412a5275ca32aa8b7b40/django_debug_toolbar_alchemy-0.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1be3e606992cc3103e04d4f72d8295d3", "sha256": "ab289d1d5105a2008e10baca1bfc93314d613cd142d016d83a44306de1fbb7ce" }, "downloads": -1, "filename": "django-debug-toolbar-alchemy-0.1.5.tar.gz", "has_sig": false, "md5_digest": "1be3e606992cc3103e04d4f72d8295d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12525, "upload_time": "2018-09-05T15:51:33", "url": "https://files.pythonhosted.org/packages/b7/92/8140a13e1e2bcad291887cfbb4bd7e86b96ef5f772e14c93c944ecec904b/django-debug-toolbar-alchemy-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c41dcef35f77ffd6fadfd4099f51cab4", "sha256": "70bfd9ae67d68a25b213e21014a01869f84f9edfad0dcfc43bf2511891972cc0" }, "downloads": -1, "filename": "django_debug_toolbar_alchemy-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c41dcef35f77ffd6fadfd4099f51cab4", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 11999, "upload_time": "2018-09-05T15:51:35", "url": "https://files.pythonhosted.org/packages/48/7d/ad7c9fd5665639af01d1927c85c16dff42a05bff412a5275ca32aa8b7b40/django_debug_toolbar_alchemy-0.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1be3e606992cc3103e04d4f72d8295d3", "sha256": "ab289d1d5105a2008e10baca1bfc93314d613cd142d016d83a44306de1fbb7ce" }, "downloads": -1, "filename": "django-debug-toolbar-alchemy-0.1.5.tar.gz", "has_sig": false, "md5_digest": "1be3e606992cc3103e04d4f72d8295d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12525, "upload_time": "2018-09-05T15:51:33", "url": "https://files.pythonhosted.org/packages/b7/92/8140a13e1e2bcad291887cfbb4bd7e86b96ef5f772e14c93c944ecec904b/django-debug-toolbar-alchemy-0.1.5.tar.gz" } ] }