Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cyberdelia/tusk

Distributed lock with Postgres
https://github.com/cyberdelia/tusk

Last synced: 29 days ago
JSON representation

Distributed lock with Postgres

Awesome Lists containing this project

README

        

====
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()