{"id":15099215,"url":"https://github.com/atpalmer-python/recurl","last_synced_at":"2026-01-06T20:45:45.717Z","repository":{"id":188402178,"uuid":"349190808","full_name":"atpalmer-python/recurl","owner":"atpalmer-python","description":"libcurl adapter for Python's requests","archived":false,"fork":false,"pushed_at":"2021-09-29T06:35:28.000Z","size":233,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T19:46:16.109Z","etag":null,"topics":["curl","libcurl","libcurl-bindings","python","python-c-extension","python3"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atpalmer-python.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-03-18T19:14:54.000Z","updated_at":"2021-09-29T06:35:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"5272131f-11f9-4f1a-9f2e-52f0c13beaba","html_url":"https://github.com/atpalmer-python/recurl","commit_stats":null,"previous_names":["atpalmer-python/recurl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atpalmer-python%2Frecurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atpalmer-python%2Frecurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atpalmer-python%2Frecurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atpalmer-python%2Frecurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atpalmer-python","download_url":"https://codeload.github.com/atpalmer-python/recurl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245878929,"owners_count":20687297,"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":["curl","libcurl","libcurl-bindings","python","python-c-extension","python3"],"created_at":"2024-09-25T17:08:00.438Z","updated_at":"2026-01-06T20:45:45.690Z","avatar_url":"https://github.com/atpalmer-python.png","language":"C","readme":"# Recurl: Curl adapter for requests\n\n## Usage\n\n### Simple usage:\n\n```\nimport recurl\n\n\nresponse = recurl.get('https://www.google.com/')\nprint(response)  # requests.Response object\n```\n\n### Sessions:\n\n```\nimport recurl\n\n\nsession = recurl.Session()  # requests.Session object with\n                            # CurlEasyAdapter already mounted\nresponse = session.get('https://www.google.com/')\n...\n```\n\n### Verbose setup:\n\n```\nimport requests\nimport recurl\n\n\nadapter = recurl.CurlEasyAdapter()\nsession = requests.Session()\nsession.mount('https://', adapter)\n\nresponse = session.get('https://www.google.com/')\n...\n```\n\n## TODO\n\n* Cookies/CookieJars\n* Exceptions\n* Streaming downloads\n* Streaming uploads\n* History\n* Links\n* Hooks\n* Audit API vs. requests\n* Extend API for CURL-specific features?\n* CURL \"multi\" sessions (async requests)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatpalmer-python%2Frecurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatpalmer-python%2Frecurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatpalmer-python%2Frecurl/lists"}