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.2.0.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file tusk-0.2.0.tar.gz.

File metadata

  • Download URL: tusk-0.2.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tusk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 832f302bb2babc2d887182541d50003a283251bba6b5a9d01a49a4fbdad781b7
MD5 d5311289b89d2b16eaaaee7e95122b6f
BLAKE2b-256 0685ae050133017f0c59e9ce2427abaf54cfa47b2fcc83c7565b0602b7cb4895

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