Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
Metadata-Version: 1.2
Name: NamedAtomicLock
Version: 1.1.3
Summary: Python module for an atomic named interprocess lock which is local to the machine.
Home-page: https://github.com/kata198/NamedAtomicLock
Author: Tim Savannah
Author-email: kata198@gmail.com
Maintainer: Tim Savannah
Maintainer-email: kata198@gmail.com
License: LGPLv3
Description: NamedAtomicLock
        ===============
        
        Python module for an atomic named interprocess lock which is local to the machine.
        
        This means that this lock works across process boundries, so you can use it to lock objects that multiple processes would use.
        
        
        NamedAtomicLock works by taking advantage of the fact that POSIX defines mkdir to be an atomic operation. So a directory is used as the name.
        
        All UNIX systems are supported, overhead is light, and the lock is global to the system.
        
        
        The NamedAtomicLock module provides a class NamedAtomicLock which implements the "lock" interface, with familiar "acquire" and "release" methods.
        
        Documentation
        -------------
        
        See http://htmlpreview.github.io/?https://github.com/kata198/NamedAtomicLock/blob/master/doc/NamedAtomicLock.html 
        
        
        Example
        -------
        
        A basic usage example
        
        	from NamedAtomicLock import NamedAtomicLock
        
        
        	myLock = NamedAtomicLock('myLock')
        
        
        	if myLock.acquire(timeout=15):
        
        		doWork()
        
        		myLock.release()
        
        
        
        
        
Keywords: lock,named,atomic,mkdir,posix,acquire,release
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules