Introduction
ZTFY.lock is a small package which can be used to get locks on persistent objects in several contexts.
These contexts include:
simple ‘threading’ locking, in a single-process environment
file locking (using ‘zc.lockfile’ package), in a multi-processes environment where all processes are handled on a single host
memcached locking (using ‘lovely.memcached’ package), in a multi-process environment where processes are handled on several hosts.
Locking utility
Locking is handled by a utility implementing ILockingUtility interface and registered for that interface. Locking policy have to be chosen on that utility to define the locking helper which will be used.
According to the selected policy, additional parameters will have to be defined to set the file locks path or the memcached client connection.
Contributors
Thierry Florac <tflorac@ulthar.net>, Author
Changelog
0.1.2
added configuration directives to remove static dependencies with ztfy.skin package
0.1.1
use last ZTFY.skin base classes
0.1.0
package created using templer [Thierry Florac]
Metadata
Release files for ztfy.lock 0.1.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 |
|---|---|---|---|---|
| ztfy.lock-0.1.2.tar.gz | 11.3 kB | Without provenance | Details for ztfy.lock-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ztfy.lock-0.1.2-py2.7.egg | Legacy Egg format | - | - | Details for ztfy.lock-0.1.2-py2.7.egg |
Total release size: 40.6 kB
Release files / ztfy.lock-0.1.2.tar.gz
| Download URL | ztfy.lock-0.1.2.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c87ea4c6b78c2d16f764b68fdf2a2ce259894037fa8b85fc845d7a139e6e09c
|
|
BLAKE2b-256 checksum How to use checksums |
98c36ed3e804038ba47b5c19ce6832101f49394d9d22f8e0840ddbe4d2bfdf6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ztfy.lock-0.1.2-py2.7.egg
| Download URL | ztfy.lock-0.1.2-py2.7.egg |
|---|---|
| Size | 29.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b2d23b7c6868a4677385d585aa29ea04dfeaa47d61854c2ab474d0c8a1062733
|
|
BLAKE2b-256 checksum How to use checksums |
47b126a4e883cd956b0e38ef2a7367f967aead4d2af7bf11c50083a9cd9795c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ztfy.lock 0.1.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.