{"id":25001393,"url":"https://github.com/aymenjd/redc","last_synced_at":"2025-09-02T11:05:30.950Z","repository":{"id":275294326,"uuid":"924992763","full_name":"AYMENJD/redc","owner":"AYMENJD","description":"High-performance, asynchronous HTTP client in Python, driven by libcurl","archived":false,"fork":false,"pushed_at":"2025-07-27T11:31:29.000Z","size":169,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T13:13:27.288Z","etag":null,"topics":["curl","http","http-client","libcurl","python"],"latest_commit_sha":null,"homepage":"","language":"C++","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/AYMENJD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-31T02:29:10.000Z","updated_at":"2025-07-27T11:16:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c89c388-04e2-4a8c-95ca-04c75aa1458e","html_url":"https://github.com/AYMENJD/redc","commit_stats":null,"previous_names":["aymenjd/redc"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/AYMENJD/redc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYMENJD%2Fredc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYMENJD%2Fredc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYMENJD%2Fredc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYMENJD%2Fredc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AYMENJD","download_url":"https://codeload.github.com/AYMENJD/redc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYMENJD%2Fredc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273272560,"owners_count":25075985,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","http","http-client","libcurl","python"],"created_at":"2025-02-04T20:19:40.168Z","updated_at":"2025-09-02T11:05:30.940Z","avatar_url":"https://github.com/AYMENJD.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/AYMENJD/redc/refs/heads/main/assets/images/redc-logo.png\"\u003e\n\u003c/div\u003e\n\n[![Version](https://img.shields.io/pypi/v/redc?style=flat\u0026logo=curl\u0026logoColor=red\u0026color=red)](https://pypi.org/project/RedC) [![CURL version](https://img.shields.io/badge/Curl-v8.15.0-red?logo=curl)](https://curl.se/ch/8.15.0.html) [![Downloads](https://static.pepy.tech/personalized-badge/redc?period=month\u0026units=none\u0026left_color=grey\u0026right_color=brightgreen\u0026left_text=Downloads)](https://pepy.tech/project/redc)\n\n**RedC** is a **high-performance**, asynchronous **HTTP** client library for **Python**, built on top of the powerful **curl** library. It provides a simple and intuitive interface for making HTTP requests and handling responses\n\n## Features\n\n-   **Asynchronous by Design**: Built with `asyncio` for non-blocking HTTP requests\n-   **HTTP/2 Support**: Fully compatible with `HTTP/2` for faster and more efficient communication\n-   **curl Backend**: Leverages the speed and reliability of curl for HTTP operations\n-   **Streaming Support**: Stream large responses with ease using callback functions\n-   **Proxy Support**: Easily configure proxies for your requests\n\n## Installation\n\nYou can install RedC via pip:\n\n```bash\npip install redc\n```\n\n## Quick Start\n\n```python\nimport asyncio\nfrom redc import Client\n\nasync def main():\n    async with Client(base_url=\"https://jsonplaceholder.typicode.com\") as client:\n        # Make a GET request\n        response = await client.get(\"/posts/1\")\n        response.raise_for_status()\n        print(response.status_code)  # 200\n        print(response.json())  # {'userId': 1, 'id': 1, 'title': '...', 'body': '...'}\n\n        # Make a POST request with JSON data\n        response = await client.post(\n            \"/posts\",\n            json={\"title\": \"foo\", \"body\": \"bar\", \"userId\": 1},\n        )\n        response.raise_for_status()\n        print(response.status_code)  # 201\n        print(response.json())  # {'id': 101, ...}\n\nasyncio.run(main())\n```\n\n## License\n\nMIT [LICENSE](https://github.com/AYMENJD/redc/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faymenjd%2Fredc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faymenjd%2Fredc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faymenjd%2Fredc/lists"}