KevsRobots Learning Platform
By Kevin McAleer, 3 Minutes

Welcome to the Using Redis with Python course! Redis is a super-fast data store that lives in memory. It’s used everywhere from big websites to home projects, for caching, counters, queues, leaderboards and sending messages between programs. You could use it to pass sensor readings from a robot to a dashboard, for example.
You should be comfortable writing simple Python programs. If you’re new to Python, take Python for beginners first.
Each lesson explains a topic, shows the Redis commands, then shows the same thing in Python. Most lessons end with a quick quiz, and your progress is saved in your browser and shown in the sidebar.
In this lesson, we will cover:
Redis is an in-memory data structure store that can be used as a database, cache, and message broker. Redis supports a wide variety of data structures, including strings, hashes, lists, sets, and sorted sets. Redis is designed to be fast, efficient, and scalable.
Redis has many use cases, including:
Redis runs on Linux and macOS, including the Raspberry Pi. On Windows, run it with Docker or WSL. You’ll find installation instructions on the official Redis website at https://redis.io/downloads/, and the next lesson walks you through the easiest options.
Redis or Valkey?
In 2024 Redis changed its licence, and the Linux Foundation started Valkey, an open source fork. Valkey works with the same commands and the same Python library, so everything in this course works with either.
After completing this course, you will be able to:
To complete this lesson, you will need:
redis Python libraryIn this lesson, we introduced Redis and its use cases. We covered what Redis is, why you should use it, and where to download it. In the next lesson, we will cover how to use Redis with Python.
You can use the arrows ← → on your keyboard to navigate between lessons.
Comments