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.0.0.tar.gz
(3.0 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.0.0.tar.gz.
File metadata
- Download URL: pipen_lock-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81da26c33733a6ba4c607d22b7cc1898566371484925b095509f5e722b1f3e6b
|
|
| MD5 |
2e93289a3cc9515c64ce17e80e87da56
|
|
| BLAKE2b-256 |
41c44cfa1f24022015993aca7e336aa5bdb9e27655eaf6bedfd9f33476d6f4d8
|
File details
Details for the file pipen_lock-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pipen_lock-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1629dbf98f817702b73c769f3e59a2a20810d8b19babe9a2e4738a9ee1f3dbeb
|
|
| MD5 |
71ac97e523c57ba7e4322190e76e44db
|
|
| BLAKE2b-256 |
98e87c23859acbebdfbfe2282f8450f33934abc9f8250344bf1f74af7f58181b
|