Metadata-Version: 2.1
Name: redis-cache-lock
Version: 3.2
Summary: Synchronizing cache generation to reduce work
Home-page: https://gitlab.com/hoverhell/redis-cache-lock/
Author: HoverHell
Author-email: hoverhell@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
Provides-Extra: tests
Provides-Extra: all
License-File: LICENSE

================
redis_cache_lock
================

Cache with synchronization over redis.

Similar to `aioredis lock
<https://github.com/aio-libs/aioredis-py/blob/master/aioredis/lock.py>`_,
but optimized for synchronizing cache, to reduce work done.

Highly similar to `redis-memolock
<https://github.com/kristoff-it/redis-memolock>`_.


Usage
-----

See `example.py <doc/example.py>`_.


