{ "info": { "author": "SOON_", "author_email": "dorks@thisissoon.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Flask", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "License :: Public Domain", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Flask-HAL\n=========\n\n|circle| |downloads| |version| |license| |docs|\n\nHello Dave...\n\nI provide easy integration of the `HAL `_\nspecification for your ``REST`` Flask Applications.\n\nHere is an example Dave...\n\n.. sourcecode:: python\n\n # Third Party Libs\n from flask import Flask\n\n # First Party Libs\n from flask_hal import HAL, document\n\n\n app = Flask(__name__)\n HAL(app) # Initialise HAL\n\n\n @app.route('/hello')\n def hello():\n return document.Document(data={\n 'message': 'Hello World'\n })\n\n\n if __name__ == \"__main__\":\n app.run(debug=True)\n\nHere is the response from the above view.\n\n.. sourcecode:: http\n\n HTTP/1.1 200 OK\n Content-Type: application/hal+json; charset=UTF-8\n Date: Thu, 06 Aug 2015 10:24:04 GMT\n\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/hello\"\n },\n },\n \"foo\": \"bar\"\n }\n\n## Contributing\n\nRun tests using `python setup.py test`.\n\n.. |circle| image:: https://img.shields.io/circleci/project/thisissoon/Flask-HAL.svg\n :target: https://circleci.com/gh/thisissoon/Flask-HAL\n\n.. |downloads| image:: http://img.shields.io/pypi/dm/Flask-HAL.svg\n :target: https://pypi.python.org/pypi/Flask-HAL\n\n.. |version| image:: http://img.shields.io/pypi/v/Flask-HAL.svg\n :target: https://pypi.python.org/pypi/Flask-HAL\n\n.. |license| image:: http://img.shields.io/pypi/l/Flask-HAL.svg\n :target: https://pypi.python.org/pypi/Flask-HAL\n\n.. |docs| image:: https://img.shields.io/badge/documentation-latest-blue.svg\n :target: http://flask-hal.soon.build/en/latest/\n\nChange Log\n----------\n\n1.0.3\n~~~~~\n- Correctly deserialise embedded documents: #25\n- Support python setup.py test syntax: #24\n\n1.0.2\n~~~~~\n- Multiple links with the same relation will be put into an array\n\n1.0.1\n~~~~~\n- ``self`` links now take into account ``SERVER_NAME`` configuration\n\n1.0.0\n~~~~~\n- A list can be used in data for Embedded object\n\n2015.10.8\n~~~~~~~~~\n- Initial release including the core feature set", "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/thisissoon/Flask-HAL", "keywords": "Flask,HAL,REST,Views", "license": "Public Domain", "maintainer": null, "maintainer_email": null, "name": "Flask-HAL", "package_url": "https://pypi.org/project/Flask-HAL/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Flask-HAL/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/thisissoon/Flask-HAL" }, "release_url": "https://pypi.org/project/Flask-HAL/1.0.4/", "requires_dist": null, "requires_python": null, "summary": "Provides easy integration of the HAL specification for your REST Flask Applications.", "version": "1.0.4" }, "last_serial": 2415232, "releases": { "1.0.2": [], "1.0.3": [], "1.0.4": [ { "comment_text": "", "digests": { "md5": "01576a602b4e1ff146b4f6b04dcc6907", "sha256": "daa0d723d0b5d3e7ac47e98283d76d652192d023b021c66fb35eab5a607a2df7" }, "downloads": -1, "filename": "Flask-HAL-1.0.4.tar.gz", "has_sig": false, "md5_digest": "01576a602b4e1ff146b4f6b04dcc6907", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6141, "upload_time": "2016-10-21T14:08:55", "url": "https://files.pythonhosted.org/packages/49/2a/3814885540bd22d737068494756b3fbd2fa025f0e7f5ac1781dfe1d13f99/Flask-HAL-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "01576a602b4e1ff146b4f6b04dcc6907", "sha256": "daa0d723d0b5d3e7ac47e98283d76d652192d023b021c66fb35eab5a607a2df7" }, "downloads": -1, "filename": "Flask-HAL-1.0.4.tar.gz", "has_sig": false, "md5_digest": "01576a602b4e1ff146b4f6b04dcc6907", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6141, "upload_time": "2016-10-21T14:08:55", "url": "https://files.pythonhosted.org/packages/49/2a/3814885540bd22d737068494756b3fbd2fa025f0e7f5ac1781dfe1d13f99/Flask-HAL-1.0.4.tar.gz" } ] }