{ "info": { "author": "Kevin L. Mitchell", "author_email": "kevin.mitchell@rackspace.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=========================================\nStraight-forward REST client construction\n=========================================\n\nThis package provides a simple mechanism for constructing clients for\nREST-based services. Every client extends the RESTClient class, and\nevery method which hits the REST service is decorated with the\n@restmethod() decorator. The @restmethod() decorator causes the\ndecorated method to be passed an additional argument (after the \"self\"\nargument): an HTTPRequest object. The method may then manipulate\nrequest headers and the body of the request, then use the send()\nmethod on the HTTPRequest object to issue the request. The return\nvalue of the send() method will be an httplib2.Response object, which\ncan then be interpreted. If the response is a redirection, httplib2\nwill follow the redirection; if the response is an error (status code\n400 or greater), an exception is raised.\n\nJSON-based Clients\n==================\n\nThe rest package also includes the rest.jsclient module, which\nprovides a JSONClient class geared toward those REST services which\nuse JSON-encoded data. An additional _attach_obj() method is provided\nfor JSONClient, and responses have any available valid JSON decoded\nand placed in the ``obj`` attribute of the response. (The ``body``\nattribute of the response is additionally set to the content of the\nresponse, whether or not it is valid JSON.)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/klmitch/requiem", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "Requiem", "package_url": "https://pypi.org/project/Requiem/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Requiem/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/klmitch/requiem" }, "release_url": "https://pypi.org/project/Requiem/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "REST Client Constructor", "version": "0.2.1" }, "last_serial": 785533, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "5e314b01d6836ca60ab5e4baa922ad1a", "sha256": "c74d08fb5b40a63cc16836aaec845717096a6acf4974c31f4f15c2084f7bc743" }, "downloads": -1, "filename": "Requiem-0.1.tar.gz", "has_sig": false, "md5_digest": "5e314b01d6836ca60ab5e4baa922ad1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13074, "upload_time": "2011-06-08T21:37:08", "url": "https://files.pythonhosted.org/packages/4e/01/02931c567f3581c80c30989639aff1b55ccb81feed2ae2bf35efc5101425/Requiem-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "4d2995d737cf23273726ac72029deebe", "sha256": "73c44fd71d80e84205b94d0b2bfe100f43f291bb7a0b1bc6876b13f798449d8e" }, "downloads": -1, "filename": "Requiem-0.2.tar.gz", "has_sig": false, "md5_digest": "4d2995d737cf23273726ac72029deebe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14079, "upload_time": "2011-08-31T00:13:45", "url": "https://files.pythonhosted.org/packages/9a/34/7046aff653388d3b7ac34248c82a930db5651cab0f26c11d7628dda5fd4e/Requiem-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "c8b32ede365e8708752c45a8f8044f54", "sha256": "60dcfcafd54bddedc8ab44af2eb00e6f585f69f034f4c633f9448b99b3a06217" }, "downloads": -1, "filename": "Requiem-0.2.1.tar.gz", "has_sig": false, "md5_digest": "c8b32ede365e8708752c45a8f8044f54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14088, "upload_time": "2011-09-07T21:28:09", "url": "https://files.pythonhosted.org/packages/70/7a/f3b6aa413fba155eeeae65094488c65900e9c45a20c483d850a7370f7599/Requiem-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c8b32ede365e8708752c45a8f8044f54", "sha256": "60dcfcafd54bddedc8ab44af2eb00e6f585f69f034f4c633f9448b99b3a06217" }, "downloads": -1, "filename": "Requiem-0.2.1.tar.gz", "has_sig": false, "md5_digest": "c8b32ede365e8708752c45a8f8044f54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14088, "upload_time": "2011-09-07T21:28:09", "url": "https://files.pythonhosted.org/packages/70/7a/f3b6aa413fba155eeeae65094488c65900e9c45a20c483d850a7370f7599/Requiem-0.2.1.tar.gz" } ] }