Skip to main content

A wrapper around liblockfile, using ctypes.

Project description

A Python wrapper around liblockfile, using ctypes. You must have the liblockfile shared library installed on your system. On Ubuntu, this can be done with:

sudo apt-get install liblockfile1

For more information see the Launchpad project page.

Getting started

lockfile = os.path.join(args.output, ".lock")
with Lock.WithPID(lockfile) as lock, LockHolder(lock):

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

python-liblockfile-0.2.tar.gz (3.1 kB view hashes)

Uploaded source

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