Skip to main content

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


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)

Uploaded Source

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

Hashes for tusk-0.3.0.tar.gz
Algorithm Hash digest
SHA256 067cafcf0bb380fba79a424388f1626b0197a2a8f7d978d902c2f1aa37bbd0ac
MD5 641767e1e9688e0a26a3ce68da38aeca
BLAKE2b-256 a7207568bcb341765880bc5d42853f613c26ce8ac835bd00f19d5b8cd9f39aea

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page