{
"info": {
"author": "Maxim Kulkin",
"author_email": "maxim.kulkin@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6"
],
"description": "****************\nhttp-test-client\n****************\n\nLibrary to simplify writing HTTP REST service integration tests.\n\nAllows to build a HTTP REST client with automatic resource cleanup.\n\nExample\n=======\n\n.. code:: python\n\n from http_test_client import Client, HttpTransport, RestResources, resources\n\n class ArticleResources(RestResources):\n def search(self, query):\n return self._request('/search', method='POST', data={'query': query})\n\n class Resource(RestResources.Resource):\n def publish(self):\n return self._request('/publish', method='POST')\n\n comments = resources('/comments')\n\n class MyClient(Client):\n users = resources('/users')\n articles = resources('/articles', ArticleResources)\n\n client = MyClient(HttpTransport('http://localhost:8888'))\n\n # managing resources\n client.users.list() # => [{'id': '1', 'name': 'John'}, ...]\n client.users.create({'name': 'Jane'}) # => {'id': '2'}\n client.users['1'].get() # => {'id': '1', 'name': 'John'}\n client.users['1'].delete()\n\n # delete all resources that were created during this client session\n client.cleanup()\n\n # custom action\n client.articles['123'].publish()\n\n # nested resources\n client.articles['123'].comments.list()\n\n\nInstallation\n============\n::\n\n $ pip install http-test-client\n\n\nRequirements\n============\n\n- Python >= 2.7 and <= 3.6\n- `requests `_ >= 2.14\n- six >= 1.10\n\nProject Links\n=============\n\n- PyPI: https://pypi.python.org/pypi/http-test-client\n- Issues: https://github.com/maximkulkin/http-test-client/issues\n\nLicense\n=======\n\nMIT licensed. See the bundled `LICENSE `_ file for more details.\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/maximkulkin/http-test-client",
"keywords": "",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "http-test-client",
"package_url": "https://pypi.org/project/http-test-client/",
"platform": "",
"project_url": "https://pypi.org/project/http-test-client/",
"project_urls": {
"Homepage": "https://github.com/maximkulkin/http-test-client"
},
"release_url": "https://pypi.org/project/http-test-client/0.3.2/",
"requires_dist": null,
"requires_python": "",
"summary": "Library to simplify writing HTTP REST service integration tests",
"version": "0.3.2"
},
"last_serial": 3753682,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "d58cc2ac108e2e601060be36bcec5f86",
"sha256": "fe2942568c4d975fd0066d44f9b27ca9e0ee2bfdbcce5cd3c30a65c7dcb8d154"
},
"downloads": -1,
"filename": "http_test_client-0.1-py2-none-any.whl",
"has_sig": false,
"md5_digest": "d58cc2ac108e2e601060be36bcec5f86",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 4565,
"upload_time": "2017-06-02T06:26:55",
"url": "https://files.pythonhosted.org/packages/17/ef/c515ff8a6562c666adaad6c5b51ac0d94131fc1e9ae40ad03d72bb6e167f/http_test_client-0.1-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "751787132b8dd61aede25e7654d243df",
"sha256": "7406c321b2bce34c981bcaeacf2b4dcaaf7fcb1434e0c82fd2972d6a48b1f787"
},
"downloads": -1,
"filename": "http_test_client-0.1.tar.gz",
"has_sig": false,
"md5_digest": "751787132b8dd61aede25e7654d243df",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3827,
"upload_time": "2017-06-02T06:26:57",
"url": "https://files.pythonhosted.org/packages/20/b8/cdf394898e4c3e2b87158ca2b74a668dcfe25d2e17db8bd93517b735425d/http_test_client-0.1.tar.gz"
}
],
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "a8d3c55855c5efa5818b68aa89a1013b",
"sha256": "e809ba7da516335a6ec222db6c7ff3b0f3d81e6890630d21534adfd0de0015a8"
},
"downloads": -1,
"filename": "http_test_client-0.2-py2-none-any.whl",
"has_sig": false,
"md5_digest": "a8d3c55855c5efa5818b68aa89a1013b",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 4592,
"upload_time": "2017-07-31T23:54:06",
"url": "https://files.pythonhosted.org/packages/90/70/26851176bd735779e81598e22f7566615bb1a53c29b18f127091e0d911a1/http_test_client-0.2-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "f7d81d26fc2861d729a307fce54b66f4",
"sha256": "6f985fe1587e7090c27cd8dacd7107b6be3c9ca22221ec15dba33502d072ece1"
},
"downloads": -1,
"filename": "http_test_client-0.2.tar.gz",
"has_sig": false,
"md5_digest": "f7d81d26fc2861d729a307fce54b66f4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3860,
"upload_time": "2017-07-31T23:54:07",
"url": "https://files.pythonhosted.org/packages/15/95/fa6c2622b6b75a31f2e3960e5a1e1bfe724c28b851ae1809afa23bdf4d2c/http_test_client-0.2.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "52467411f502f4fd8af50ced0958cefa",
"sha256": "8f4f485da21d0b05fb1d5a608b612d01395ba09fb27540ed3b1db3a1a35ed9e5"
},
"downloads": -1,
"filename": "http_test_client-0.2.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "52467411f502f4fd8af50ced0958cefa",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 6070,
"upload_time": "2017-08-01T02:44:06",
"url": "https://files.pythonhosted.org/packages/98/25/fca8827c3f93ed31d9faea3037f28a44149f76f04fb7d3e004e3ea7c8863/http_test_client-0.2.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "3664edf04a978272935be79d6b099d98",
"sha256": "0b24a377f91219922560f30501f68d2786514c056b60c468c8bee8e349188c9a"
},
"downloads": -1,
"filename": "http_test_client-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "3664edf04a978272935be79d6b099d98",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4116,
"upload_time": "2017-08-01T02:44:07",
"url": "https://files.pythonhosted.org/packages/11/5e/eade3612065bc222b99407ddacd5370efd9344a0a3d3df4fa1ab6008c4ab/http_test_client-0.2.1.tar.gz"
}
],
"0.3": [
{
"comment_text": "",
"digests": {
"md5": "205525251afcaea6e9ff72078185b8ce",
"sha256": "a64ea2d023aa87fc41b9a27653a2887740050a3b222d54dc27ca230c9bd61d90"
},
"downloads": -1,
"filename": "http_test_client-0.3-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "205525251afcaea6e9ff72078185b8ce",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 6529,
"upload_time": "2018-04-09T21:13:14",
"url": "https://files.pythonhosted.org/packages/2a/41/ff9c6b46af3767dd6dcf418da12eb93d287e5d991555562c136c357c901b/http_test_client-0.3-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "1d03935edbc507d3cc42b92e45136ea8",
"sha256": "dc10e1a6079ed95400858184d799ee2d07dc696b29761e196500aacc23f57fba"
},
"downloads": -1,
"filename": "http_test_client-0.3.tar.gz",
"has_sig": false,
"md5_digest": "1d03935edbc507d3cc42b92e45136ea8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4592,
"upload_time": "2018-04-09T21:13:13",
"url": "https://files.pythonhosted.org/packages/a5/c0/0fcbc31cf3f8c9ee559a349ae69b23bbf78400e79661e1c22cf161e0e520/http_test_client-0.3.tar.gz"
}
],
"0.3.1": [
{
"comment_text": "",
"digests": {
"md5": "b4f72f98a033b567491d89a57c36df40",
"sha256": "bced917f9f9d36c28399fdd730dc2b191076e8ab73bb8044764f08059bb9eeef"
},
"downloads": -1,
"filename": "http_test_client-0.3.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b4f72f98a033b567491d89a57c36df40",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 6549,
"upload_time": "2018-04-10T09:18:54",
"url": "https://files.pythonhosted.org/packages/3e/52/8ccc8c9e2dfa586dca81469cc90b35c24fc8e53d16d837f95a9ad39b7cd0/http_test_client-0.3.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "bcd5722ed081c466be95a388255cb46c",
"sha256": "1049ea2f9266a770edfc6107d98dc132a8a11a5b4c443280aead9b1ec4ae1e82"
},
"downloads": -1,
"filename": "http_test_client-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "bcd5722ed081c466be95a388255cb46c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4597,
"upload_time": "2018-04-10T09:18:52",
"url": "https://files.pythonhosted.org/packages/9e/dd/c67140c839bfb0f91446de2e30c21ccfa6ee338c2f621a97fc85f6226c45/http_test_client-0.3.1.tar.gz"
}
],
"0.3.2": [
{
"comment_text": "",
"digests": {
"md5": "29ee0b385bcb341416157c12f1cdc7df",
"sha256": "58ff645d5ee53e1d6d2560744242221982902e8d9c6733ea81d3cbfd14ab6426"
},
"downloads": -1,
"filename": "http_test_client-0.3.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "29ee0b385bcb341416157c12f1cdc7df",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 6553,
"upload_time": "2018-04-10T20:56:05",
"url": "https://files.pythonhosted.org/packages/db/34/1d32dc7d4a2e28bfc616d17b85986ee022ad303cc6b4b04c69c2db0862a5/http_test_client-0.3.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "9a1cad65c4486c4905a1918344bd6969",
"sha256": "c5fce02c84ceba05fcc28fc742ed73b9f9dcc1cf71c8649a91413b93c311a7b3"
},
"downloads": -1,
"filename": "http_test_client-0.3.2.tar.gz",
"has_sig": false,
"md5_digest": "9a1cad65c4486c4905a1918344bd6969",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4600,
"upload_time": "2018-04-10T20:56:04",
"url": "https://files.pythonhosted.org/packages/20/ac/918658f2f4c83720b249965583f65ae013ec9517a9afb86ff58e191abc8c/http_test_client-0.3.2.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "29ee0b385bcb341416157c12f1cdc7df",
"sha256": "58ff645d5ee53e1d6d2560744242221982902e8d9c6733ea81d3cbfd14ab6426"
},
"downloads": -1,
"filename": "http_test_client-0.3.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "29ee0b385bcb341416157c12f1cdc7df",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 6553,
"upload_time": "2018-04-10T20:56:05",
"url": "https://files.pythonhosted.org/packages/db/34/1d32dc7d4a2e28bfc616d17b85986ee022ad303cc6b4b04c69c2db0862a5/http_test_client-0.3.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "9a1cad65c4486c4905a1918344bd6969",
"sha256": "c5fce02c84ceba05fcc28fc742ed73b9f9dcc1cf71c8649a91413b93c311a7b3"
},
"downloads": -1,
"filename": "http_test_client-0.3.2.tar.gz",
"has_sig": false,
"md5_digest": "9a1cad65c4486c4905a1918344bd6969",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4600,
"upload_time": "2018-04-10T20:56:04",
"url": "https://files.pythonhosted.org/packages/20/ac/918658f2f4c83720b249965583f65ae013ec9517a9afb86ff58e191abc8c/http_test_client-0.3.2.tar.gz"
}
]
}