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.1.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.1.tar.gz.
File metadata
- Download URL: pipen_lock-1.1.1.tar.gz
- Upload date:
- Size: 3.2 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 |
b606416a9a07eba1d4f39c5fc72191bafd2caa1d802b7237525d6843642c239a
|
|
| MD5 |
57d8bc0e908d77fab9ffcfbd77826750
|
|
| BLAKE2b-256 |
7f025e30b0cd93192b2fbcffd21bf6f81db7c4d4bbf3b37e6de4da09722672e0
|
File details
Details for the file pipen_lock-1.1.1-py3-none-any.whl.
File metadata
- Download URL: pipen_lock-1.1.1-py3-none-any.whl
- Upload date:
- Size: 3.6 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 |
cbc515e1fda6ac8fb66314ebd1aef84b7edc8663aadf1ac8c6a30f14258b0f2c
|
|
| MD5 |
497d8514a0e5aa37b17e3d5c2c0d3400
|
|
| BLAKE2b-256 |
5768df2f1848cf095c64388c4d5e8ea416c49707005a38ef6c87ef5d539136c7
|