cyberdelia / tusk

Distributed lock with Postgres

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tusk

Installing

To install :

pip install tusk

Usage

Tusk tries to be as simple as possible

l = Lock("inspector", "postgres://localhost/noclue")
l.acquire(blocking=True)
l.release()
with l:
    process()

About

Distributed lock with Postgres

License:MIT License


Languages

Language:Python 100.0%