Skip to content

Instantly share code, notes, and snippets.

View kind-abhasin's full-sized avatar

Akshay Bhasin kind-abhasin

View GitHub Profile
"""
Script to populate Redis with sample user reactions data and scan the results.
"""
import random
from datetime import datetime, timedelta
import redis
@kind-abhasin
kind-abhasin / test_script.py
Created September 12, 2025 19:32
Redis Scan
#!/usr/bin/env python3
"""
Script to connect to production Redis cluster using GlideClusterClient.
"""
import asyncio
from glide import GlideClusterClient, GlideClusterClientConfiguration, NodeAddress
async def main():