Name | lockfile JSON |
Version |
0.12.2
JSON |
| download |
home_page | http://launchpad.net/pylockfile |
Summary | Platform-independent file locking module |
upload_time | 2015-11-25 18:29:58 |
maintainer | |
docs_url | https://pythonhosted.org/lockfile/ |
author | OpenStack |
requires_python | |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
Note: This package is **deprecated**. It is highly preferred that instead of
using this code base that instead `fasteners`_ or `oslo.concurrency`_ is
used instead. For any questions or comments or further help needed
please email `openstack-dev`_ and prefix your email subject
with ``[oslo][pylockfile]`` (for a faster response).
.. _fasteners: https://pypi.python.org/pypi/fasteners
.. _oslo.concurrency: http://docs.openstack.org/developer/oslo.concurrency/
.. _openstack-dev: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
The lockfile 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.
Note: In version 0.9 the API changed in two significant ways:
* It changed from a module defining several classes to a package containing
several modules, each defining a single class.
* Where classes had been named SomethingFileLock before the last two words
have been reversed, so that class is now SomethingLockFile.
The previous module-level definitions of LinkFileLock, MkdirFileLock and
SQLiteFileLock will be retained until the 1.0 release.
To install:
python setup.py install
* Documentation: http://docs.openstack.org/developer/pylockfile
* Source: http://git.openstack.org/cgit/openstack/pylockfile
* Bugs: http://bugs.launchpad.net/pylockfile
Raw data
{
"_id": null,
"home_page": "http://launchpad.net/pylockfile",
"name": "lockfile",
"maintainer": "",
"docs_url": "https://pythonhosted.org/lockfile/",
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "OpenStack",
"author_email": "openstack-dev@lists.openstack.org",
"download_url": "https://files.pythonhosted.org/packages/17/47/72cb04a58a35ec495f96984dddb48232b551aafb95bde614605b754fe6f7/lockfile-0.12.2.tar.gz",
"platform": "UNKNOWN",
"description": "Note: This package is **deprecated**. It is highly preferred that instead of\r\nusing this code base that instead `fasteners`_ or `oslo.concurrency`_ is\r\nused instead. For any questions or comments or further help needed\r\nplease email `openstack-dev`_ and prefix your email subject\r\nwith ``[oslo][pylockfile]`` (for a faster response).\r\n\r\n.. _fasteners: https://pypi.python.org/pypi/fasteners\r\n.. _oslo.concurrency: http://docs.openstack.org/developer/oslo.concurrency/\r\n.. _openstack-dev: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev\r\n\r\nThe lockfile package exports a LockFile class which provides a simple API for\r\nlocking files. Unlike the Windows msvcrt.locking function, the fcntl.lockf\r\nand flock functions, and the deprecated posixfile module, the API is\r\nidentical across both Unix (including Linux and Mac) and Windows platforms.\r\nThe lock mechanism relies on the atomic nature of the link (on Unix) and\r\nmkdir (on Windows) system calls. An implementation based on SQLite is also\r\nprovided, more as a demonstration of the possibilities it provides than as\r\nproduction-quality code.\r\n\r\nNote: In version 0.9 the API changed in two significant ways:\r\n\r\n * It changed from a module defining several classes to a package containing\r\n several modules, each defining a single class.\r\n\r\n * Where classes had been named SomethingFileLock before the last two words\r\n have been reversed, so that class is now SomethingLockFile.\r\n\r\nThe previous module-level definitions of LinkFileLock, MkdirFileLock and\r\nSQLiteFileLock will be retained until the 1.0 release.\r\n\r\nTo install:\r\n\r\n python setup.py install\r\n\r\n* Documentation: http://docs.openstack.org/developer/pylockfile\r\n* Source: http://git.openstack.org/cgit/openstack/pylockfile\r\n* Bugs: http://bugs.launchpad.net/pylockfile",
"bugtrack_url": null,
"license": "",
"summary": "Platform-independent file locking module",
"version": "0.12.2",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "07b04864472c90cdf4452cf250687334",
"sha256": "6c3cb24f344923d30b2785d5ad75182c8ea7ac1b6171b08657258ec7429d50fa"
},
"downloads": -1,
"filename": "lockfile-0.12.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "07b04864472c90cdf4452cf250687334",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 13564,
"upload_time": "2015-11-25T18:29:51",
"upload_time_iso_8601": "2015-11-25T18:29:51.462106Z",
"url": "https://files.pythonhosted.org/packages/c8/22/9460e311f340cb62d26a38c419b1381b8593b0bb6b5d1f056938b086d362/lockfile-0.12.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "a6a1a82957a23afdf44cfdd039b65ff9",
"sha256": "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799"
},
"downloads": -1,
"filename": "lockfile-0.12.2.tar.gz",
"has_sig": false,
"md5_digest": "a6a1a82957a23afdf44cfdd039b65ff9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 20874,
"upload_time": "2015-11-25T18:29:58",
"upload_time_iso_8601": "2015-11-25T18:29:58.279992Z",
"url": "https://files.pythonhosted.org/packages/17/47/72cb04a58a35ec495f96984dddb48232b551aafb95bde614605b754fe6f7/lockfile-0.12.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2015-11-25 18:29:58",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "lockfile"
}