--- id: valkey-glide version: "2.5.1" license: Apache-2.0 license_treatment: permissive maintenance: active --- # valkey-glide — Valkey GLIDE Async client. Supports Valkey and Redis OSS. License: permissive · Maintenance: active · Downloads: 3.6M/mo ## What it is and what it does Valkey GLIDE is the official open-source Python client library for Valkey and Redis OSS, built on a Rust core with Python bindings. It provides both async and sync APIs for connecting to standalone or cluster deployments, with support for pub/sub messaging, automatic subscription reconciliation, and high-availability features. The library is designed for low latency and reliability, backed by AWS and GCP support. Developers use it to execute Redis commands (get, set, etc.) against Valkey or Redis servers, manage pub/sub subscriptions with dynamic reconciliation, and handle cluster failover transparently. It requires Python 3.9 or later and runs on Linux (Ubuntu, Amazon Linux) and macOS; Alpine Linux is not supported. The five runtime dependencies (anyio, cffi, protobuf, sniffio, typing-extensions) are stable and widely adopted. Use it for: - Build async web applications that need fast, low-latency access to Valkey/Redis for caching, sessions, or real-time data. - Implement pub/sub messaging with automatic subscription reconciliation to ensure subscriptions stay synchronized across connection changes. - Connect to Redis cluster deployments with built-in failover and high-availability support without manual cluster management. - Use sync client in blocking or non-async code paths where asyncio is not available or desired. - Store and retrieve structured data using Valkey commands in production applications backed by AWS or GCP infrastructure. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Valkey GLIDE is an official async and sync Python client for Valkey and Redis OSS, supporting both standalone and cluster modes with built-in pub/sub, high availability, and automatic subscription reconciliation. Yes. Valkey GLIDE is the official, actively maintained client with no known vulnerabilities, permissive licensing, and strong backing from AWS/GCP. Install friction is moderate but manageable for modern Python environments (3.9+). Choose it for new Valkey/Redis projects or when you need cluster support, pub/sub, or async performance. Avoid only if you require Alpine Linux support or need a synchronous-only client without the async overhead. ## Install pip install valkey-glide uv add valkey-glide poetry add valkey-glide ## Installing valkey-glide Before you install: Medium install friction due to compiled wheels for multiple Python versions (3.10–3.14) and architectures (x86_64, arm64, macOS, Linux). Active maintenance with a recent release (4 days old). Five runtime dependencies including cffi and protobuf add some complexity but are stable, widely-used libraries. License in practice: Apache-2.0 permissive license allows commercial and private use with minimal restrictions—suitable for most production and proprietary projects. Quickstart: pip install valkey-glide import asyncio from glide import GlideClientConfiguration, NodeAddress, GlideClient async def main(): config = GlideClientConfiguration([NodeAddress("localhost", 6379)]) client = await GlideClient.create(config) await client.set("key", "value") result = await client.get("key") print(result) asyncio.run(main()) Requires Python 3.9 or later. Alpine Linux / MUSL is not supported; tested on Ubuntu 20+, Amazon Linux 2/2023, and macOS 13.7+. A running Valkey or Redis OSS server is required. Verify before relying: - Performance characteristics and latency benchmarks compared to other Redis clients - Specific Valkey and Redis OSS engine versions supported (referenced in docs but not in fact sheet) - Concurrency framework support details (asyncio and trio mentioned but not fully detailed) ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 3.6M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags valkey redis client python, async redis cluster client, redis pubsub subscription, valkey standalone cluster, redis high availability client, async sync redis driver, redis connection pooling, async-first, redis-valkey, cluster-support [View on SkillFed](https://skillfed.io/packages/valkey-glide) · [View on PyPI](https://pypi.org/project/valkey-glide/)