{ "info": { "author": "Dag Odenhall", "author_email": "dag.odenhall@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: ZODB", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Database", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Flask-ZODB\n----------\n\n.. image:: http://packages.python.org/Flask-ZODB/_static/flask-zodb.png\n\nTransparent and scalable persistence of Python objects for Flask\napplications. Use it as your database or as a complement to another\ndatabase - for example PostgreSQL where you need to perform rich queries\nand ZODB where you need structured data and mapping to and from Python\ntypes is inconvenient.\n\n::\n\n app = Flask(__name__)\n db = ZODB(app)\n\n @app.before_request\n def set_db_defaults():\n if 'entries' not in db:\n db['entries'] = List()\n\n @app.route('/')\n def show_entries():\n return render_template('show_entries.html', entries=db['entries'])\n\n\n @app.route('/add', methods=['POST'])\n def add_entry():\n db['entries'].append(request.form)\n flash('New entry was successfully posted')\n return redirect(url_for('show_entries'))", "description_content_type": null, "docs_url": "https://pythonhosted.org/Flask-ZODB/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dag/flask-zodb", "keywords": "flask,zodb,persistence,database", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "Flask-ZODB", "package_url": "https://pypi.org/project/Flask-ZODB/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Flask-ZODB/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dag/flask-zodb" }, "release_url": "https://pypi.org/project/Flask-ZODB/0.1/", "requires_dist": null, "requires_python": null, "summary": "Use the ZODB with Flask", "version": "0.1" }, "last_serial": 784355, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "cec1fbfa77809dfdc8af3b139ca2a73d", "sha256": "7646219b757e70fc1073e4e3a014b4194cd63575e7a02a7171e874f59ae68e8f" }, "downloads": -1, "filename": "Flask-ZODB-0.1.tar.gz", "has_sig": false, "md5_digest": "cec1fbfa77809dfdc8af3b139ca2a73d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10154, "upload_time": "2011-09-08T00:54:33", "url": "https://files.pythonhosted.org/packages/ec/93/24a493cc964128bf78eb2b178ce9db1b712b8a26819859d2f12de1e2a28f/Flask-ZODB-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cec1fbfa77809dfdc8af3b139ca2a73d", "sha256": "7646219b757e70fc1073e4e3a014b4194cd63575e7a02a7171e874f59ae68e8f" }, "downloads": -1, "filename": "Flask-ZODB-0.1.tar.gz", "has_sig": false, "md5_digest": "cec1fbfa77809dfdc8af3b139ca2a73d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10154, "upload_time": "2011-09-08T00:54:33", "url": "https://files.pythonhosted.org/packages/ec/93/24a493cc964128bf78eb2b178ce9db1b712b8a26819859d2f12de1e2a28f/Flask-ZODB-0.1.tar.gz" } ] }