### Two-phase locking with lockfiles
- Initial release
- Currently supports Linux/POSIX only
- Documentation coming soon
Relies on modifying the number of open file descriptors for a lockfile.
Currently implements the 2PL lock compatibility table:
Lock type | read-lock | write-lock
-----------|-----------|-----------
read-lock | Y | N
write-lock | N | N
Read locks are called "concurrent," and write locks are called "exclusive."
The API, the naming, and the implementation are all subjects to change until
the first _stable_ release (i.e. until version 1.0.0, or earlier if explicitly
stated).
Raw data
{
"_id": null,
"home_page": "https://github.com/LankyCyril/twpl/",
"name": "twpl",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": null,
"author": "Kirill Grigorev",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/d7/7c/f1d4f4975036d6a08976f3e8407588c1c36283802eed6aee200aa16ba27b/twpl-0.1.3.tar.gz",
"platform": null,
"description": "### Two-phase locking with lockfiles\n\n- Initial release\n- Currently supports Linux/POSIX only\n- Documentation coming soon\n\nRelies on modifying the number of open file descriptors for a lockfile.\n\nCurrently implements the 2PL lock compatibility table:\n\nLock type | read-lock | write-lock\n-----------|-----------|-----------\nread-lock | Y | N\nwrite-lock | N | N\n\nRead locks are called \"concurrent,\" and write locks are called \"exclusive.\"\n\nThe API, the naming, and the implementation are all subjects to change until\nthe first _stable_ release (i.e. until version 1.0.0, or earlier if explicitly\nstated).\n",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "Two-phase locking via lockfiles",
"version": "0.1.3",
"project_urls": {
"Homepage": "https://github.com/LankyCyril/twpl/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d77cf1d4f4975036d6a08976f3e8407588c1c36283802eed6aee200aa16ba27b",
"md5": "7b478533b94226e4f55f74c19b032a88",
"sha256": "12277e76ea670ec8207c4c294657fac7dc20cee079a7ba073f08be77882803e8"
},
"downloads": -1,
"filename": "twpl-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "7b478533b94226e4f55f74c19b032a88",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 18263,
"upload_time": "2024-12-27T10:21:11",
"upload_time_iso_8601": "2024-12-27T10:21:11.622616Z",
"url": "https://files.pythonhosted.org/packages/d7/7c/f1d4f4975036d6a08976f3e8407588c1c36283802eed6aee200aa16ba27b/twpl-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-27 10:21:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "LankyCyril",
"github_project": "twpl",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "twpl"
}