Kinto Redis
Project description
Kinto Redis is a redis driver for Kinto storage, permissions and cache backends.
Installing kinto-redis
You can use PyPI either installing kinto redis dependencies:
pip install kinto[redis]
Or installing kinto-redis directly:
pip install kinto-redis
Using Kinto Redis backends
After installing the kinto-redis package using PyPI, you can configure your server like that:
# # Backends. # # https://kinto.readthedocs.io/en/latest/configuration/settings.html#storage # kinto.storage_backend = kinto_redis.storage kinto.storage_url = redis://localhost:6379/1 kinto.cache_backend = kinto_redis.cache kinto.cache_url = redis://localhost:6379/2 kinto.permission_backend = kinto_redis.permission kinto.permission_url = redis://localhost:6379/3
Running the tests
To run the unit tests:
$ make tests
Changelog
2.1.0 (2021-11-16)
Internal Changes
Replacing ujson with kinto.core.utils.json
2.0.1 (2019-05-24)
Bug fixes
pool_size setting should remain optional
2.0.0 (2019-02-08)
Breaking changes
Upgrade to Kinto >= 13 storage API.
1.3.0 (2018-04-26)
Update storage tests with new Kinto 9.x features. (#13)
1.2.0 (2017-08-17)
Cache set now requires a ttl value
Cache delete() method now returns the deleted value
Cache never accept to store bytes.
1.1.0 (2017-02-23)
Upgrade to last storage, permissions and cache backends features. (#7)
1.0.1 (2016-08-18)
Bug fixes
Fix compability with Kinto 4.0 about unique fields (Kinto/kinto#763)
1.0.0 (2016-08-11)
Move the kinto redis backends to an external repository.
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
File details
Details for the file kinto-redis-2.1.0.tar.gz
.
File metadata
- Download URL: kinto-redis-2.1.0.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c677baae2c0a988a1ba2e57bf651ce694720a277c87b06d83be4c38974de7604 |
|
MD5 | 53b76900c18659f5d706aa022894496a |
|
BLAKE2b-256 | 98f82f93e79a0ba248388f4747e747bf4ed481055c2b202161daa18e0f9365e3 |