Metadata-Version: 2.0
Name: kinto-redis
Version: 1.1.0
Summary: Kinto Redis
Home-page: https://github.com/Kinto/kinto-redis
Author: Mozilla Services
Author-email: services-dev@mozilla.com
License: Apache License (2.0)
Keywords: web services
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Classifier: License :: OSI Approved :: Apache Software License
Requires-Dist: kinto (>=4.0.0)
Requires-Dist: redis

Kinto Redis
############

|travis| |coveralls|

.. |travis| image:: https://travis-ci.org/Kinto/kinto-redis.svg?branch=master
    :target: https://travis-ci.org/Kinto/kinto-redis

.. |coveralls| image:: https://coveralls.io/repos/github/Kinto/kinto-redis/badge.svg?branch=master
    :target: https://coveralls.io/github/Kinto/kinto-redis?branch=master

**Kinto Redis** is a redis driver for `Kinto <https://kinto.readthedocs.io>`_
storage, permissions and cache backends.

.. note::

   The backend currently doesn't support transaction and will not work
   with plugins that are using the ResourceChanged event to stop the
   user action. i.e To validate the request or to handle quota management.

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.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.


