使用手册
快速开始
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")
Metadata
Release files for redisplus 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| redisplus-0.0.1.tar.gz | 4.4 kB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| redisplus-0.0.1-py3.9.egg | Legacy Egg format | - | - | Details |
| redisplus-0.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 12.2 kB
Release files / redisplus-0.0.1.tar.gz
| Download URL | redisplus-0.0.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
688e2e74c02c520b6958e83267bd069b3227719805d3670ca4239a07c197e393
|
|
BLAKE2b-256 checksum How to use checksums |
5c7b170b69b600b7af7abcd506b4ab1ab15a0a188468f0be906abd5834ef5219
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / redisplus-0.0.1-py3.9.egg
| Download URL | redisplus-0.0.1-py3.9.egg |
|---|---|
| Size | 4.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
826779ca2dd614be9b7cc2d3e97e40b6f1cea68f9ae79fc522f02a385f81d7ff
|
|
BLAKE2b-256 checksum How to use checksums |
293cd61853a374bf4950a51d857d3718520456e2467c5ccd3444aa74df6d6c44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / redisplus-0.0.1-py2.py3-none-any.whl
| Download URL | redisplus-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d9cf79a373042f690277e2f3c68c57928b3ea336cc4c112654e149755ec5910b
|
|
BLAKE2b-256 checksum How to use checksums |
ae4c0002d07a2499a7b273e01c1c0cc3892a64a6b1327a113b0be30ab1b3feb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for redisplus 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.