pipen-lock 0.8.1

Creator: railscoder56

Last updated:

Add to Cart

Description:

pipenlock 0.8.1

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 between FileLock and SoftFileLock

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.