{ "info": { "author": "Philip Xu", "author_email": "pyx@xrefactor.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "============================================\nFlask-Diced - CRUD views generator for Flask\n============================================\n\nFlask-Diced is a set of helper classes for `Flask`_ that generates CRUD views\nand registers them to blueprint/application.\n\nFlask-Diced provides:\n\n- **D**\\ etail view\n- **I**\\ ndex view\n- **C**\\ reate view\n- **E**\\ dit view\n- **D**\\ elete view\n\n\n.. _Flask: http://flask.pocoo.org/\n\n\nFlask-Diced Might Not Be What You Want\n======================================\n\nFlask-Diced is opinionated, it assumes:\n\n- the model object has a :code:`save` method for data persistence and\n :code:`delete` method to remove itself.\n- the model can be created with no required arguments.\n- the form used for creation and editing are in the style of `Flask-WTF`_'s,\n specifically, Flask-Diced expects the form accepts a named parameter\n :code:`obj` to pass in the initial value for editing as well as\n :code:`validate_on_submit` method and :code:`populate_obj` method on the form\n class. In short, just use `Flask-WTF`.\n- the client should be redirected when done for POST requests.\n- views should have minimal business logic.\n\n\n.. _Flask-WTF: https://pypi.python.org/pypi/Flask-WTF\n\n\nFlask-Diced is Extensible\n=========================\n\nFlask-Diced is designed in a way that customizations can be easily done. All\nproperties and methods can be overridden for customization.\n\nFlask-Diced can be customized to the point that the assumptions described in\nlast section are refer to the default implementation and will no longer hold\ntrue if you customize relevant parts of it.\n\ne.g.,\n\n*Want to change how the objects list is fetched?*\n\n Override :code:`query_all`\n\n*Want to change the name of endpoint of the edit view?*\n\n Redefine :code:`edit_endpoint`\n\n*Want to use your own view function or control how views are registered?*\n\n Override respective view/register methods.\n\n\nInstallation\n============\n\nFlask-Diced is on PyPI.\n\n.. code-block:: sh\n\n pip install Flask-Diced\n\n\nLicense\n=======\n\nBSD New, see LICENSE for details.\n\n\nLinks\n=====\n\n- `Documentation `_\n\n- `Issue Tracker `_\n\n- `Source Package @ PyPI `_\n\n- `Mercurial Repository @ bitbucket\n `_\n\n- `Git Repository @ Github\n `_\n\n- `Git Repository @ Gitlab\n `_\n\n- `Development Version\n `_", "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/pyx/flask-diced/", "keywords": null, "license": "BSD-New", "maintainer": null, "maintainer_email": null, "name": "Flask-Diced", "package_url": "https://pypi.org/project/Flask-Diced/", "platform": "any", "project_url": "https://pypi.org/project/Flask-Diced/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/pyx/flask-diced/" }, "release_url": "https://pypi.org/project/Flask-Diced/0.3/", "requires_dist": null, "requires_python": null, "summary": "Flask-Diced - CRUD views generator for Flask", "version": "0.3" }, "last_serial": 2089186, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a2cc1dce1bc7df7deec27b93a3f7682d", "sha256": "720aa712f03a09c17f36812cbd208d6daaedbdc2518dca3e65f0ef71ccfbf0f8" }, "downloads": -1, "filename": "Flask-Diced-0.1.tar.gz", "has_sig": true, "md5_digest": "a2cc1dce1bc7df7deec27b93a3f7682d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6619, "upload_time": "2016-03-23T18:00:33", "url": "https://files.pythonhosted.org/packages/db/98/2a325748c04a7d507c584712767ae489b1e6d24358eb597d115005adc4ef/Flask-Diced-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "dedc1620bdacbdf96e66a17a4f7cee88", "sha256": "d1d3bd89f85bf9eeac432628b60fd280f1c921877245b2aad28f158d746e412b" }, "downloads": -1, "filename": "Flask-Diced-0.2.tar.gz", "has_sig": true, "md5_digest": "dedc1620bdacbdf96e66a17a4f7cee88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6710, "upload_time": "2016-03-30T05:43:49", "url": "https://files.pythonhosted.org/packages/6e/af/af946ad88e5b124906a9a5203a62e88d05fa19c7a5acd774e1b638f5dda7/Flask-Diced-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "a0dc7fa5f60f5e7ae14571b92e917029", "sha256": "49c6912b799ac6708aa010560f2ea484bcdbfa96973edb9d70d868abdcaa9a6d" }, "downloads": -1, "filename": "Flask-Diced-0.3.tar.gz", "has_sig": true, "md5_digest": "a0dc7fa5f60f5e7ae14571b92e917029", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6924, "upload_time": "2016-04-28T17:31:08", "url": "https://files.pythonhosted.org/packages/29/71/def8c9444fb44f8515253f2a91ee1fd7dca0ea7123c589cf799437c9d709/Flask-Diced-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a0dc7fa5f60f5e7ae14571b92e917029", "sha256": "49c6912b799ac6708aa010560f2ea484bcdbfa96973edb9d70d868abdcaa9a6d" }, "downloads": -1, "filename": "Flask-Diced-0.3.tar.gz", "has_sig": true, "md5_digest": "a0dc7fa5f60f5e7ae14571b92e917029", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6924, "upload_time": "2016-04-28T17:31:08", "url": "https://files.pythonhosted.org/packages/29/71/def8c9444fb44f8515253f2a91ee1fd7dca0ea7123c589cf799437c9d709/Flask-Diced-0.3.tar.gz" } ] }