PKG-INFO 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. Metadata-Version: 1.1
  2. Name: lockfile
  3. Version: 0.12.2
  4. Summary: Platform-independent file locking module
  5. Home-page: http://launchpad.net/pylockfile
  6. Author: OpenStack
  7. Author-email: openstack-dev@lists.openstack.org
  8. License: UNKNOWN
  9. Description: Note: This package is **deprecated**. It is highly preferred that instead of
  10. using this code base that instead `fasteners`_ or `oslo.concurrency`_ is
  11. used instead. For any questions or comments or further help needed
  12. please email `openstack-dev`_ and prefix your email subject
  13. with ``[oslo][pylockfile]`` (for a faster response).
  14. The lockfile package exports a LockFile class which provides a simple API for
  15. locking files. Unlike the Windows msvcrt.locking function, the fcntl.lockf
  16. and flock functions, and the deprecated posixfile module, the API is
  17. identical across both Unix (including Linux and Mac) and Windows platforms.
  18. The lock mechanism relies on the atomic nature of the link (on Unix) and
  19. mkdir (on Windows) system calls. An implementation based on SQLite is also
  20. provided, more as a demonstration of the possibilities it provides than as
  21. production-quality code.
  22. Note: In version 0.9 the API changed in two significant ways:
  23. * It changed from a module defining several classes to a package containing
  24. several modules, each defining a single class.
  25. * Where classes had been named SomethingFileLock before the last two words
  26. have been reversed, so that class is now SomethingLockFile.
  27. The previous module-level definitions of LinkFileLock, MkdirFileLock and
  28. SQLiteFileLock will be retained until the 1.0 release.
  29. To install:
  30. python setup.py install
  31. * Documentation: http://docs.openstack.org/developer/pylockfile
  32. * Source: http://git.openstack.org/cgit/openstack/pylockfile
  33. * Bugs: http://bugs.launchpad.net/pylockfile
  34. Platform: UNKNOWN
  35. Classifier: Intended Audience :: Developers
  36. Classifier: License :: OSI Approved :: MIT License
  37. Classifier: Operating System :: POSIX :: Linux
  38. Classifier: Operating System :: MacOS
  39. Classifier: Operating System :: Microsoft :: Windows :: Windows NT/2000
  40. Classifier: Operating System :: POSIX
  41. Classifier: Programming Language :: Python
  42. Classifier: Programming Language :: Python :: 2
  43. Classifier: Programming Language :: Python :: 2.7
  44. Classifier: Programming Language :: Python :: 3
  45. Classifier: Programming Language :: Python :: 3.3
  46. Classifier: Topic :: Software Development :: Libraries :: Python Modules