{ "info": { "author": "Claudio Salazar", "author_email": "csalazar@spect.cl", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "minreq\n======\n\nCheck required data in a request.\n\nUsage\n-----\n\nSome time ago Chrome Developers tools added `Copy as\nCurl `_ feature.\nThis tool receives as input a curl command, parses it and\nchecks what data is required to repeat the request successfully.\nIt currently supports `GET` and `POST` requests.\n\nThe output depends on the action,\nwhich are currently `print_results` and `print_scrapy_request`.\nAn example using the latest one is shown below:\n\n\n.. code:: python\n\n $ python minreq-runner.py --action print_scrapy_request\n curl 'https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*'\n -H 'accept-encoding: gzip, deflate, sdch' -H 'accept-language: en-US,en;q=0.8,es;q=0.6'\n -H 'user-agent: Mozilla/5.0' -H 'accept: */*' -H 'referer: https://en.wikipedia.org/wiki/Example'\n -H 'cookie: GeoIP=:::::v6; WMF-Last-Access=23-Jun-2015' --compressed\n\n\n Scrapy request\n --------------\n\n\n from scrapy.http import Request\n\n return Request(\n url='https://en.wikipedia.org/w/load.php?only=scripts&modules=startup',\n cookies={},\n headers={},\n callback='method'\n )\n\n\n\n\nHistory\n-------\n\n0.1.0 (2015-11-05)\n---------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/csalazar/minreq", "keywords": "minreq", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "minreq", "package_url": "https://pypi.org/project/minreq/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/minreq/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/csalazar/minreq" }, "release_url": "https://pypi.org/project/minreq/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Check required data in a request.", "version": "0.1.0" }, "last_serial": 1803393, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "17698a63062cbb2038e5a63e7b77d4ae", "sha256": "254f987871379036da0befadf731df5740c45df4a32117a69bed41f5a32e02d4" }, "downloads": -1, "filename": "minreq-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "17698a63062cbb2038e5a63e7b77d4ae", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8057, "upload_time": "2015-11-05T20:35:28", "url": "https://files.pythonhosted.org/packages/c3/05/00db0582425c5cc55547a38b1cebb9790b2404098e9fb1e0ec911b2edd7c/minreq-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7711a3e7968bb78ab286e4fa7a7d2644", "sha256": "73222fc91a30bea333e5d2e66f46ff0b6c562650cf183d7471a12d0fbd307473" }, "downloads": -1, "filename": "minreq-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7711a3e7968bb78ab286e4fa7a7d2644", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5936, "upload_time": "2015-11-05T20:35:23", "url": "https://files.pythonhosted.org/packages/58/f2/db7be8245db63638ca7d0c24d7c3c1a16b8ca972dafbcbf85c05a438168d/minreq-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "17698a63062cbb2038e5a63e7b77d4ae", "sha256": "254f987871379036da0befadf731df5740c45df4a32117a69bed41f5a32e02d4" }, "downloads": -1, "filename": "minreq-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "17698a63062cbb2038e5a63e7b77d4ae", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8057, "upload_time": "2015-11-05T20:35:28", "url": "https://files.pythonhosted.org/packages/c3/05/00db0582425c5cc55547a38b1cebb9790b2404098e9fb1e0ec911b2edd7c/minreq-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7711a3e7968bb78ab286e4fa7a7d2644", "sha256": "73222fc91a30bea333e5d2e66f46ff0b6c562650cf183d7471a12d0fbd307473" }, "downloads": -1, "filename": "minreq-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7711a3e7968bb78ab286e4fa7a7d2644", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5936, "upload_time": "2015-11-05T20:35:23", "url": "https://files.pythonhosted.org/packages/58/f2/db7be8245db63638ca7d0c24d7c3c1a16b8ca972dafbcbf85c05a438168d/minreq-0.1.0.tar.gz" } ] }