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.0.tar.gz
(3.1 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.0.tar.gz.
File metadata
- Download URL: pipen_lock-1.1.0.tar.gz
- Upload date:
- Size: 3.1 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 |
702ceddf90ccc083b847588357fd16261d8082d4fdce24576f98cd080cdd6fd9
|
|
| MD5 |
526845c51e4f5b5da6224f913a4924cb
|
|
| BLAKE2b-256 |
50b619bde339821e5df60ec7f65580e98e38d938e7d02f3c24d9da21f8c501c9
|
File details
Details for the file pipen_lock-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pipen_lock-1.1.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 |
4b0f9947f9c89213c569b537edf8bb8b68cd27049813df4a55f837769c19c58d
|
|
| MD5 |
49fdf67bbdceddf74d04f26d66d6208a
|
|
| BLAKE2b-256 |
1cc20fc8be86674594c55adf03ca38fc63201f5ff800e780ea1a84c38644292a
|