{ "info": { "author": "Morgan Delahaye-Prat", "author_email": "mdp@sillog.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "Hypr. |master-travis| |master-coveralls|\n========================================\n\nBuild a secure and RESTful hypermedia API.\n\n\nHypr. is an open-source framework to empower you to build modern webservices\nand let your projects embrace the hyperconnectivity era with no concession on\nthe security.\n\nDriven by concepts such as KISS and DRY, getting started with Hypr. is a matter\nof minutes. Scroll this page to discover some of the included features.\n\n\nAn example before going further\n-------------------------------\n\n::\n\n from hypr import Hypr\n from hypr.models import SQLiteModel\n from hypr.providers import CRUDProvider\n\n\n class User(SQLiteModel):\n \"\"\"A simple user.\"\"\"\n\n def __init__(self, name):\n self.name = name\n\n\n class UserProvider(CRUDProvider):\n \"\"\"A CRUD provider for User.\"\"\"\n\n __model__ = User\n\n\n app = Hypr()\n app.add_provider(UserProvider, '/users', '/users/')\n\n if __name__ == '__main__':\n\n app.run()\n\n\n\n\nRunning this example will start a stand-alone development server listening on\nport 5555. The created API lets you to query, create, update or delete User\nobjects.\n\nIf you want to give a try, execute the following commands :\n\nCreate a user::\n\n $ curl -XPOST http://127.0.0.1:5555/users -d '{\"name\": \"dave\"}'\n\nList registered users::\n\n $ curl -XGET http://127.0.0.1:5555/users\n\nGet a specific user::\n\n $ curl -XGET http://127.0.0.1:5555/users/1\n\nWhere 1 is the user's id.\n\nUpdate a specific user::\n\n $ curl -XPUT http://127.0.0.1:5555/users/1 -d {\"name\": \"hal\"}\n\nDelete a user::\n\n $ curl -XDELETE http://127.0.0.1:5555/users/1\n\nThis example is pretty useless but illustrates perfectly the simplicity and\nphilosophy behind Hypr.\n\nTo discover how to take advantage of all the features included in Hypr, check\nout the project documentation. You also can contribute to the project on Github\nby reporting bugs or submitting features you want to see to appear.\n\n\n.. |master-coveralls| image:: https://coveralls.io/repos/github/project-hypr/hypr2/badge.svg?branch=master\n :target: https://coveralls.io/github/project-hypr/hypr2?branch=master\n\n.. |master-travis| image:: https://travis-ci.org/project-hypr/hypr2.svg?branch=master\n :target: https://travis-ci.org/project-hypr/hypr2", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://project-hypr.github.io", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "Hypr", "package_url": "https://pypi.org/project/Hypr/", "platform": "any", "project_url": "https://pypi.org/project/Hypr/", "project_urls": { "Homepage": "https://project-hypr.github.io" }, "release_url": "https://pypi.org/project/Hypr/0.8.4/", "requires_dist": null, "requires_python": "", "summary": "Build a secure and RESTful hypermedia API.", "version": "0.8.4" }, "last_serial": 2609749, "releases": { "0.8.0": [ { "comment_text": "", "digests": { "md5": "49dcad8ce44e421124010c0a8b1f4e40", "sha256": "2663138172629c74d774487978b2d7808e3b57d46bc3d5ee00feaaa78340266d" }, "downloads": -1, "filename": "hypr-0.8.0.tar.gz", "has_sig": false, "md5_digest": "49dcad8ce44e421124010c0a8b1f4e40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26040, "upload_time": "2016-10-31T20:39:12", "url": "https://files.pythonhosted.org/packages/10/9b/a7dc385dcafa3779d04809e711c50e1b3051db180131e9d2b82ee34a93f1/hypr-0.8.0.tar.gz" } ], "0.8.2": [ { "comment_text": "", "digests": { "md5": "48b676f9a7e353748537740996e8d872", "sha256": "f26003c0a726d38cbe8bc49c0993a0927d922791dae5196afe3a5bf22b3b6d24" }, "downloads": -1, "filename": "hypr-0.8.2-py3-none-any.whl", "has_sig": false, "md5_digest": "48b676f9a7e353748537740996e8d872", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 37303, "upload_time": "2017-01-27T15:42:57", "url": "https://files.pythonhosted.org/packages/ee/6f/827e36fe22a08954e31b914e5934654b124880dc588affa612eca35bdccc/hypr-0.8.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af30b68b5f11428e4d9d3c2f785bd24b", "sha256": "e38298a4e86a9afc7857f9f417c2434fd012a57c96aba97697d9de0b95ce4415" }, "downloads": -1, "filename": "hypr-0.8.2.tar.gz", "has_sig": false, "md5_digest": "af30b68b5f11428e4d9d3c2f785bd24b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26506, "upload_time": "2017-01-27T15:39:44", "url": "https://files.pythonhosted.org/packages/e7/45/3cd8b5f9546aba172a150f19faf1b41c853268ec4e370c9035fb7298be74/hypr-0.8.2.tar.gz" } ], "0.8.3": [ { "comment_text": "", "digests": { "md5": "d4d2a0c2edc23830748fc63a1f95e195", "sha256": "921f410b909950eae00d199a7dc0e972eced5789b47e26da0ff00eb034b483e9" }, "downloads": -1, "filename": "hypr-0.8.3.tar.gz", "has_sig": false, "md5_digest": "d4d2a0c2edc23830748fc63a1f95e195", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26618, "upload_time": "2017-01-30T22:29:27", "url": "https://files.pythonhosted.org/packages/57/eb/90c2fbf35af9500794f0c0a970790c38580d97036212ccd542a2f9f66806/hypr-0.8.3.tar.gz" } ], "0.8.4": [ { "comment_text": "", "digests": { "md5": "370a2eac68295d5d21eba8b0b0ae3a4c", "sha256": "5eb30cd1bb7145e44b510955dee4805c33148ec9c1a37193b9955a9258e783c2" }, "downloads": -1, "filename": "hypr-0.8.4.tar.gz", "has_sig": false, "md5_digest": "370a2eac68295d5d21eba8b0b0ae3a4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27004, "upload_time": "2017-01-31T17:33:01", "url": "https://files.pythonhosted.org/packages/fa/2c/5de0922216191b846d06e168da8286c4a08e900b08a5991697b9bd6ddc15/hypr-0.8.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "370a2eac68295d5d21eba8b0b0ae3a4c", "sha256": "5eb30cd1bb7145e44b510955dee4805c33148ec9c1a37193b9955a9258e783c2" }, "downloads": -1, "filename": "hypr-0.8.4.tar.gz", "has_sig": false, "md5_digest": "370a2eac68295d5d21eba8b0b0ae3a4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27004, "upload_time": "2017-01-31T17:33:01", "url": "https://files.pythonhosted.org/packages/fa/2c/5de0922216191b846d06e168da8286c4a08e900b08a5991697b9bd6ddc15/hypr-0.8.4.tar.gz" } ] }