Valkey: Choosing a Python library for Valkey integration

This documentation is part of the Using with Python guide. You can view the complete guide here: How to connect Valkey with Python.

👋 Welcome to the Stackhero documentation!

Stackhero provides a ready-to-use Valkey cloud solution offering numerous advantages, including:

  • Redis Commander web interface included.
  • Unlimited message size and transfers.
  • One-click simplified updates.
  • Optimal performance and enhanced security thanks to a private, dedicated infrastructure.

Save time and make your life easier: it only takes 5 minutes to try Stackhero's Valkey cloud hosting solution!

To seamlessly integrate your application with Valkey, consider using the redis library for Python. This library is well-suited for connecting to Valkey, an open-source fork of Redis. You can easily install it by running:

pip install redis
pip freeze > requirements.txt