{ "info": { "author": "Artem Gorokhov", "author_email": "a.gorohov@corp.mail.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Testing" ], "description": "================\nnoseapp_requests\n================\n\nRequests/Requests-Oauthlib extension for NoseApp library\n\n------------\nInstallation\n------------\n\n::\n\n\tpip install noseapp_requests\n\n-----\nUsage\n-----\n\n::\n\n\tfrom noseapp.ext.requests import RequestsEx, make_config\n\n\tendpoint = make_config()\n\tendpoint.configure(\n\t base_url='http://httpbin.org/',\n\t key='httpbin'\n\t)\n\tendpoint.session_configure(\n\t always_return_json=True,\n\t raise_on_http_error=True\n\t)\n\trequests_ex = RequestsEx(endpoint)\n\tapi = requests_ex.get_endpoint_session('httpbin', auth=('user', 'pass'))\n\tapi.get('basic-auth/user/pass')\n\tapi.get('get', key1='val1') # GET with query-string parameters\n\tapi.post('post', key1='val1') # POST form-encoded data\n\tapi.post('post', {'key1': 'val1'}) # POST JSON data\n\tapi.get('status/400') # raises HTTPError\n\n-------------\nDocumentation\n-------------\n\nhttp://noseapp-requests.readthedocs.org/\n", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/brannt/noseapp_requests", "keywords": "noseapp requests testing", "license": null, "maintainer": null, "maintainer_email": null, "name": "noseapp_requests", "package_url": "https://pypi.org/project/noseapp_requests/", "platform": "any", "project_url": "https://pypi.org/project/noseapp_requests/", "project_urls": { "Homepage": "https://github.com/brannt/noseapp_requests" }, "release_url": "https://pypi.org/project/noseapp_requests/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "requests extension for noseapp lib", "version": "0.0.2" }, "last_serial": 1506516, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "dc0b3ebda70fb6c5133aaa8117b3214e", "sha256": "98be34b1f4810b8d858f6cd1383ec316b2668adecbe07ce07e559275069d55c7" }, "downloads": -1, "filename": "noseapp_requests-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "dc0b3ebda70fb6c5133aaa8117b3214e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6605, "upload_time": "2015-04-03T11:58:01", "url": "https://files.pythonhosted.org/packages/01/24/71ee426e27b33f2ef1d8ae397ad56c37777cf648e731a765d2fedca511e6/noseapp_requests-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8bdf2a1d9fd67b9580af2ddbe60a3e5d", "sha256": "80a97d9c53ea60693f3b5a1cfaf218ca5790f73481bc9deef15994dc00f1c2f3" }, "downloads": -1, "filename": "noseapp_requests-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8bdf2a1d9fd67b9580af2ddbe60a3e5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4198, "upload_time": "2015-04-03T11:58:04", "url": "https://files.pythonhosted.org/packages/92/4a/5ee5282267ed039c2187b2e22bd56662a17cc5e1508e7437979956acb557/noseapp_requests-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "0e9d29e6969ed282718557e6f998d38f", "sha256": "42ae018a8864a4471e0bfaa0e92088b6c84c9652a216a3f3974d897ea2249724" }, "downloads": -1, "filename": "noseapp_requests-0.0.2.tar.gz", "has_sig": false, "md5_digest": "0e9d29e6969ed282718557e6f998d38f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4549, "upload_time": "2015-04-15T15:18:12", "url": "https://files.pythonhosted.org/packages/8f/4f/8b9cf6f3a595cd1c021da1cc832d43b316993655db4cbe4812e19f1e2072/noseapp_requests-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0e9d29e6969ed282718557e6f998d38f", "sha256": "42ae018a8864a4471e0bfaa0e92088b6c84c9652a216a3f3974d897ea2249724" }, "downloads": -1, "filename": "noseapp_requests-0.0.2.tar.gz", "has_sig": false, "md5_digest": "0e9d29e6969ed282718557e6f998d38f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4549, "upload_time": "2015-04-15T15:18:12", "url": "https://files.pythonhosted.org/packages/8f/4f/8b9cf6f3a595cd1c021da1cc832d43b316993655db4cbe4812e19f1e2072/noseapp_requests-0.0.2.tar.gz" } ] }