Skip to main content

RedC is a high-performance, asynchronous HTTP client library for Python, built on top of the powerful curl library

Project description

Version CURL version Downloads

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

Features

  • Protocols: Supports HTTP/1.1, HTTP/2, and HTTP/3
  • curl-powered: Built on top of libcurl for performance and reliability
  • Streaming: Efficient handling of large responses
  • Proxying: Simple and flexible proxy configuration
  • Google CA Trust: Uses trustifi as the default TLS trust store

Installation

You can install RedC via pip:

pip install redc

Quick Start

import asyncio
from redc import Client

async def main():
    async with Client(base_url="https://jsonplaceholder.typicode.com") as client:
        # Make a GET request
        response = await client.get("/posts/1")
        response.raise_for_status()
        print(response.status_code)  # 200
        print(response.json())  # {'userId': 1, 'id': 1, 'title': '...', 'body': '...'}

        # Make a POST request with JSON data
        response = await client.post(
            "/posts",
            json={"title": "foo", "body": "bar", "userId": 1},
        )
        response.raise_for_status()
        print(response.status_code)  # 201
        print(response.json())  # {'id': 101, ...}

asyncio.run(main())

License

MIT LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

redc-0.1.13-cp313-cp313t-win_amd64.whl (661.3 kB view details)

Uploaded CPython 3.13tWindows x86-64

redc-0.1.13-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

redc-0.1.13-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARM64

redc-0.1.13-cp313-cp313t-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.13tmacOS 11.0+ ARM64

redc-0.1.13-cp312-abi3-win_amd64.whl (657.5 kB view details)

Uploaded CPython 3.12+Windows x86-64

redc-0.1.13-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ x86-64

redc-0.1.13-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ ARM64

redc-0.1.13-cp312-abi3-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

redc-0.1.13-cp311-cp311-win_amd64.whl (659.3 kB view details)

Uploaded CPython 3.11Windows x86-64

redc-0.1.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

redc-0.1.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

redc-0.1.13-cp311-cp311-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

redc-0.1.13-cp310-cp310-win_amd64.whl (659.5 kB view details)

Uploaded CPython 3.10Windows x86-64

redc-0.1.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

redc-0.1.13-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

redc-0.1.13-cp310-cp310-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

redc-0.1.13-cp39-cp39-win_amd64.whl (660.7 kB view details)

Uploaded CPython 3.9Windows x86-64

redc-0.1.13-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

redc-0.1.13-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

redc-0.1.13-cp39-cp39-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file redc-0.1.13-cp313-cp313t-win_amd64.whl.

File metadata

  • Download URL: redc-0.1.13-cp313-cp313t-win_amd64.whl
  • Upload date:
  • Size: 661.3 kB
  • Tags: CPython 3.13t, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for redc-0.1.13-cp313-cp313t-win_amd64.whl
