pip install redis
import redis redis_client = redis.Redis(host='localhost', port=6379, db=0) redis_client.hincrby(redis_name, redis_key, 1)