Skip to main content

Redis操作工具。

Project description

使用手册

快速开始

import redisplus

# 获取原生的Redis对象
# redis = redisplus.getRedis(host="docker.kancy.top", password="root123")

# 获取SimpleRedis对象,不支持的的value会自动实现序列化
redis = redisplus.getSimpleRedis(host="docker.kancy.top", password="root123")

# 设置属性
redis.set("name", "kancy")

# 查询
redis.get("name")

# 删除
redis.delete("name")

# 设置过期时间
redis.setex("name", "kancy", 0.01)

# 设置,当key不存在时
redis.setnx("name", "kancy")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redisplus-0.0.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

redisplus-0.0.1-py3.9.egg (4.9 kB view details)

Uploaded Egg

redisplus-0.0.1-py2.py3-none-any.whl (2.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file redisplus-0.0.1.tar.gz.

File metadata

  • Download URL: redisplus-0.0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for redisplus-0.0.1.tar.gz
Algorithm Hash digest
SHA256 688e2e74c02c520b6958e83267bd069b3227719805d3670ca4239a07c197e393
MD5 91af825f050c9198bc24e0c39ad01920
BLAKE2b-256 5c7b170b69b600b7af7abcd506b4ab1ab15a0a188468f0be906abd5834ef5219

See more details on using hashes here.

File details

Details for the file redisplus-0.0.1-py3.9.egg.

File metadata

  • Download URL: redisplus-0.0.1-py3.9.egg
  • Upload date:
  • Size: 4.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for redisplus-0.0.1-py3.9.egg
Algorithm Hash digest
SHA256 826779ca2dd614be9b7cc2d3e97e40b6f1cea68f9ae79fc522f02a385f81d7ff
MD5 c9e98c74c3d7990b62a02bfd691d9db6
BLAKE2b-256 293cd61853a374bf4950a51d857d3718520456e2467c5ccd3444aa74df6d6c44

See more details on using hashes here.

File details

Details for the file redisplus-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: redisplus-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for redisplus-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d9cf79a373042f690277e2f3c68c57928b3ea336cc4c112654e149755ec5910b
MD5 f8dca299dfbfa79b8caadefadfd55fd8
BLAKE2b-256 ae4c0002d07a2499a7b273e01c1c0cc3892a64a6b1327a113b0be30ab1b3feb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page