多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
``` pip install redis ``` ``` from redis import * redis = StrictRedis(host="127.0.0.1", port=6379, password="123456") print(redis.keys()) ``` ## string * set * setex * mset * append * get * mget * key ## keys * exists * type * delete * expire * getrange * ttl ## hash * hset * hmset * hkeys * hget * hmget * hvals * hdel ## list * lpush * rpush * linsert * lrange * lset * lrem ## set * sadd * smembers * srem ## zset * zadd * zrange * zrangebyscore * zscore * zrem * zremrangebyscore