Skip to content

rjzou/RedisInterface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# 使用方法如下:


# 1.RedisInterface
from RedisInterface import RedisInterface


# 2.直接使用
if __name__ == "__main__":
  redis_db = RedisInterface()
  redis_client=redis_db.fraud
  redis_client.get("feeds_offset")
  # 将数据存储到Redis
  redis_client.hset(name, str(key), str(item[key]))
  redis_client.sadd("get_feeds_list_page" + str(_page), name)
  print("数据已成功存储redis中。")

  

About

python redis 封装操作类

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages