Asyncio implementation of Redis distributed locks, providing a reliable mutex mechanism for distributed systems. Current version 0.7.3, with low release cadence. Requires Python >=3.6.
pip install aioredlockVerified import paths — ran on the pinned version, not inferred.
Basic usage: acquire and release a distributed lock using aioredlock.
Always store the lock object from lock() and pass it to unlock().
Use a try/finally block or context manager to ensure destroy() is called.
Pin aioredis<2 or consider migrating to a maintained alternative like redis-py (redis.asyncio).