dedis-cluster
redis-cluster plugin for django
基于redis-py-cluster,实现了使用redis集群作为django缓存的backend
安装
- 源码安装
git clone https://github.com/feiwencaho/dedis-cluster.git
cd dedis-cluster
python setup.py install
- pip安装
pip install dedis-cluster
使用
在settings.py中作如下配置
CACHES = {
'default': {
'BACKEND': 'dedis_cluster.cache.RedisClusterCache',
# your redis-cluster nodes
"LOCATION": [
"redis://192.168.1.4:7000/0",
"redis://192.168.1.4:7001/0",
"redis://192.168.1.4:7002/0",
"redis://192.168.1.4:7003/0",
],
'OPTIONS': {
"CLIENT_CLASS": "dedis_cluster.client.DefaultClient",
}
}
}
Metadata
Release files for dedis-cluster 1.0.2
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 | Actions |
|---|---|---|---|---|
| dedis-cluster-1.0.2.tar.gz | 7.8 kB | Without provenance | Details for dedis-cluster-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dedis_cluster-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for dedis_cluster-1.0.2-py3-none-any.whl |
Total release size: 21.0 kB
Release files / dedis-cluster-1.0.2.tar.gz
| Download URL | dedis-cluster-1.0.2.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce8510cdf8bc710befe05f1ec8b51d748031c88265573a648326030fcc45b2f4
|
|
BLAKE2b-256 checksum How to use checksums |
cceaa5115df85aa98279892291e8579a9140b9487c3c24424b57211757a42bed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|
Release files / dedis_cluster-1.0.2-py3-none-any.whl
| Download URL | dedis_cluster-1.0.2-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1eee72fdfa36195c195613e766be966348d7ec1b991783cbf8720fbcbeafb66
|
|
BLAKE2b-256 checksum How to use checksums |
0bd5ce871ca44fe4562482d237c30326dcd36f40c502ffb9282250e72d76cc26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|
Security for dedis-cluster 1.0.2
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.