--- id: hiredis version: "3.4.1" license: MIT license_treatment: permissive maintenance: active --- # hiredis — Python wrapper for hiredis License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install hiredis uv add hiredis poetry add hiredis ## Description # hiredis-py [![Build Status](https://github.com/redis/hiredis-py/actions/workflows/integration.yaml/badge.svg)](https://github.com/redis/hiredis-py/actions/workflows/integration.yaml) [![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) [![pypi](https://badge.fury.io/py/hiredis.svg)](https://pypi.org/project/hiredis/) Python extension that wraps protocol parsing code in [hiredis][hiredis]. It primarily speeds up parsing of multi bulk replies. [hiredis]: http://github.com/redis/hiredis ## How do I Redis? [Learn for free at Redis University](https://university.redis.com/) [Build faster with the Redis Launchpad](https://launchpad.redis.com/) [Try the Redis Cloud](https://redis.com/try-free/) [Dive in developer tutorials](https://developer.redis.com/) [Join the Redis community](https://redis.com/community/) [Work at Redis](https://redis.com/company/careers/jobs/) ## Install hiredis-py is available on [PyPI](https://pypi.org/project/hiredis/), and can be installed via: ```bash pip install hiredis ``` ## Building and Testing Building this repository requires a recursive checkout of submodules, and... ## AI interpretation — verify before relying hiredis wraps the C hiredis library to parse Redis protocol replies, significantly accelerating multi-bulk reply parsing in Python applications that communicate with Redis servers. Verdict: hiredis is a well-maintained, actively developed Redis protocol parser offering substantial performance gains (up to 83x for large multi-bulk replies) with zero runtime dependencies. The MIT license poses no restrictions. Medium install friction is offset by broad wheel coverage and active maintenance; suitable for production Redis applications where parsing performance matters. [View on SkillFed](https://skillfed.io/packages/hiredis) · [View on PyPI](https://pypi.org/project/hiredis/)