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):
...
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python-liblockfile-0.2.tar.gz.
File metadata
- Download URL: python-liblockfile-0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19e001ad553a8938648b8d960afa58a1ba65ea0f85de41b7c7cf18f03e717a51
|
|
| MD5 |
d4458225a4965e5b863ee0ffcaa64b60
|
|
| BLAKE2b-256 |
e24a0b088dda1a1d3604a072caec70e1a5c453662229d14fbcf79a744167d101
|