{"id":13625946,"url":"https://github.com/guyskk/curequests","last_synced_at":"2025-04-07T13:08:56.707Z","repository":{"id":38326087,"uuid":"108733135","full_name":"guyskk/curequests","owner":"guyskk","description":"Curio + Requests: Async HTTP for Humans","archived":false,"fork":false,"pushed_at":"2020-04-01T11:11:08.000Z","size":123,"stargazers_count":241,"open_issues_count":1,"forks_count":4,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-31T11:04:02.823Z","etag":null,"topics":["async","curio","http","python","requests"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guyskk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-29T12:39:54.000Z","updated_at":"2025-02-11T15:49:49.000Z","dependencies_parsed_at":"2022-08-25T02:00:15.164Z","dependency_job_id":null,"html_url":"https://github.com/guyskk/curequests","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyskk%2Fcurequests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyskk%2Fcurequests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyskk%2Fcurequests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyskk%2Fcurequests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guyskk","download_url":"https://codeload.github.com/guyskk/curequests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657281,"owners_count":20974345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","curio","http","python","requests"],"created_at":"2024-08-01T21:02:06.277Z","updated_at":"2025-04-07T13:08:56.680Z","avatar_url":"https://github.com/guyskk.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Curio + Requests: Async HTTP for Humans\r\n\r\n[![PyPI](https://img.shields.io/pypi/pyversions/curequests.svg)](https://pypi.python.org/pypi/curequests)\r\n[![travis-ci](https://api.travis-ci.org/guyskk/curequests.svg?branch=master)](https://travis-ci.org/guyskk/curequests) [![codecov](https://codecov.io/gh/guyskk/curequests/branch/master/graph/badge.svg)](https://codecov.io/gh/guyskk/curequests)\r\n\u003e The same taste as Requests!\r\n\r\n## Overview\r\n\r\n```python\r\nfrom curio import run\r\nfrom curequests import get, post\r\n\r\nasync def main():\r\n    r = await get('https://httpbin.org/get')\r\n    print(r.json())\r\n    r = await post('https://httpbin.org/post', json={'hello': 'world'})\r\n    print(r.json())\r\n\r\nrun(main)\r\n```\r\n\r\n## Install\r\n\r\nPython 3.6+ is required.\r\n\r\n```bash\r\npip install curequests\r\n```\r\n\r\n## Features\r\n\r\nFollow http://docs.python-requests.org/en/master/#the-user-guide\r\n\r\n\u003e Work in progress, Not production ready!\r\n\r\n### Quickstart\r\n\r\n- [x] Make a Request\r\n- [x] Passing Parameters In URLs\r\n- [x] Response Content\r\n- [x] Binary Response Content\r\n- [x] JSON Response Content\r\n- [x] Custom Headers\r\n- [x] POST a Multipart-Encoded File\r\n- [x] Response Status Codes\r\n- [x] Response Headers\r\n- [x] Cookies\r\n- [x] Redirection and History\r\n- [x] Timeouts\r\n- [x] Errors and Exceptions\r\n\r\n### Advanced Usage\r\n\r\n- [x] Session Objects [CuSession]\r\n- [x] Request and Response Objects [CuResponse]\r\n- [x] Prepared Requests [CuRequest, CuPreparedRequest]\r\n- [x] SSL Cert Verification\r\n- [x] Client Side Certificates\r\n- [x] CA Certificates\r\n- [x] Body Content Workflow\r\n- [x] Keep-Alive\r\n- [x] Streaming Uploads\r\n- [x] Chunk-Encoded Requests [Generator / Async Generator]\r\n- [x] POST Multiple Multipart-Encoded Files\r\n- [x] Event Hooks\r\n- [x] Custom Authentication\r\n- [x] Streaming Requests [Async Generator]\r\n- [x] Proxies [HTTP\u0026HTTPS, not support SOCKS currently]\r\n- [x] Compliance\r\n- [x] HTTP Verbs\r\n- [x] Custom Verbs\r\n- [x] Link Headers\r\n- [x] Transport Adapters [CuHTTPAdapter]\r\n- [x] Blocking Or Non-Blocking?\r\n- [x] Header Ordering\r\n- [x] Timeouts\r\n- [x] Authentication\r\n\r\n### How to Contribute\r\n\r\n1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a *Contributor Friendly* tag for issues that should be ideal for people who are not very familiar with the codebase yet.\r\n2. Fork the repository on GitHub to start making your changes to the **master** branch (or branch off of it).\r\n3. Write a test which shows that the bug was fixed or that the feature works as expected.\r\n4. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to *AUTHORS.md*.\r\n\r\n### Similar projects\r\n\r\n- https://github.com/littlecodersh/trip\r\n  Async HTTP for Humans, Tornado \u0026 Requests In Pair\r\n- https://github.com/theelous3/asks\r\n  Async requests-like httplib for python\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguyskk%2Fcurequests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguyskk%2Fcurequests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguyskk%2Fcurequests/lists"}