Skip to main content

Official Python client for https://lockable.dev

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lockable.dev-0.1.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lockable.dev-0.1.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file lockable.dev-0.1.2.tar.gz.

File metadata

  • Download URL: lockable.dev-0.1.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for lockable.dev-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2375e5f2a3da9e8045195fe455d676d65e6f312195dc38947732e5adf2ea3746
MD5 7c7ab264fb3bc27fc998aeb2edc31331
BLAKE2b-256 ac5c2696dcd689163f551799207587e56be5c174fd7f38b9b09bdbd86e100063

See more details on using hashes here.

File details

Details for the file lockable.dev-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: lockable.dev-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for lockable.dev-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 643a66268b3a2df72ebc52ded1dd5e6cf6648c2ecc8957503ee1c6757d4c0202
MD5 c277448629ff67f385d4cef03e5117e1
BLAKE2b-256 758aec61b12376a1e97d5cb359246dc9976c92a337330adfed694f6ad9d4753e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page