{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/6"}],"enrichment":{"capability":"libvalkey is a Python C extension that accelerates parsing of Valkey/Redis protocol replies, particularly multi-bulk responses, by wrapping protocol parsing code from the libvalkey C library.","skillfed_tags":["protocol-parsing","performance-optimization","valkey-redis"],"use_cases":["Accelerate Valkey/Redis client performance when handling large multi-bulk replies like LRANGE results","Integrate into custom Valkey/Redis client implementations that need faster protocol parsing","Reduce latency in high-throughput Valkey/Redis workloads where reply parsing is a bottleneck","Parse RESP protocol data with custom encoding support (UTF-8, etc.) and error handling"],"what_it_does":"libvalkey is a Python extension that wraps the C library libvalkey to speed up parsing of Valkey and Redis protocol replies. It provides a `Reader` class that buffers incoming data and parses RESP (Redis Serialization Protocol) replies incrementally. The extension is designed to integrate with Valkey/Redis client libraries to accelerate reply parsing, particularly for multi-bulk replies where the performance gains are most significant.\n\nThe package requires Python 3.9 or later and needs C compilation during installation, which means you need a C compiler and Python development headers available on your system. It has no runtime dependencies and is designed as a low-level parsing component rather than a standalone client library\u2014it handles protocol parsing only and does not provide I/O functionality.","worth_installing":"Yes, if you are using Valkey or Redis with Python and handle large multi-bulk replies. The performance gains are modest for simple operations (1.1x for SET/GET) but dramatic for larger replies (83.2x for LRANGE 0 999). Install friction is medium due to C compilation requirements. No security vulnerabilities and actively maintained. MIT license poses no restrictions."},"id":"libvalkey","links":{"html":"https://skillfed.io/packages/libvalkey","md":"https://skillfed.io/packages/libvalkey.md","pypi":"https://pypi.org/project/libvalkey/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-18","license_spdx":null,"license_treatment":"permissive","name":"libvalkey","python_support":"supports_current","summary":"Python wrapper for libvalkey"},"popularity":{"monthly_downloads":919709,"position":4720,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.1.0"}
