{ "name": "py-fasteners", "version": "0.20", "summary": "fasteners: inter-process and reader-writer locks for Python", "category": "library", "license": "Apache-2.0", "homepage": "https://github.com/harlowja/fasteners", "source": { "url": "https://files.pythonhosted.org/packages/51/ac/e5d886f892666d2d1e5cb8c1a41146e1d79ae8896477b1153a21711d3b44/fasteners-0.20-py3-none-any.whl", "sha256": "9422c40d1e350e4259f509fb2e608d6bc43c0136f79a00db1b49046029d0b3b7" }, "watch": {"kind": "pypi", "package": "fasteners"}, "deps": [ "python" ], "env_packages": [], "static": false, "nss": false, "check": " t=$(mktemp -d) && v=$(bin/python3 -c 'import fasteners, subprocess, sys; l = fasteners.InterProcessLock(sys.argv[1]); a = l.acquire(blocking=False); r = subprocess.run([sys.executable, \"-c\", \"import fasteners, sys; print(fasteners.InterProcessLock(sys.argv[1]).acquire(blocking=False))\", sys.argv[1]], capture_output=True, text=True).stdout.strip(); l.release(); print(a, r)' \"$t/lock\") && echo \"py-fasteners: $v\" && [ \"$v\" = 'True False' ] " }