{ "info": { "author": "Michael Lustfield", "author_email": "dev@lustfield.net", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Bottle-MySQL is a plugin that integrates MySQL with your Bottle\napplication. It automatically connects to a database at the beginning of a\nrequest, passes the database handle to the route callback and closes the\nconnection afterwards.\n\nTo automatically detect routes that need a database connection, the plugin\nsearches for route callbacks that require a `db` keyword argument\n(configurable) and skips routes that do not. This removes any overhead for\nroutes that don't need a database connection.\n\nResults are returned as dictionaries.\n\nUsage Example::\n\n import bottle\n import bottle_mysql\n\n app = bottle.Bottle()\n # dbhost is optional, default is localhost\n plugin = bottle_mysql.Plugin(dbuser='user', dbpass='pass', dbname='db')\n app.install(plugin)\n\n @app.route('/show/:')\n def show(item, db):\n db.execute('SELECT * from items where name=\"%s\"', (item,))\n row = db.fetchone()\n if row:\n return template('showitem', page=row)\n return HTTPError(404, \"Page not found\")", "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/tg123/bottle-mysql", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "bottle-mysql", "package_url": "https://pypi.org/project/bottle-mysql/", "platform": "any", "project_url": "https://pypi.org/project/bottle-mysql/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/tg123/bottle-mysql" }, "release_url": "https://pypi.org/project/bottle-mysql/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "MySQL integration for Bottle.", "version": "0.3.1" }, "last_serial": 2418521, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "5f82d4110736e4cc4b748e68248403e2", "sha256": "6bd50bf1979fdb054b37552789622a47c42ea3c73f1c2c1aecbf7771ab95edb8" }, "downloads": -1, "filename": "bottle-mysql-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5f82d4110736e4cc4b748e68248403e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3642, "upload_time": "2012-04-10T19:38:12", "url": "https://files.pythonhosted.org/packages/d4/4c/c6cfe6ea56eb5f8bd7d38f6faa21af09059f9d62a865abceead5728564c5/bottle-mysql-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "56c1fc3b5f3fee04dbdb5ab66c570d7a", "sha256": "a5ad26b881c020698bee50113a8d9213d02b7f1bfa01683bef6487860cc4a644" }, "downloads": -1, "filename": "bottle-mysql-0.1.2.tar.gz", "has_sig": false, "md5_digest": "56c1fc3b5f3fee04dbdb5ab66c570d7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3683, "upload_time": "2013-09-10T03:39:28", "url": "https://files.pythonhosted.org/packages/a7/f4/9368629ac461fe56704a811223f57ef9779cf33a973eb35d923b12b08b3a/bottle-mysql-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "f634a652961c81dd92d192a1abf2df99", "sha256": "9dd599f8a1523043aedef7ec13835b440c0b18001480a747bcf1b442f88d3c9c" }, "downloads": -1, "filename": "bottle-mysql-0.1.3.tar.gz", "has_sig": false, "md5_digest": "f634a652961c81dd92d192a1abf2df99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2897, "upload_time": "2013-10-20T13:39:45", "url": "https://files.pythonhosted.org/packages/97/02/a0bbe8a975940284f589c3132fbaf843da4c3fa854c80527f7476d51c0dd/bottle-mysql-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "02f17452c95e99f4bd88ce62917739da", "sha256": "966041f4330a0f2aa377a688dffe558aa456ceb34b63d722dcbda91408f493b9" }, "downloads": -1, "filename": "bottle-mysql-0.1.4.tar.gz", "has_sig": false, "md5_digest": "02f17452c95e99f4bd88ce62917739da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2919, "upload_time": "2013-10-20T14:15:50", "url": "https://files.pythonhosted.org/packages/c1/6b/2354468d5be26df1a0ba0815afe2a7024315e735eb88d961aaad830c0697/bottle-mysql-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a224dcc4ba60c44e13fbf80d46c86432", "sha256": "381e02854e4a6b9e94145f9bddd1e23c2a6c56ec42fce9cdc2e16859af0b56a3" }, "downloads": -1, "filename": "bottle-mysql-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a224dcc4ba60c44e13fbf80d46c86432", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3139, "upload_time": "2014-11-24T10:07:49", "url": "https://files.pythonhosted.org/packages/f2/5a/9192277f6e782c19d0fa3fe9def51dcef259862c5c1eb01fc8f9bce1e662/bottle-mysql-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "029a15940d43183093c545f0f8284891", "sha256": "0e9eae7540a9489509b1cb6e7ee2f39a99d5fa1b354eef77515d9483f4fdc3eb" }, "downloads": -1, "filename": "bottle-mysql-0.2.1.tar.gz", "has_sig": false, "md5_digest": "029a15940d43183093c545f0f8284891", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3181, "upload_time": "2015-03-04T02:19:42", "url": "https://files.pythonhosted.org/packages/be/b9/fd0da27dadab72c7734ba9f5ef2adce01d110ba82cf1b5adbee6386e3e6a/bottle-mysql-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "c342e8e4e08f6d111da9c4b2158b3f24", "sha256": "fe4a61a9c3893b342cba30a6a0d68924bd576f5b5b42693510c00411ae851387" }, "downloads": -1, "filename": "bottle-mysql-0.2.2.tar.gz", "has_sig": false, "md5_digest": "c342e8e4e08f6d111da9c4b2158b3f24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3188, "upload_time": "2015-03-05T11:49:18", "url": "https://files.pythonhosted.org/packages/57/de/bcf7608b5bb564845f14cf2e72353ab645c1eb8ceb7391b97d01eb563849/bottle-mysql-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "3059f1704ca62ab571b6f8b9dce8ccff", "sha256": "618226a3ed87055ed2b808f489bfde7fa25c0d454c9519e48a9fa7051950fc06" }, "downloads": -1, "filename": "bottle-mysql-0.3.0.tar.gz", "has_sig": false, "md5_digest": "3059f1704ca62ab571b6f8b9dce8ccff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3202, "upload_time": "2016-03-26T05:48:14", "url": "https://files.pythonhosted.org/packages/58/8b/11a354760fbc312cf7a75f72d6634327a6aa872f2fcc3fd8aa8629159d84/bottle-mysql-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "e307ca4f699e6807448c09e94ba580db", "sha256": "e720630560f9279efd7466f8b37af31d835252f4b69f3e9da94d08e7a2cb40c8" }, "downloads": -1, "filename": "bottle-mysql-0.3.1.tar.gz", "has_sig": false, "md5_digest": "e307ca4f699e6807448c09e94ba580db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3233, "upload_time": "2016-10-23T17:33:19", "url": "https://files.pythonhosted.org/packages/10/f7/d6c2b67a1942786006695f00a1dec76a623e27f5a7859929ac4f4bec4842/bottle-mysql-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e307ca4f699e6807448c09e94ba580db", "sha256": "e720630560f9279efd7466f8b37af31d835252f4b69f3e9da94d08e7a2cb40c8" }, "downloads": -1, "filename": "bottle-mysql-0.3.1.tar.gz", "has_sig": false, "md5_digest": "e307ca4f699e6807448c09e94ba580db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3233, "upload_time": "2016-10-23T17:33:19", "url": "https://files.pythonhosted.org/packages/10/f7/d6c2b67a1942786006695f00a1dec76a623e27f5a7859929ac4f4bec4842/bottle-mysql-0.3.1.tar.gz" } ] }