py-lockfile (python/py-lockfile) Add to my watchlist

Platform-independent file locking module

This package exports a LockFile class which provides a simple API for locking files. Unlike the Windows msvcrt.locking function, the fcntl.lockf and flock functions, and the deprecated posixfile module, the API is identical across both Unix (including Linux and Mac) and Windows platforms. The lock mechanism relies on the atomic nature of the link (on Unix) and mkdir (on Windows) system calls. An implementation based on SQLite is also provided, more as a demonstration of the possibilities it provides than as production-quality code.

Version: 0.12.2 License: MIT GitHub
Reset

23 build(s) found
Builder Build Number Start Time Elapsed Time Watcher Build Status
10.14 148637 2022-12-11 18:08:48 0:00:14 47306 build successful
11 94721 2022-12-11 18:00:14 0:00:16 26209 build successful
10.11 203216 2022-12-11 17:54:40 0:00:12 65646 build successful
10.12 210041 2022-12-11 17:45:33 0:00:16 64452 build successful
10.7 122915 2022-12-11 17:41:30 0:00:14 37959 build successful
10.10 205045 2022-12-11 17:39:59 0:00:19 65528 build successful
10.13 172813 2022-12-11 17:39:57 0:00:22 56539 build successful
10.15 122316 2022-12-11 17:38:43 0:00:20 36298 build successful
10.9 210412 2022-12-11 17:34:38 0:00:15 65220 build successful
11.arm64 76613 2022-12-11 17:25:26 0:00:05 26173 build successful
12.arm64 20980 2021-11-19 15:02:41 0:00:29 1326 build successful
11 17153 2021-01-25 12:26:29 0:02:28 2275 build successful
10.15 23839 2020-02-10 4:05:17 0:02:26 2911 build successful
10.12 113817 2020-02-10 1:40:52 0:01:46 30678 build successful
10.14 53278 2020-02-10 1:35:13 0:02:49 13366 build successful
10.13 78194 2020-02-10 1:31:47 0:03:28 22639 build successful
10.11 108209 2020-02-09 15:34:27 0:02:00 31678 build successful
10.10 109843 2020-02-09 15:33:57 0:01:31 31744 build successful
10.8 15670 2020-02-09 15:33:48 0:01:28 4094 build successful
10.9 112517 2020-02-09 15:33:27 0:01:35 31688 build successful
10.6.x86_64 19393 2020-02-09 15:33:24 0:01:51 4122 build successful
10.7 17590 2020-02-09 15:33:20 0:01:26 4099 build successful
10.15 7896 2019-11-30 7:47:52 0:02:19 1042 build successful