{ "info": { "author": "Clinton James", "author_email": "clinton.james@anuit.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Flask", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "[![build status](https://travis-ci.org/jidn/flask-resteasy.svg?branch=master)](https://travis-ci.org/jidn/flask-resteasy.svg?branch=masterp)\n![version](http://img.shields.io/pypi/v/flask-resteasy.svg)\n![license](http://img.shields.io/pypi/l/flask-resteasy.svg)\n[![coverage](https://coveralls.io/repos/github/jidn/flask-resteasy/badge.svg?branch=master)](https://coveralls.io/github/jidn/flask-resteasy?branch=master)\n![downloads](http://img.shields.io/pypi/dm/flask-resteasy.svg)\n\n# Flask-RESTeasy\n\nIt starts with an itch. I was using Flask-RESTful but I soon started\nhaving to work around it with request parsing and output fields caused\nerrors. I got frustrated. I loved the project, but it was doing more\nthan what I wanted it to do.\n\nI just wanted something to ease the setup and binding of flask MethodViews\nfor handling JSON REST APIs. The rest can be handled by other packages\ndedicated to their tasks. I kept the basic resource handling for both\napps and blueprints and removed the rest: request parsing, output fields,\nauthentication, and static error handling.\n\nI wanted something simple in the way Flask was simple. This is my\nattempt at making it so. If you have seen Flask-RESTful, this will\nlook very familiar.\n\n# Install\n\nFor install you can use pip:\n\n```console\n$ pip install flask_resteasy\n```\n\n# QuickStart\n```python\nfrom flask import Flask\nfrom flask.ext import resteasy\n\napp = Flask(__name__)\napi = resteasy.Api(app)\n\n@api.resource('/')\nclass HelloWorld(resteasy.Resource):\n def get(self):\n return {'msg': 'Hello world'}\n\n def delete(self):\n return {'msg': 'Sorry Dave.'}\n\nif __name__ == '__main__':\n app.run(debug=True)\n```\n\nExecute that code and you have a running server on port 5000. If you get an error, you probably have something else running on that port. Either stop the other process or change the port in your Flask app.\n\nNow either check with a browser, or use the following commands.\n\n```console\n$ curl http://localhost:5000\n{\"msg\": \"Hello world\"}\n\n$ curl http://localhost:5000 -X \"DELETE\"\n{\"msg\": \"Sorry Dave.\"}\n```", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/jidn/flask-resteasy/tarball/0.0.8", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.github.com/jidn/flask-resteasy/", "keywords": "flask,REST,json,MethodView", "license": "Apache License 2.0", "maintainer": null, "maintainer_email": null, "name": "Flask-RESTeasy", "package_url": "https://pypi.org/project/Flask-RESTeasy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Flask-RESTeasy/", "project_urls": { "Download": "https://github.com/jidn/flask-resteasy/tarball/0.0.8", "Homepage": "https://www.github.com/jidn/flask-resteasy/" }, "release_url": "https://pypi.org/project/Flask-RESTeasy/0.0.8/", "requires_dist": null, "requires_python": null, "summary": "Create easy REST APIs with Flask", "version": "0.0.8" }, "last_serial": 2272918, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "fe87dea7ed9ea5a62b209df143504f43", "sha256": "16ad3f9cce42cc75cd59db4e36e9270d2a046c2412ce3a0d2cf8a101aae17c7d" }, "downloads": -1, "filename": "Flask-RESTeasy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "fe87dea7ed9ea5a62b209df143504f43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6394, "upload_time": "2015-03-03T16:20:10", "url": "https://files.pythonhosted.org/packages/68/38/2b4140fbd82c759d4fff26a0ceea54235e15b0fecef7b46ece8f261f86b4/Flask-RESTeasy-0.0.1.tar.gz" } ], "0.0.1.dev": [ { "comment_text": "", "digests": { "md5": "c44c8598ff3b5a411384888614b9be01", "sha256": "ad8fc6e40dc08dc79e210d9f051be055aec04049d3cfb4803980c31a1d4ae30f" }, "downloads": -1, "filename": "Flask-RESTeasy-0.0.1.dev.tar.gz", "has_sig": false, "md5_digest": "c44c8598ff3b5a411384888614b9be01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6277, "upload_time": "2015-02-17T03:44:14", "url": "https://files.pythonhosted.org/packages/77/67/8b6c1e91793e80efb48b5ab8e7177df8ae5228f21615dbb1f4761c7eb909/Flask-RESTeasy-0.0.1.dev.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "adde6d38ba8921f9d284443137ce927e", "sha256": "f45f491610d1617ec15953b519e62bc06a2ef028d82aa75801364904a79a8815" }, "downloads": -1, "filename": "Flask_RESTeasy-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "adde6d38ba8921f9d284443137ce927e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8043, "upload_time": "2015-03-03T18:37:07", "url": "https://files.pythonhosted.org/packages/66/a8/ced002670670fe41be2f09354b894c3b7a7fb5838c7eda98bcdc2556024a/Flask_RESTeasy-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a3af170533a79bbc65c491abf4d9345", "sha256": "fdf003cd082560104741962efe1181dd5b2326c741cfca8666568575b2f5b458" }, "downloads": -1, "filename": "Flask-RESTeasy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8a3af170533a79bbc65c491abf4d9345", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6406, "upload_time": "2015-03-03T18:37:04", "url": "https://files.pythonhosted.org/packages/f8/35/881fbf6180ffad24a15516a2543df50266d24f10abfb809723b3d1659d37/Flask-RESTeasy-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "44a9431bc85febd37e9f7e7fe1c4e6f0", "sha256": "3269bb7ed2468ef8722ca3b154470e6876e2534705380d454976b26d1f561af3" }, "downloads": -1, "filename": "Flask_RESTeasy-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "44a9431bc85febd37e9f7e7fe1c4e6f0", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 8555, "upload_time": "2015-05-26T22:01:14", "url": "https://files.pythonhosted.org/packages/d5/d4/0909f4a41358ed696a9a9b26b1b354f3d8ed3f15f70116d61aec60347908/Flask_RESTeasy-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c263e55814758dff138e413d5b0c19db", "sha256": "a8e08da82b5186266c2e526709c6a3ffa8eb815ebf444015699767b705921385" }, "downloads": -1, "filename": "Flask-RESTeasy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "c263e55814758dff138e413d5b0c19db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6929, "upload_time": "2015-05-26T22:01:11", "url": "https://files.pythonhosted.org/packages/50/5b/7bf2f2bd717ca5cf745686eff37a2bd3a6d817be1dcf4b4be8b42ee322b3/Flask-RESTeasy-0.0.3.tar.gz" } ], "0.0.3.1": [ { "comment_text": "", "digests": { "md5": "8f8b62f32255e75fe0760f3cd6c86808", "sha256": "20e033b5b0344866decae1da00ad953f3af78026ce8fa2f8b23878eb10be96db" }, "downloads": -1, "filename": "Flask-RESTeasy-0.0.3.1.tar.gz", "has_sig": false, "md5_digest": "8f8b62f32255e75fe0760f3cd6c86808", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6934, "upload_time": "2016-01-05T00:12:01", "url": "https://files.pythonhosted.org/packages/22/b4/b4642ab3a13fd6076159cb8c71e1a162daac1cf39e620277d57835ecf10c/Flask-RESTeasy-0.0.3.1.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "93f7efe3d846b8144ca297716124d428", "sha256": "2edd2d4dc5114fbcb90f52a79922a4773da0bd396acf708df82f42ca929f0ffb" }, "downloads": -1, "filename": "Flask_RESTeasy-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "93f7efe3d846b8144ca297716124d428", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 8543, "upload_time": "2016-01-05T01:24:13", "url": "https://files.pythonhosted.org/packages/d1/85/d8e7323ea5e89d19267972c5dbd70505115b670d338ee28f85395e74b749/Flask_RESTeasy-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5db17e28c8885aa6697060ba45153411", "sha256": "4fb258437f657ac5471fcabcdf6fd1fb1afdb0b7a831fd93ff9747718e726436" }, "downloads": -1, "filename": "Flask-RESTeasy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "5db17e28c8885aa6697060ba45153411", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6930, "upload_time": "2016-01-05T01:23:46", "url": "https://files.pythonhosted.org/packages/2a/29/bf9b7fc9c8d8cbb4b71e74df6fbf6bb8a6cb25281d9b208f592b18423f70/Flask-RESTeasy-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "eea9d731c1cbcacb23bf074bfff11540", "sha256": "141297addca263da6d886498b723395f498ad59ba519feea125c5e29232232d3" }, "downloads": -1, "filename": "Flask_RESTeasy-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "eea9d731c1cbcacb23bf074bfff11540", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8644, "upload_time": "2016-02-22T23:17:50", "url": "https://files.pythonhosted.org/packages/73/17/23a8cf5f09ec530491e2570e1a91b5f9004f274dae5b0b411401d5f4a478/Flask_RESTeasy-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e5a8dc58bf816de1b186a73e1751f503", "sha256": "0d59a570a4478e77ca0ce70ebadde125ac0c4c279d94f4c0a510b2d4e698d9e1" }, "downloads": -1, "filename": "Flask-RESTeasy-0.0.5.tar.gz", "has_sig": false, "md5_digest": "e5a8dc58bf816de1b186a73e1751f503", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6841, "upload_time": "2016-02-22T23:17:30", "url": "https://files.pythonhosted.org/packages/f4/68/8ab91577899869e319fc2f27d0373cff09b27aced7027520dda5a55155ae/Flask-RESTeasy-0.0.5.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "ccd56b4e4545a30806c48b278c9e4c1b", "sha256": "531476d15868cd41371cafcf601b0f8e9d3ffea1ec7808ccf033a955ec6c034b" }, "downloads": -1, "filename": "Flask_RESTeasy-0.0.7-py2-none-any.whl", "has_sig": false, "md5_digest": "ccd56b4e4545a30806c48b278c9e4c1b", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8779, "upload_time": "2016-06-09T00:25:44", "url": "https://files.pythonhosted.org/packages/3c/f6/d1df0d78883a29d6530fd9ad8e83963958a1d8a42ddb7b4d938cb2ee0914/Flask_RESTeasy-0.0.7-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "84cd7f67c761e7e87d9a05e3bc568fa1", "sha256": "86065bdadc28d745a51ff58186785c4b1280c6fbba4441c6744fd71b0a364b0c" }, "downloads": -1, "filename": "Flask-RESTeasy-0.0.7.tar.gz", "has_sig": false, "md5_digest": "84cd7f67c761e7e87d9a05e3bc568fa1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6934, "upload_time": "2016-06-09T00:25:36", "url": "https://files.pythonhosted.org/packages/09/1f/3cc33818a9113171c6c507a70c5cf72bf7cd4366d28c524b42593d6ebfa1/Flask-RESTeasy-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "5787ecf4dff5fa8dd877e508df038933", "sha256": "c08c80d6328cd26eef60b1b04f13c57187d7781ed45310cbfd935c64346b892d" }, "downloads": -1, "filename": "Flask_RESTeasy-0.0.8-py2-none-any.whl", "has_sig": false, "md5_digest": "5787ecf4dff5fa8dd877e508df038933", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8776, "upload_time": "2016-08-10T03:45:10", "url": "https://files.pythonhosted.org/packages/5f/d6/1f182ed21da4504e96831fed4ebaa14fed79e41a561b58ca6931237ecf70/Flask_RESTeasy-0.0.8-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b38f15e2c4121c50e7af4acb2e34a72b", "sha256": "5bfd8e91b37ea4a8e4554a17f6e592ba5999097119d50f2ba827ee0e1fe515d2" }, "downloads": -1, "filename": "Flask-RESTeasy-0.0.8.tar.gz", "has_sig": false, "md5_digest": "b38f15e2c4121c50e7af4acb2e34a72b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6941, "upload_time": "2016-08-10T03:45:07", "url": "https://files.pythonhosted.org/packages/5f/04/838bd54378a8434ae22ac0cec082883982d7e208111e5aebf66d5cd20cd2/Flask-RESTeasy-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5787ecf4dff5fa8dd877e508df038933", "sha256": "c08c80d6328cd26eef60b1b04f13c57187d7781ed45310cbfd935c64346b892d" }, "downloads": -1, "filename": "Flask_RESTeasy-0.0.8-py2-none-any.whl", "has_sig": false, "md5_digest": "5787ecf4dff5fa8dd877e508df038933", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8776, "upload_time": "2016-08-10T03:45:10", "url": "https://files.pythonhosted.org/packages/5f/d6/1f182ed21da4504e96831fed4ebaa14fed79e41a561b58ca6931237ecf70/Flask_RESTeasy-0.0.8-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b38f15e2c4121c50e7af4acb2e34a72b", "sha256": "5bfd8e91b37ea4a8e4554a17f6e592ba5999097119d50f2ba827ee0e1fe515d2" }, "downloads": -1, "filename": "Flask-RESTeasy-0.0.8.tar.gz", "has_sig": false, "md5_digest": "b38f15e2c4121c50e7af4acb2e34a72b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6941, "upload_time": "2016-08-10T03:45:07", "url": "https://files.pythonhosted.org/packages/5f/04/838bd54378a8434ae22ac0cec082883982d7e208111e5aebf66d5cd20cd2/Flask-RESTeasy-0.0.8.tar.gz" } ] }