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:False
non-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 betweenFileLock
andSoftFileLock
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 details)
Built Distribution
File details
Details for the file pipen_lock-0.8.1.tar.gz
.
File metadata
- Download URL: pipen_lock-0.8.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7c17520d17e79c59192d38a2fad85685d103d551117784c90bdcbd84bb34d32 |
|
MD5 | ed725b46e5e248883540ace26111d668 |
|
BLAKE2b-256 | 3aa60cdab9442551b8bb9f69d424766ca3094a2b11c211f430ca0dd3b23adcc3 |
File details
Details for the file pipen_lock-0.8.1-py3-none-any.whl
.
File metadata
- Download URL: pipen_lock-0.8.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29e979a467502c037728fa9c0aa13d1bb1ef8c9edc09b3567511b97100ed2ba3 |
|
MD5 | 81301c2969c81eface60f32b8df620b3 |
|
BLAKE2b-256 | ad342016391e57cecbbfeb40ac564ef199f46e422a8509d90acfe3430440466e |