skip to navigation
skip to content

Not Logged In

lockfile 0.8

Platform-independent file locking module

Package Documentation

Latest Version: 0.9.1

The lockfile module exports a FileLock class which provides a simple API for locking files. Unlike the Windows msvcrt.locking function, the Unix fcntl.flock, fcntl.lockf 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.

Version 0.8 works around a bug in the threading module.

To provide feedback on lockfile please see the project home page at Google Code.

 
File Type Py Version Uploaded on Size
lockfile-0.8.tar.gz (md5) Source 2013-08-23 11KB
  • Downloads (All Versions):
  • 4156 downloads in the last day
  • 27108 downloads in the last week
  • 116303 downloads in the last month