Process lock for pipen to prevent multiple runs at the same time
Project description
pipen-lock
Process lock for pipen to prevent multiple runs at the same time
Installation
pip install -U pipen-lock
Enable/Disable
The plugin is enabled by default. To disable it, either uninstall it or:
from pipen import Proc, Pipen
# process definition
class MyPipeline(Pipen):
plugins = ["-lock"]
Configuration
lock_soft: Whether to use soft lock. Default:Falsenon-soft lock is platform dependent while soft lock only watches the existence of the lock file. See more details https://py-filelock.readthedocs.io/en/latest/index.html#filelock-vs-softfilelock for the difference betweenFileLockandSoftFileLock
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pipen_lock-0.8.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for pipen_lock-0.8.1-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 29e979a467502c037728fa9c0aa13d1bb1ef8c9edc09b3567511b97100ed2ba3 |
|
| MD5 | 81301c2969c81eface60f32b8df620b3 |
|
| BLAKE2b-256 | ad342016391e57cecbbfeb40ac564ef199f46e422a8509d90acfe3430440466e |