Skip to main content

pyslock

High-performance distributed sync service and atomic DB. Provides good multi-core support through lock queues, high-performance asynchronous binary network protocols. Can be used for spikes, synchronization, event notification, concurrency control. https://github.com/snower/slock

Install

pip install pyslock

Event

import redis
import pyslock

slock_client = pyslock.Client("localhost")

event = slock_client.Event("test", 5, 120, False)
event.set()
import asyncio
import pyslock

async def run():
    slock_client = pyslock.AsyncClient("localhost")

    event = slock_client.Event("test", 5, 120, False)
    await event.set()

loop = asyncio.get_event_loop()
loop.run_until_complete(run())

License

slock uses the MIT license, see LICENSE file for the details.

Metadata

Release files for pyslock 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyslock 0.0.1
File Size Uploaded Provenance
pyslock-0.0.1.tar.gz 9.5 kB Without provenance Details

Release files / pyslock-0.0.1.tar.gz

Download URL pyslock-0.0.1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5f7a4e7939237a164ddcc207f8c53653b5d3d130ff637683869b4f3593dfcbc4
BLAKE2b-256 checksum
How to use checksums
351cd939df8830f09d621b1399ed7fae0ea5631bce105ae094ced957ef870230
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

Security for pyslock 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page