Add your description here
Project description
S3 Locks
A library for distributed locking using Amazon S3. Uses S3 Conditional Writes.
Usage
from s3_locks import S3Lock
with S3Lock(bucket='my-bucket', key='locks/my-resource', ttl=60) as lock:
# code is only executed if the lock is acquired
print("Lock acquired, performing protected operation")
# lock will be released automatically when exiting the context manager
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
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 s3_locks-0.1.0.tar.gz.
File metadata
- Download URL: s3_locks-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f8a9c700db11568a8a07a992b41c7c94594f681d4fa44ac48935e49191f7ba6
|
|
| MD5 |
950f369dbe79ed357ab9b3f020fec670
|
|
| BLAKE2b-256 |
7601133564e9c586851ed3f4f31a29ae1ccfa53d83136fb4097c8491163af5d6
|
Provenance
The following attestation bundles were made for s3_locks-0.1.0.tar.gz:
Publisher:
publish.yml on thomelane/s3-locks
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
s3_locks-0.1.0.tar.gz -
Subject digest:
3f8a9c700db11568a8a07a992b41c7c94594f681d4fa44ac48935e49191f7ba6 - Sigstore transparency entry: 428271698
- Sigstore integration time:
-
Permalink:
thomelane/s3-locks@77ffa8b2005daf6a3e871fbc1b873206942a5a7d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/thomelane
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@77ffa8b2005daf6a3e871fbc1b873206942a5a7d -
Trigger Event:
release
-
Statement type:
File details
Details for the file s3_locks-0.1.0-py3-none-any.whl.
File metadata
- Download URL: s3_locks-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f422532c6b4ae729fa7c61a3c414e8f1a801ee878459f801093dd13f262bfeb2
|
|
| MD5 |
e622a07286f003647d5cdd0b81275e1c
|
|
| BLAKE2b-256 |
9bba67c0c4fe45ff2ddf497dc8ee87f579c6d91ff406bce6916825a6720b3e54
|
Provenance
The following attestation bundles were made for s3_locks-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on thomelane/s3-locks
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
s3_locks-0.1.0-py3-none-any.whl -
Subject digest:
f422532c6b4ae729fa7c61a3c414e8f1a801ee878459f801093dd13f262bfeb2 - Sigstore transparency entry: 428271713
- Sigstore integration time:
-
Permalink:
thomelane/s3-locks@77ffa8b2005daf6a3e871fbc1b873206942a5a7d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/thomelane
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@77ffa8b2005daf6a3e871fbc1b873206942a5a7d -
Trigger Event:
release
-
Statement type: