{ "info": { "author": "Mark Pittaway", "author_email": "mark.pittaway@mlit.net.au", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "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", "Topic :: Database :: Front-Ends" ], "description": "Welcome To DStore\n#################\n\n.. image:: https://img.shields.io/coveralls/MarkLark/flask-dstore.svg\n :target: https://coveralls.io/github/MarkLark/flask-dstore?branch=master\n\n.. image:: https://img.shields.io/travis/MarkLark/flask-dstore/master.svg\n :target: https://travis-ci.org/MarkLark/flask-dstore\n\n.. image:: https://img.shields.io/pypi/v/flask-dstore.svg\n :target: https://pypi.python.org/pypi/flask-dstore\n\n.. image:: https://img.shields.io/pypi/pyversions/flask-dstore.svg\n :target: https://pypi.python.org/pypi/flask-dstore\n\nFlask-DStore is a Web API and Javascript Client.\nThe API routes, logic and client code is automatically generated for you.\n\n\nInstalling\n==========\n\nPyMan is available from the PyPi repository.\n\nThis means that all you have to do to install PyMan is run the following in a console:\n\n.. code-block:: console\n\n $ pip install dstore-flask\n\nMinimal Example\n===============\n\n.. code-block:: python\n\n from flask import Flask\n from dstore import MemoryStore, Model, var, mod\n from flask_dstore import API\n\n class Car( Model ):\n _namespace = \"cars.make\"\n _vars = [\n var.RowID,\n var.String( \"manufacturer\", 32, mods = [ mod.NotNull() ] ),\n var.String( \"make\", 32, mods = [ mod.NotNull() ] ),\n var.Number( \"year\", mods = [ mod.NotNull(), mod.Min( 1950 ), mod.Max( 2017 ) ] ),\n ]\n\n # Create the app instances\n app = Flask( __name__ )\n store = MemoryStore( [ Car ] )\n api = API( store, app )\n\n # While inside the Flask app context, create all storage and add a car\n with app.app_context():\n store.create_all()\n Car( manufacturer = \"Holden\", make = \"Commodore\", year = 2005 ).add()\n\n # Run the Flask dev. server\n app.run()\n\n # Now destroy all data\n with app.app_context():\n store.destroy_all()\n\n store.destroy_app()\n\n\nDocumentation: `ReadTheDocs `_\n\nSource Code: `GitHub `_", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MarkLark/flask-dstore", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "Flask-DStore", "package_url": "https://pypi.org/project/Flask-DStore/", "platform": "any", "project_url": "https://pypi.org/project/Flask-DStore/", "project_urls": { "Homepage": "https://github.com/MarkLark/flask-dstore" }, "release_url": "https://pypi.org/project/Flask-DStore/0.1.2/", "requires_dist": [ "Flask (>=0.10)", "dstore (>=0.1.1)", "dstore-acl (>=0.1.1)" ], "requires_python": "", "summary": "DStore Web API and JS Client using FLask", "version": "0.1.2" }, "last_serial": 2637665, "releases": { "0.1.0a1": [ { "comment_text": "", "digests": { "md5": "9fa2cdd5e69f8c18abe371bf0cb05a4f", "sha256": "4599fcea9bfe31297e2177f806a6e807b0850d291bc4d4e60ff5991c64f04ec9" }, "downloads": -1, "filename": "Flask_DStore-0.1.0a1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9fa2cdd5e69f8c18abe371bf0cb05a4f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7347, "upload_time": "2017-01-23T07:20:14", "url": "https://files.pythonhosted.org/packages/8d/73/8eab2e354842356e80b96182f22b45420d3a09789844014c56b568f4bcfe/Flask_DStore-0.1.0a1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ff988a34abc5e2ac24acc54061fec709", "sha256": "e0279ad12897b1cce24668e677f2a30783179be472495fceb346d25aeda77857" }, "downloads": -1, "filename": "Flask-DStore-0.1.0a1.tar.gz", "has_sig": false, "md5_digest": "ff988a34abc5e2ac24acc54061fec709", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4764, "upload_time": "2017-01-23T07:20:16", "url": "https://files.pythonhosted.org/packages/03/48/359fc646c3464f7dd0dd57617c9de7989f902b766cae4079935497f12a50/Flask-DStore-0.1.0a1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "202f4d5363b763b25876313d21e0760f", "sha256": "b8a47d965f83ece0659babca2bd88507ee2d29331012c7b465fda272583e5ea3" }, "downloads": -1, "filename": "Flask_DStore-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "202f4d5363b763b25876313d21e0760f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7994, "upload_time": "2017-02-12T23:38:02", "url": "https://files.pythonhosted.org/packages/bb/d7/1d8d6169ffecc34c4584bcc833c598b8a72c3d8cf8a0a6b6ad4503b3a91a/Flask_DStore-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f46ca81295073285a649f9e31b31cd1a", "sha256": "7370a4f59f9e3717e5fb7c6164637ea99803ad97cf9bf4601dd69d5b9986a8cd" }, "downloads": -1, "filename": "Flask-DStore-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f46ca81295073285a649f9e31b31cd1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5319, "upload_time": "2017-02-12T23:38:05", "url": "https://files.pythonhosted.org/packages/30/96/d467a232b8645aa82878943f6ce8b2f869f5d1c0597ad893e7fa6754e170/Flask-DStore-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "5deba581a919ead9ce4f617375e1028e", "sha256": "dd948571bd2ad923886dec0a9ef9128d838bdf7e898ffb20e96f6a50103b4981" }, "downloads": -1, "filename": "Flask_DStore-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5deba581a919ead9ce4f617375e1028e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7777, "upload_time": "2017-02-13T02:32:06", "url": "https://files.pythonhosted.org/packages/93/2b/0ebb364a99384614ab901650ff12e92fd2b462961f52677e4a73534ec2f8/Flask_DStore-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c0ac8f4bed680e5c25a027e6452ea597", "sha256": "52dcc34b578f68f426a190d1439687a26423336f7c92e43d7fe94ceb459bff47" }, "downloads": -1, "filename": "Flask-DStore-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c0ac8f4bed680e5c25a027e6452ea597", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4540, "upload_time": "2017-02-13T02:32:09", "url": "https://files.pythonhosted.org/packages/2c/ed/59af668e7266c7c611eabd37201dfa3b2ea71a79acb480f43c97642b6af7/Flask-DStore-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5deba581a919ead9ce4f617375e1028e", "sha256": "dd948571bd2ad923886dec0a9ef9128d838bdf7e898ffb20e96f6a50103b4981" }, "downloads": -1, "filename": "Flask_DStore-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5deba581a919ead9ce4f617375e1028e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7777, "upload_time": "2017-02-13T02:32:06", "url": "https://files.pythonhosted.org/packages/93/2b/0ebb364a99384614ab901650ff12e92fd2b462961f52677e4a73534ec2f8/Flask_DStore-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c0ac8f4bed680e5c25a027e6452ea597", "sha256": "52dcc34b578f68f426a190d1439687a26423336f7c92e43d7fe94ceb459bff47" }, "downloads": -1, "filename": "Flask-DStore-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c0ac8f4bed680e5c25a027e6452ea597", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4540, "upload_time": "2017-02-13T02:32:09", "url": "https://files.pythonhosted.org/packages/2c/ed/59af668e7266c7c611eabd37201dfa3b2ea71a79acb480f43c97642b6af7/Flask-DStore-0.1.2.tar.gz" } ] }