Skip to main content

Lockable-dev

Official Python client for https://lockable.dev

Lockable is an easy-to-use, language-independent locking mechanism for multi-process workloads. Think of it as flock, but for distributed systems which may not be sharing a filesystem.

Learn more

Installation

pip install lockable-dev

Usage

from lockable import Lock
with Lock('my-lock-name'):
    #do stuff

Development

Testing

make test

Building and pushing changes

If you want to push to PiPy, credentials go in .env.local. See .env.example for a template.

# Just build
make build

#Build and upload latest version to TestPyPi
make test-publish

#Build and upload latest version to TestPyPi
make publish

Release files for lockable.dev 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lockable.dev 0.1.2
File Size Uploaded
lockable.dev-0.1.2.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lockable.dev 0.1.2
File Interpreter ABI Platform
lockable.dev-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / lockable.dev-0.1.2.tar.gz

Download URL lockable.dev-0.1.2.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2375e5f2a3da9e8045195fe455d676d65e6f312195dc38947732e5adf2ea3746
BLAKE2b-256 checksum
How to use checksums
ac5c2696dcd689163f551799207587e56be5c174fd7f38b9b09bdbd86e100063
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / lockable.dev-0.1.2-py3-none-any.whl

Download URL lockable.dev-0.1.2-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
643a66268b3a2df72ebc52ded1dd5e6cf6648c2ecc8957503ee1c6757d4c0202
BLAKE2b-256 checksum
How to use checksums
758aec61b12376a1e97d5cb359246dc9976c92a337330adfed694f6ad9d4753e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page