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-1.1.2.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pipen_lock-1.1.2.tar.gz.
File metadata
- Download URL: pipen_lock-1.1.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.12.3 Linux/6.17.0-1010-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdbeca60dd90269723778455462a06efe2d4ffeaa7a58c029013706f182084bc
|
|
| MD5 |
5e4ad9c880942c348b3ab6072e333549
|
|
| BLAKE2b-256 |
b391e1ede79496d9c24663a78dda591d8125f470d3da804f160d6d0d520f570e
|
File details
Details for the file pipen_lock-1.1.2-py3-none-any.whl.
File metadata
- Download URL: pipen_lock-1.1.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.12.3 Linux/6.17.0-1010-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e91b5ed57470763be3687606945588205e59720f9bddf1983ea8c6ec5cb4c7f
|
|
| MD5 |
04a0048f95ab66ea051f7323700a6562
|
|
| BLAKE2b-256 |
bddcb799279271eb07403c2af9e3f3bc40906298e42603784455da3e13488867
|