{ "info": { "author": "Marcel Hellkamp", "author_email": "marc@gsites.de", "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-sqlite is a plugin that integrates SQLite3 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\nUsage Example::\n\n import bottle\n from bottle.ext import sqlite\n\n app = bottle.Bottle()\n plugin = sqlite.Plugin(dbfile='/tmp/test.db')\n app.install(plugin)\n\n @app.route('/show/:item')\n def show(item, db):\n row = db.execute('SELECT * from items where name=?', item).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": "http://bottlepy.org/docs/dev/plugins/sqlite.html", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "bottle-sqlite", "package_url": "https://pypi.org/project/bottle-sqlite/", "platform": "any", "project_url": "https://pypi.org/project/bottle-sqlite/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bottlepy.org/docs/dev/plugins/sqlite.html" }, "release_url": "https://pypi.org/project/bottle-sqlite/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "SQLite3 integration for Bottle.", "version": "0.1.3" }, "last_serial": 2170952, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "0ee58a72e4aa490700b274c61154862d", "sha256": "e33e210c6c0177b4c3b3f8c0324730b5985e629678a9167bc2ad24333203fc60" }, "downloads": -1, "filename": "bottle-sqlite-0.1.tar.gz", "has_sig": false, "md5_digest": "0ee58a72e4aa490700b274c61154862d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3474, "upload_time": "2011-05-12T22:07:01", "url": "https://files.pythonhosted.org/packages/8b/12/d8a328538c20b6bb75ded0af1e20413f21cb033132d4f1601a3faca92dc9/bottle-sqlite-0.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "802f6b9ea861e53e26e0bfa256925d45", "sha256": "3106d332270022dcec66102082906da47bcc62acd43a44c3deea9b398ef3eeab" }, "downloads": -1, "filename": "bottle-sqlite-0.1.2.tar.gz", "has_sig": false, "md5_digest": "802f6b9ea861e53e26e0bfa256925d45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3536, "upload_time": "2012-02-07T19:11:17", "url": "https://files.pythonhosted.org/packages/74/74/9482efecd1460b7f2c2a15694145538f4979bc8a767c4985f6bc980dd952/bottle-sqlite-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "6194e8e6f2472482f9d617c7e6173ed7", "sha256": "c58607df900257f79a6a5a0e6fc8a53a684176641bb99ed5dd37bbe0aa45d21d" }, "downloads": -1, "filename": "bottle-sqlite-0.1.3.tar.gz", "has_sig": false, "md5_digest": "6194e8e6f2472482f9d617c7e6173ed7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2898, "upload_time": "2016-06-16T14:23:28", "url": "https://files.pythonhosted.org/packages/b6/3b/2fb36ff169a41c1d0e8fb2824f4f746cf5a16fc5f528ccb820681d0b06c7/bottle-sqlite-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6194e8e6f2472482f9d617c7e6173ed7", "sha256": "c58607df900257f79a6a5a0e6fc8a53a684176641bb99ed5dd37bbe0aa45d21d" }, "downloads": -1, "filename": "bottle-sqlite-0.1.3.tar.gz", "has_sig": false, "md5_digest": "6194e8e6f2472482f9d617c7e6173ed7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2898, "upload_time": "2016-06-16T14:23:28", "url": "https://files.pythonhosted.org/packages/b6/3b/2fb36ff169a41c1d0e8fb2824f4f746cf5a16fc5f528ccb820681d0b06c7/bottle-sqlite-0.1.3.tar.gz" } ] }