You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.3 KiB

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