This project has been archived by its maintainers, and is no longer receiving any updates.
thlock
Overview
TangledHub library for etcd_lock with a focus on asynchronous functions
Licencing
thlock is licensed under the BSD license. Check the LICENSE for details
Installation
pip install thlock
Testing
docker-compose build thlock-test ; docker-compose run --rm thlock-test
Building
docker-compose build thlock-build ; docker-compose run --rm thlock-build
Publish
docker-compose build thcrypto-lock ; docker-compose run --rm -e PYPI_USERNAME=__token__ -e PYPI_PASSWORD=__SECRET__ thlock-publish
Usage
setup
Create instance of EtcdLock
HOST = 'etcd-test'
PORT = 2379
# create instance of EtcdLock
lock = EtcdLock(host=HOST, port=PORT, name='lock-0')
Acquire lock
HOST = 'etcd-test'
PORT = 2379
# create instance of EtcdLock
lock = EtcdLock(host=HOST, port=PORT, name='lock-0')
# acquire lock
await lock.acquire()
Metadata
Release files for thlock 0.9.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thlock-0.9.6.tar.gz | 3.9 kB | Without provenance | Details for thlock-0.9.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thlock-0.9.6-py3-none-any.whl | Python 3 | none | any | Details for thlock-0.9.6-py3-none-any.whl |
Total release size: 8.6 kB
Release files / thlock-0.9.6.tar.gz
| Download URL | thlock-0.9.6.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8f7c3196d1f692d8f08b35a609fd2cda27b1235a24949feb37dd0ef6fa59f52
|
|
BLAKE2b-256 checksum How to use checksums |
97e398a96fe6e7d1868e3cb7b333218114e7148b60cc84274551321c85b10f49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.10.1 Linux/5.4.109+
|
Release files / thlock-0.9.6-py3-none-any.whl
| Download URL | thlock-0.9.6-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea8db36e7f7ac67befd4d17f13fab42852f6cf557aaa2c820f3c4d507bf675c3
|
|
BLAKE2b-256 checksum How to use checksums |
10b7d8ddaff386f2937b9f480d72abd3f29b61c6d6d3e31ec261c749f2ad81ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.10.1 Linux/5.4.109+
|
Security for thlock 0.9.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.