Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for python-liblockfile, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size python-liblockfile-0.2.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page