{ "info": { "author": "Samson Rapando", "author_email": "samsonrapando@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# rcurl\n\nA simple package of generating curl statements from requests.\n\nFor now the supported methods are limited. Checl the samples in `usage`\n\n## Installation\n```bash\npip install rcurl\n```\n\n## Usage\n```py\nimport json\n\nimport requests\n\nfrom rcurl import get_curl\n\nreq_one = requests.get(\"https://google.com\")\ncurl_command_one = get_curl(req_one)\n\nreq_two = requests.post(\"https://google.com\")\ncurl_command_two = get_curl(req_two)\n\ndata = json.dumps({'a': 'b', 'x': 45})\nheaders = {\n 'content-type': 'application/json',\n 'authorization': 'Bearer dhsfdJGHGDH'\n}\nreq_three = requests.post(\"https://google.com\", data=data, headers=headers)\ncurl_command_three = get_curl(req_three)\n\nprint (curl_command_one)\nprint (curl_command_two)\nprint (curl_command_three)\n```\n\n## Build\n```bash\npython setup.py bdist_wheel sdist\ntwine upload dist/*\n```\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rapando/rcurl", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "rcurl", "package_url": "https://pypi.org/project/rcurl/", "platform": "", "project_url": "https://pypi.org/project/rcurl/", "project_urls": { "Homepage": "https://github.com/rapando/rcurl" }, "release_url": "https://pypi.org/project/rcurl/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Generate curl commands from python-requests", "version": "0.0.2" }, "last_serial": 5415551, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "7e05b49f4cefc8f083cb97e3fe6ba7d5", "sha256": "6fceee29f682728fb86f2dee5280b0ff413fea2268eeb323267b79be6a4a1d46" }, "downloads": -1, "filename": "rcurl-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7e05b49f4cefc8f083cb97e3fe6ba7d5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1911, "upload_time": "2019-06-18T14:03:25", "url": "https://files.pythonhosted.org/packages/a0/bb/70f502d56fa7d2147bc6bc7d18819589262c0b5926789f7e98ffa240b9f2/rcurl-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d2fee20832c4287a2236866384a38d5", "sha256": "2cf8f7f2114d298a65f6f06c8685e0defb36b942e2073088e52473faccb71646" }, "downloads": -1, "filename": "rcurl-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7d2fee20832c4287a2236866384a38d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1713, "upload_time": "2019-06-18T14:03:28", "url": "https://files.pythonhosted.org/packages/10/d5/5477ca6542d19746be754998a3c2e5e58ce25a3ef3f7acd288a2f1db9ab7/rcurl-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "9a618a1350e5c280fa145ea23c36fe4b", "sha256": "680674833438e24295630c5310cc5aa6ba202299f2fb33bf8ae86fb6f3de81f9" }, "downloads": -1, "filename": "rcurl-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9a618a1350e5c280fa145ea23c36fe4b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1962, "upload_time": "2019-06-18T14:08:51", "url": "https://files.pythonhosted.org/packages/7e/c7/f9f070a787c8af6eb7d35e5ba56c0cc60ed6c219fc4bc6237e292e2c8faf/rcurl-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ed9d8af3b7b76af0997549ae8304566e", "sha256": "a0f7fac4cb8e49739a2951833a7fbb8f0be2d808f24029eafad35cfd184c6a53" }, "downloads": -1, "filename": "rcurl-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ed9d8af3b7b76af0997549ae8304566e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1777, "upload_time": "2019-06-18T14:08:52", "url": "https://files.pythonhosted.org/packages/f1/33/dc8d3c943b6eee64248c1d72a3e5daa7a51f9d18aa6291bd01830179b377/rcurl-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9a618a1350e5c280fa145ea23c36fe4b", "sha256": "680674833438e24295630c5310cc5aa6ba202299f2fb33bf8ae86fb6f3de81f9" }, "downloads": -1, "filename": "rcurl-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9a618a1350e5c280fa145ea23c36fe4b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1962, "upload_time": "2019-06-18T14:08:51", "url": "https://files.pythonhosted.org/packages/7e/c7/f9f070a787c8af6eb7d35e5ba56c0cc60ed6c219fc4bc6237e292e2c8faf/rcurl-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ed9d8af3b7b76af0997549ae8304566e", "sha256": "a0f7fac4cb8e49739a2951833a7fbb8f0be2d808f24029eafad35cfd184c6a53" }, "downloads": -1, "filename": "rcurl-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ed9d8af3b7b76af0997549ae8304566e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1777, "upload_time": "2019-06-18T14:08:52", "url": "https://files.pythonhosted.org/packages/f1/33/dc8d3c943b6eee64248c1d72a3e5daa7a51f9d18aa6291bd01830179b377/rcurl-0.0.2.tar.gz" } ] }