Algorithm Hash digest
SHA256 01069ef61a456c4d8baaea13d3dc282b0bdcbfbd9a9f9ff4aaee82d0e132b943
MD5 5482e09ac9ffd52cad752d05d92317b0
BLAKE2b-256 1ff313d260c6fd3e81c663ebd6ccdb15fed0d582e15940b923118cb54fe6dd6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp313-cp313t-win_amd64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 3c29aeb61db66d8cc3f39674ce7f217238b2985694ad8a5e4dbbf52513980efe
MD5 6c0929b9167d3843bf97e73e09d5cdfb
BLAKE2b-256 af875fb92ba9ba9bb64835ab5f99a0aac849fee990c7e84350e4556596f54ad8

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 904b754495c56a2c090d4d9499eb0c152ef4fa3f098be6c8748a1c0e3f465a3d
MD5 f678c568d6c4e3db3372b487d7faa86f
BLAKE2b-256 aaef2a9fd37670a95500db6de73fcca2156a726b3365e229672f81e6aeb9c143

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp313-cp313t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c7e49c661137c8a87aee21c50455c97e7e807ce717ea1a1e497a2d58af34bb6
MD5 60c475bc587cf632027d6dc00b6bc35a
BLAKE2b-256 c37a340aa3a3a537784f8881beafebfbfb6576b5c36efa0666f1affc348ec40b

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp313-cp313t-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: redc-0.1.13-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 657.5 kB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for redc-0.1.13-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3f795fbf1e4596f9da1a4b5af80e2c64dd57ad943701e485222ca3bf38df437c
MD5 87dc21a737b0a7cf905ba217dcb016e1
BLAKE2b-256 c25746c600cdb3bb233912b0e12b83ffab5b75e4f81e2a14238a4fdc06bb06b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp312-abi3-win_amd64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c2c63f3b1dd7d57a00dd9de1ae04f19b07ea7329a2a2dd3026430f1da19d41e8
MD5 2d8ad9c20a27dda461d631d45ba554a1
BLAKE2b-256 6cb5b3943f59d3b5cd5290c872078c8426e9abf5d46a93d1aaf74a69438121b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 cceaaa0072fec9b501698900fc7fd5bffe36363fe40d8b4fd769fe1efac3be5b
MD5 005dddfd15198351ec310f317b1b7a2b
BLAKE2b-256 6effdb8cd3ff6007c5e1548bf480931f35e34eb0da4cb5c17a586666f051f77b

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9c46a98bc628deb62dcdf8ceb024cc29a7374a9ffada64cbaa14238b22874dc9
MD5 d395bc67699cd0f8a1f8473e6c974217
BLAKE2b-256 d0e37925d97c59011c9b92b6a78e7bd8bd46f1776c27c7d345799339e10d3dab

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: redc-0.1.13-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 659.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for redc-0.1.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d88b42c1c6d1d10e49c2b1d457154ba7cab8289380ebf144f38c2a0cd50c3a69
MD5 67b2417337a5f9b0e5e95d3394606bde
BLAKE2b-256 32f627bd73ba2d8ae969717573980f34ff5f8d097b223dfda16ef198e4e600aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp311-cp311-win_amd64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 52423f0e17d519e8f58bf31804c13af57fcd86833d38a1d86c173e1f369e2a05
MD5 2a50149c2fbc83a60d31361ce880f81d
BLAKE2b-256 2f4af110212522d16c6f6565a11d263a0988e82599d6b2ea2b05102f36ea9533

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 6eccfe4ecd01b785fab1d363bf5b635605a68afc19002a3099404ab4b4f26195
MD5 a8986fe26c95a76eeb064be06b9a9a6b
BLAKE2b-256 338cb1c8768e10619873c2df9739d73f2b87c5ba8c281dec0c640b57a92afdce

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6df6fa3a09fde17e3f6374250e8c1604ffe552fdeace5eaf9973b83e10904709
MD5 141c0fc2c1bbf1065a3c087735d8ccb8
BLAKE2b-256 ea821580f0b7ad6901548b6b598f25ad9a2d191b63d21ff5d4a263c25e346940

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: redc-0.1.13-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 659.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for redc-0.1.13-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 201f355b268a39c11091e8e92410be265db96bb6610450f7669fb39f984d2f18
MD5 f32ce14925a30db646d711e017e598b9
BLAKE2b-256 7c6c5c5d097f5f7e6a466ab01c4e29864058029c7c6066e23f944e76a36c0238

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp310-cp310-win_amd64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 41a75f3860f2b84a6352c4c2cde89147d2edfb0a10772738d430c0cbe6953b62
MD5 e9adfe96482f193008f2fff8a48877d0
BLAKE2b-256 88a864e9ace6a9e6b4be5dbf9cb9b0d525c90e6efb6f0dcc8b8f140d216af3c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 15c3d7295d5d5d7cd98c3bd0c3daca8c28aa35e2e215d0469165e48502f448a4
MD5 899f8a854c27a124d7bc57b374884e8b
BLAKE2b-256 d2e0904a6fb051dfc6fd1c939f0a8e03361a4f0a83dc8cd14311dd2ded782117

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f5fd2746a63a8ecadd8d13f034b298f0491ff0398e5dadb0fc91fef7901073ce
MD5 ee2012a958fd06e35326c811700958a5
BLAKE2b-256 d64a862c68ede3a8071a3a32e79ab21802f90e4c1e3727244059f35a099c2522

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: redc-0.1.13-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 660.7 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for redc-0.1.13-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c7985f3a8c367427313c389806e71f729dd4b73e29b913d7b1a8789780531289
MD5 a7ad2bcd1de094a68276ca7617402df3
BLAKE2b-256 7be9536d2f7b31be9cc957a02acf7567bdd6c8ce2a8484fb4d11d8b0b1b3c1e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp39-cp39-win_amd64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 cc92683a369526cbc905c9a6e583eafb4b45cb0b648624f8c10e444fbb84682f
MD5 843615d2a0ee8d9d91652338439110b2
BLAKE2b-256 0eb5b88426ecec530c95e2f16f4a1155533363a5cf42491b13214b9874758613

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for redc-0.1.13-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 14a934d75cc90d5ee02c93091e1c5cd90e80befdbff3f4c311e85f123f10bfa6
MD5 4547a4e93716de6c575bbf81c252df2d
BLAKE2b-256 ce8f2089b0010aca7a045e06d9a41fac42ad78cdfe0badcc7f602c682159a597

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redc-0.1.13-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: redc-0.1.13-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for redc-0.1.13-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0ca8eddd998c16b24a39c67b051557a78a629dd001232c0c8698affbf6272f66
MD5 24161923cb7cc15a6a43a7b738b3e5e6
BLAKE2b-256 0c8fa1971d4bf641b1ff4f2a5ef335a395186deb4f2b6b6358490ca930539c90

See more details on using hashes here.

Provenance

The following attestation bundles were made for redc-0.1.13-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on AYMENJD/redc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page