{ "info": { "author": "Andreas Runfalk", "author_email": "andreas@runfalk.se", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Flask", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Database", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "Flask-Storm\n===========\n|test-status| |documentation-status| |pypi-version|\n\n*I only recommend using this package if your project is already heavily invested in Storm. Instead use* `SQLAlchemy `_ *and* `Flask-SQLAlchemy `_. *It's uncertain if Storm will ever receive another update*\n\nFlask-Storm is an extension for `Flask `_ that adds support for Canonical's ORM `Storm `_ to your application. Flask-Storm automatically opens and closes database connections on demand when requests need them.\n\n\nExample\n-------\nAccess to the database is done using the `store` `application context local `_. Within an application context this variable holds a reference to a Storm Store instance. If no connection is opened it will automatically open one. When the application context is torn down, normally after the request has returned, the store is closed.\n\n.. code-block:: python\n\n from flask_storm import store\n from storm.locals import Int, Unicode\n\n class User(object):\n __storm_table__ = \"users\"\n\n id = Int(primary=True)\n name = Unicode()\n\n\n @app.route(\"/\")\n def index():\n # Get name of user with ID 1\n return store.get(User, 1).name\n\n\nInstallation\n------------\n\n.. code-block:: bash\n\n $ pip install flask_storm[fancy]\n\nThis installs Flask-Storm with SQL highlighting and reformatting support. If you do not want this drop the ``fancy``.\n\n.. code-block:: bash\n\n $ pip install flask_storm\n\nDocumentation\n-------------\nDocumentation is available on ``_\n\n\nWhy not Python 3\n----------------\nSadly Storm is not Python 3 compatible, which is why it doesn't make sense to make Flask-Storm compatible yet.\n\n.. |test-status| image:: https://travis-ci.org/runfalk/flask-storm.svg\n :alt: Test status\n :scale: 100%\n :target: https://travis-ci.org/runfalk/Flask-Storm\n\n.. |documentation-status| image:: https://readthedocs.org/projects/flask-storm/badge/\n :alt: Documentation status\n :scale: 100%\n :target: http://flask-storm.readthedocs.io/\n\n.. |pypi-version| image:: https://badge.fury.io/py/Flask-Storm.svg\n :alt: PyPI version status\n :scale: 100%\n :target: https://pypi.python.org/pypi/Flask-Storm/\n\n.. Include changelog on PyPI\n\nChangelog\n=========\nVersion are structured like the following: ``..``. Unless\nexplicitly stated, changes are made by\n`Andreas Runfalk `_.\n\n\nVersion 0.2.0\n-------------\nReleased on 8th October 2018\n\n- Added Python 3 support\n- Removed ``storm`` as a dependency since ``storm-legacy`` can be used as well\n\n\nVersion 0.1.2\n-------------\nReleased on 14th June 2017\n\n- Fixed an issue with query logging in ``flask shell`` and PostgreSQL\n\n\nVersion 0.1.1\n-------------\nReleased on 9th June 2017\n\n- Fixed issue with new versions of sqlparse by bumping its version requirement\n\n\nVersion 0.1.0\n-------------\nReleased on 19 July 2016\n\n- Initial release\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.github.com/runfalk/flask_storm", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "Flask-Storm", "package_url": "https://pypi.org/project/Flask-Storm/", "platform": "any", "project_url": "https://pypi.org/project/Flask-Storm/", "project_urls": { "Homepage": "https://www.github.com/runfalk/flask_storm" }, "release_url": "https://pypi.org/project/Flask-Storm/0.2.0/", "requires_dist": [ "Flask", "mock; extra == 'dev'", "pytest (>=3); extra == 'dev'", "pytest-cov; extra == 'dev'", "pytest-helpers-namespace; extra == 'dev'", "sphinx; extra == 'dev'", "sqlparse (>=0.2.2); extra == 'fancy'" ], "requires_python": "", "summary": "Storm integration for Flask.", "version": "0.2.0" }, "last_serial": 4353350, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "67c5a3f0a9c4cda6e94d88f998b39d6e", "sha256": "89e2bc5f4ad6eaac68d22f027b60f58b399b6601fd8657665ab7560967a4b226" }, "downloads": -1, "filename": "Flask_Storm-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "67c5a3f0a9c4cda6e94d88f998b39d6e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11465, "upload_time": "2016-07-21T11:31:17", "url": "https://files.pythonhosted.org/packages/79/46/2ca73d29fc78dd793d5fc3fe375337bb6156e8e7162fd607a2b4633682bb/Flask_Storm-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "41861aaf1c37a5960b405cf99de346dc", "sha256": "250a694a2f6838388536f078e312259e6e8aefb89823b28b2ff7976f4c2bbbed" }, "downloads": -1, "filename": "Flask-Storm-0.1.0.tar.gz", "has_sig": false, "md5_digest": "41861aaf1c37a5960b405cf99de346dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 906677, "upload_time": "2016-07-21T11:31:13", "url": "https://files.pythonhosted.org/packages/f8/92/b1610974cbc699afc94c744259136bfca380d2951956f53698e159728a83/Flask-Storm-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a6bfed544bf6bfbe263dbaaa8fac12a0", "sha256": "53be6babcd966f47947a13f338a1146f8bbca370134a310b80d4a3d4cf793fe6" }, "downloads": -1, "filename": "Flask_Storm-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a6bfed544bf6bfbe263dbaaa8fac12a0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12082, "upload_time": "2017-06-09T12:13:35", "url": "https://files.pythonhosted.org/packages/eb/d0/70eaf2a8f051e489bd6af03f8d853a10b464dedf9da8de0129bffc2e1425/Flask_Storm-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d3dc14339d5258f6cfe690008a5210d8", "sha256": "2692cff7950dabfde7a5065b0704b03f2c8b7b79b37859c350f473ccaffc85ff" }, "downloads": -1, "filename": "Flask-Storm-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d3dc14339d5258f6cfe690008a5210d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23107, "upload_time": "2017-06-09T12:13:36", "url": "https://files.pythonhosted.org/packages/b4/49/44902b181a4e474604b481aea058fe86b1e96d4f478804ba5c588f8e6bb5/Flask-Storm-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "9c02ffb77a06135054b2c4a36895b0fa", "sha256": "c5319d93d5ad2616659ac368fda649fee7c7b9d3498ba2002b216f501d89ce69" }, "downloads": -1, "filename": "Flask_Storm-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9c02ffb77a06135054b2c4a36895b0fa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12219, "upload_time": "2017-06-14T08:46:15", "url": "https://files.pythonhosted.org/packages/3d/a3/5f84f323fc9a064ce9516a85880365cbf98d12f586f6c7ef8a21e559c767/Flask_Storm-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8def2cd389280bab57fd3d13c44ea1be", "sha256": "51195eaf40e4e1e6de3fea7c4f188859ea296c09539cb505845a87f76c037603" }, "downloads": -1, "filename": "Flask-Storm-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8def2cd389280bab57fd3d13c44ea1be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23217, "upload_time": "2017-06-14T08:46:17", "url": "https://files.pythonhosted.org/packages/77/2f/dbc490396f3a9ae1605953c647c8c8e795dce4671bbc2e8e3001ba89418c/Flask-Storm-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "4b48e992101e06ff52548331d653e2aa", "sha256": "58d3d26726005800d22245ad20b2cacc05f43c2342892f2e1517c0707f23d9b4" }, "downloads": -1, "filename": "Flask_Storm-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4b48e992101e06ff52548331d653e2aa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11476, "upload_time": "2018-10-08T20:01:19", "url": "https://files.pythonhosted.org/packages/8f/ca/3096225dbcb1db8f507787ba2944439ddc85e4ce62418f1e69c635760dc1/Flask_Storm-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bcf0636f342c1b6d9a25b346f8d1831d", "sha256": "2e8f77dd162411d8c58921c0614a72bd02ee94db4dcc495c31223be437744866" }, "downloads": -1, "filename": "Flask-Storm-0.2.0.tar.gz", "has_sig": false, "md5_digest": "bcf0636f342c1b6d9a25b346f8d1831d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24374, "upload_time": "2018-10-08T20:01:20", "url": "https://files.pythonhosted.org/packages/9e/2e/11524fa169d85e9943e0d7cd2313e7262c85b66a563377e8a0c6dd38194c/Flask-Storm-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4b48e992101e06ff52548331d653e2aa", "sha256": "58d3d26726005800d22245ad20b2cacc05f43c2342892f2e1517c0707f23d9b4" }, "downloads": -1, "filename": "Flask_Storm-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4b48e992101e06ff52548331d653e2aa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11476, "upload_time": "2018-10-08T20:01:19", "url": "https://files.pythonhosted.org/packages/8f/ca/3096225dbcb1db8f507787ba2944439ddc85e4ce62418f1e69c635760dc1/Flask_Storm-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bcf0636f342c1b6d9a25b346f8d1831d", "sha256": "2e8f77dd162411d8c58921c0614a72bd02ee94db4dcc495c31223be437744866" }, "downloads": -1, "filename": "Flask-Storm-0.2.0.tar.gz", "has_sig": false, "md5_digest": "bcf0636f342c1b6d9a25b346f8d1831d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24374, "upload_time": "2018-10-08T20:01:20", "url": "https://files.pythonhosted.org/packages/9e/2e/11524fa169d85e9943e0d7cd2313e7262c85b66a563377e8a0c6dd38194c/Flask-Storm-0.2.0.tar.gz" } ] }