Distributed lock with postgres.
Project description
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tusk-0.3.0.tar.gz
(2.9 kB
view details)
File details
Details for the file tusk-0.3.0.tar.gz.
File metadata
- Download URL: tusk-0.3.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
067cafcf0bb380fba79a424388f1626b0197a2a8f7d978d902c2f1aa37bbd0ac
|
|
| MD5 |
641767e1e9688e0a26a3ce68da38aeca
|
|
| BLAKE2b-256 |
a7207568bcb341765880bc5d42853f613c26ce8ac835bd00f19d5b8cd9f39aea
|