
Redis Toolkit
A powerful Redis toolkit that makes data processing simple and elegant.
🎯 Smart Serialization
Automatically handles various data types like dicts, lists, and NumPy arrays, eliminating manual conversion. Utilizes secure JSON serialization to avoid pickle's security risks.
🔐 Security First
Rejects pickle, fully adopting JSON serialization. Built-in input validation and error handling ensure secure data operations.
🎵 Media Processing
Built-in image, audio, and video converters for easy multimedia data handling. Supports popular frameworks like OpenCV and SciPy.
🚀 Blazing Fast Setup
Install and run your first example in under 5 minutes, and immediately experience the power of Redis.
📡 Publish/Subscribe
Simplified Pub/Sub API with automatic JSON serialization, making message delivery effortless.
⚡ High Performance
Built-in connection pool management, batch operations, and retry mechanisms ensure efficient and stable Redis operations.
# 🎯 Quick Installation
# 📝 Simple Example
from redis_toolkit import RedisToolkit
# Initialization
toolkit = RedisToolkit()
# Store various data types
toolkit.setter("user", {"name": "Alice", "age": 25})
toolkit.setter("scores", [95, 87, 92])
toolkit.setter("active", True)
# Automatic Deserialization
user = toolkit.getter("user") # Returns dict
scores = toolkit.getter("scores") # Returns list
active = toolkit.getter("active") # Returns bool
2
3
4
5
6
7
8
9
10
11
12
13
14
# 🎨 Media Processing Example
from redis_toolkit import RedisToolkit
from redis_toolkit.converters import encode_image, decode_image
import cv2
toolkit = RedisToolkit()
# Process image
img = cv2.imread('photo.jpg')
img_bytes = encode_image(img, format='jpg', quality=90)
toolkit.setter('my_image', img_bytes)
# Retrieve and decode
retrieved = toolkit.getter('my_image')
decoded_img = decode_image(retrieved)
2
3
4
5
6
7
8
9
10
11
12
13
14
# 🌟 Why Choose Redis Toolkit?
Simple & Intuitive
Clean API design and a gentle learning curve allow you to focus on business logic rather than low-level implementation details.
Comprehensive Features
From basic operations to advanced functionalities, from data access to media processing, one toolkit meets all your needs.
Stable & Reliable
Robust error handling, automatic retry mechanisms, and connection pool management ensure stable operation in production environments.
Active Community
Continuously updated and maintained, with quick issue responses. Contributions are welcome to build a better tool together.
Ready to Get Started?
Follow our guide to easily master the powerful features of Redis Toolkit.
Start Now →