Padlock is a Python library that provides a lock through a single, simple interface and offers several backends (actually, for now, only one, until someone contributes another) so you can choose the backend that best fits your needs.
It’s really easy to use. Here, for example, is how to create a cassandra row lock:
>>> import padlock, pycassa
>>> pool = pycassa.ConnectionPool('my_keyspace')
>>> with padlock.get('cassandra, pool=pool, column_family='my_column_family'):
... do_important_shit()
"success!"
Huzzah!
Metadata
Release files for padlock 0.0.2
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 |
|---|---|---|---|---|
| padlock-0.0.2.tar.gz | 2.0 kB | Without provenance | Details for padlock-0.0.2.tar.gz |
Release files / padlock-0.0.2.tar.gz
| Download URL | padlock-0.0.2.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8817ada785259f5741b14f94716c25ca9d3ec7bc7d1dc73fea463438334caf4
|
|
BLAKE2b-256 checksum How to use checksums |
aaa5623274be0c9c04daafd75f275e6c06b3de465c603716200af5547a63931f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for padlock 0.0.2
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.