Skip to main content

Kinto Redis

Project description

travis coveralls

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

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

kinto-redis-1.3.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

kinto_redis-1.3.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file kinto-redis-1.3.0.tar.gz.

File metadata

  • Download URL: kinto-redis-1.3.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kinto-redis-1.3.0.tar.gz
Algorithm Hash digest
SHA256 c3aa7331cbc4d7ed7b8f201573ede798117ccf4eee71059b224b2ee59463d96f
MD5 94d8925348ba30b8a36959c4d5a02720
BLAKE2b-256 2866ba48e5b154b9d5a58abd2ea4a5fb7b0c84120f0093ccf755ab964c7ca3b8

See more details on using hashes here.

Provenance

File details

Details for the file kinto_redis-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kinto_redis-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cbce9023e4c8515e45287cf3a9b315030b3eb9d5181074e4a1cceb06eec6c02
MD5 8838a4ab8750664ab8910cb7cd9efae5
BLAKE2b-256 3307e8456b315b4ff78404692a959b936efc7a0a18c1095afeaf7d316030df41

See more details on using hashes here.

Provenance

Supported by

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