{ "info": { "author": "Kevin J. Qiu", "author_email": "kevin@freshbooks.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "===============================\nSQLCapture nose plugin\n===============================\n\nCapture SQL queries being generated from a nosetests run\n\n.. image:: https://badge.fury.io/py/nose-sqlcapture.png\n :target: http://badge.fury.io/py/nose-sqlcapture\n.. image:: https://travis-ci.org/freshbooks/nose-sqlcapture.svg?branch=master\n :target: https://travis-ci.org/freshbooks/nose-sqlcapture\n.. image:: https://pypip.in/d/nose-sqlcapture/badge.png\n :target: https://crate.io/packages/nose-sqlcapture?version=latest\n\n============\nInstallation\n============\n\nDo ```pip install nose-sqlcapture``` in your project. Your project should already have ```nosetests``` and ```sqlalchemy``` installed.\n\n=====\nUsage\n=====\n\n```nosetests [other options] --with-sqlcapture --sqlcapture-filename=sql.log --sqlcapture-format=json```\n\n* sqlcapture-filename the output file. Default: /tmp/sqlcapture.log\n* sqlcapture-format the format of the log file, either json or plain. Default: plain\n\n\n=======\nFormats\n=======\n\n^^^^^^^^^^^^^\nPlain (plain)\n^^^^^^^^^^^^^\n\nOutput in plain-text form that's meant for human consumption. The output is of the following format::\n\n test1\n test2\n SQL1\n ---\n test1\n test3\n SQL2\n ---\n ...\n\n\n^^^^^^^^^^^\nJSON (json)\n^^^^^^^^^^^\n\nOuptut the queries and their corresponding tests in json format::\n\n {\n SQL1: [test1, test2],\n SQL2: [test1, test3],\n ...\n }\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/freshbooks/nose-sqlcapture", "keywords": "nose-sqlcapture", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "nose-sqlcapture", "package_url": "https://pypi.org/project/nose-sqlcapture/", "platform": "", "project_url": "https://pypi.org/project/nose-sqlcapture/", "project_urls": { "Homepage": "https://github.com/freshbooks/nose-sqlcapture" }, "release_url": "https://pypi.org/project/nose-sqlcapture/1.0.7/", "requires_dist": null, "requires_python": "", "summary": "Capture SQL queries being generated from a nosetests run", "version": "1.0.7" }, "last_serial": 5125461, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "dbde239a21c3de43ca1664c643f782a2", "sha256": "dcbe2c18b7182a5beb64003ded11d2733f531f6441f0627b00ce581faaed7d90" }, "downloads": -1, "filename": "nose_sqlcapture-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dbde239a21c3de43ca1664c643f782a2", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5095, "upload_time": "2014-12-16T05:05:18", "url": "https://files.pythonhosted.org/packages/5f/0c/60e571628bcb68ad79fa961e71b8ffd6ac6e15054fbe78d9b0da7e586605/nose_sqlcapture-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "74ffbb314991aab2055f666f40ced501", "sha256": "04ec61036db80990c695dad4f46b226a6a182d3474fdc043ff22a21cea75257a" }, "downloads": -1, "filename": "nose-sqlcapture-1.0.2.tar.gz", "has_sig": false, "md5_digest": "74ffbb314991aab2055f666f40ced501", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5240, "upload_time": "2014-12-16T05:05:14", "url": "https://files.pythonhosted.org/packages/12/77/777f4d72effade3b34e386b87a09624a280f3f94a0777d744959dd949369/nose-sqlcapture-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "aabad6a327e621b9e625cae1c43ad719", "sha256": "9118ed6e2f5d63e6b67dad44524d3aa917ebd14e269e236f07c70fff5056bcda" }, "downloads": -1, "filename": "nose_sqlcapture-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "aabad6a327e621b9e625cae1c43ad719", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5231, "upload_time": "2014-12-16T19:10:07", "url": "https://files.pythonhosted.org/packages/bf/d2/9d6cdaf1286149873c45908d8162cc3ca087864f1bc656513d165a3e39cd/nose_sqlcapture-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6cb911a61a0ee4a1ae34bee5e5ccb6c6", "sha256": "e33e77c057261aefa73a03ec19fa73714260f6ab933b3649dbf2207262378f47" }, "downloads": -1, "filename": "nose-sqlcapture-1.0.3.tar.gz", "has_sig": false, "md5_digest": "6cb911a61a0ee4a1ae34bee5e5ccb6c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5368, "upload_time": "2014-12-16T19:10:04", "url": "https://files.pythonhosted.org/packages/15/22/ba0b569dc3dfb9edad2f7e32b375c805902aa9703f38192aa2dcbd563227/nose-sqlcapture-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "ca03319733d56f8bd91a328acbf41aa1", "sha256": "78b3de544ddca777cdfc5685547b4ae5334d50691a92dab52677317ffe60a87a" }, "downloads": -1, "filename": "nose_sqlcapture-1.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ca03319733d56f8bd91a328acbf41aa1", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5214, "upload_time": "2014-12-16T19:21:57", "url": "https://files.pythonhosted.org/packages/1f/0b/a0d0f707616e8c824ef74a8206342265eaafd9e00fc067c76079244c111f/nose_sqlcapture-1.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3fd9dc05007cd29834ea09f5f90b4ce5", "sha256": "7fffd94708b29096819b204a04ed5a302b3eb9013e0983ce05064c19cea3f8b8" }, "downloads": -1, "filename": "nose-sqlcapture-1.0.4.tar.gz", "has_sig": false, "md5_digest": "3fd9dc05007cd29834ea09f5f90b4ce5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5373, "upload_time": "2014-12-16T19:21:54", "url": "https://files.pythonhosted.org/packages/ba/66/cbf694259fcc63cfb717a45ccb9f2c0334fff74e250ae8a214d46f05022a/nose-sqlcapture-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "99ee46a9a422e79d98ef06e0a7167845", "sha256": "e80dc470f3aec52b4550898b30ad8dcb258bc3d592049d2548520d39f4f92b9a" }, "downloads": -1, "filename": "nose_sqlcapture-1.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "99ee46a9a422e79d98ef06e0a7167845", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5221, "upload_time": "2014-12-17T18:27:46", "url": "https://files.pythonhosted.org/packages/23/de/97c286c9392b6054e142f0eed6422af4396c918ebc052a7243eeda3c4742/nose_sqlcapture-1.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62da2937c79b0c513f91baf07f68e78f", "sha256": "f3aa6ad8a8404031ab6d2da0ac406371390323a7e20e3d71a3d3875c32ba05b5" }, "downloads": -1, "filename": "nose-sqlcapture-1.0.5.tar.gz", "has_sig": false, "md5_digest": "62da2937c79b0c513f91baf07f68e78f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5445, "upload_time": "2014-12-17T18:27:44", "url": "https://files.pythonhosted.org/packages/8d/06/c5c0a099029c26fd6ddad26c6ebe052d8987de8332c7c65333ed1b303b83/nose-sqlcapture-1.0.5.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "0214b7c6fcaa23cd568047222ed056aa", "sha256": "77786580328b8a9652b178c5d76c9b3955d5a18c3aa3615ad6247add7f4e0658" }, "downloads": -1, "filename": "nose_sqlcapture-1.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0214b7c6fcaa23cd568047222ed056aa", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5397, "upload_time": "2018-02-23T21:13:55", "url": "https://files.pythonhosted.org/packages/e6/09/b350594b407f77dff299bc13c770673cae86e305e777347621c07d9f7f66/nose_sqlcapture-1.0.7-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0214b7c6fcaa23cd568047222ed056aa", "sha256": "77786580328b8a9652b178c5d76c9b3955d5a18c3aa3615ad6247add7f4e0658" }, "downloads": -1, "filename": "nose_sqlcapture-1.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0214b7c6fcaa23cd568047222ed056aa", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5397, "upload_time": "2018-02-23T21:13:55", "url": "https://files.pythonhosted.org/packages/e6/09/b350594b407f77dff299bc13c770673cae86e305e777347621c07d9f7f66/nose_sqlcapture-1.0.7-py2.py3-none-any.whl" } ] }