pidlockfile: PID lock file module for use with python-daemon
This module is a replacement for ‘python-daemon’ pidfile module. TimeoutPIDLockFile class from pidfile implements “advisory” locking. Essentially, it does not really lock anthing. It simply checks lock file existence and, as a result, it can’t detect certain situations like server process crush and release the lock.
This module uses python’s fcntl facility to lock the PID file. That means that is if daemon process is terminated unexpectedly, lock is automatically released and daemon can be restarted.
Installation
pip install pidlockfile
Running unit tests
From the project top level directory execute:
python -m unittest discover -v
Metadata
Release files for pidlockfile 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pidlockfile-0.3.tar.gz | 7.9 kB | Without provenance | Details for pidlockfile-0.3.tar.gz |
Release files / pidlockfile-0.3.tar.gz
| Download URL | pidlockfile-0.3.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c46c6bb4664658ab1040ef0e5ba660550cf52778b30159fbfbf182b3df5a18d2
|
|
BLAKE2b-256 checksum How to use checksums |
4b0140d9ac416916adcb7697e5d0c3c899bebe6549a174960db0a9b68ca016de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pidlockfile 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.