dynalock

Distributed locking with DynamoDB


Keywords
dynalock, distributed-lock, distributed-systems, dynamodb, lock, python, python-lock
License
MIT
Install
pip install dynalock==0.2.0

Documentation

image

Documentation Status

Distributed locking implementation in python with DynamoDB

Getting Started

To install DynaLock, simply use pip:

DynaLock utilizes Python's context manager making it easier and safer to manage locks. When used in a with statement, DynaLock automatically acquires the lock at the beginning of the block and releases it upon exiting, regardless of whether the block exits normally or with an exception. This eliminates the need for explicit release calls, reducing the boilerplate code and minimizing the risk of errors.

Example Usage: