TollMeshCache - Python SDK
Distributed CRDT-based caching and coordination for Python applications.
Installation
pip install tollmeshcache
Quick Start
from tollmeshcache import Client, ClientConfig
client = Client(ClientConfig(host='localhost', port=8080))
# Job Queues - distributed task processing
job = client.enqueue('tasks', 'my-job', priority=5)
claimed = client.claim('tasks', 'worker-1')
client.complete('tasks', claimed['id'])
# Sorted Sets - O(log n) leaderboards
client.zadd('scores', 100, 'player-1')
client.zadd('scores', 150, 'player-2')
top_scores = client.zrevrange('scores', limit=10) # highest first
# Streams - append-only event logs
entry = client.xadd('events', {'event': 'login', 'user': 'alice'})
client.xgroup_create('events', 'analytics')
for e in client.xreadgroup('analytics', 'worker-1', 'events'):
client.xack('events', 'analytics', 'worker-1', e['id'])
Features
- Job Queues: Distributed task processing with exactly-once semantics
- Sorted Sets: O(log n) leaderboards and rankings
- Streams: Append-only event logs with consumer groups
- CRDT-based: Eventual consistency without central coordinator
- Async Support: Full async/await support
- Distributed: Multi-node coordination with Lamport clocks
Documentation
See https://github.com/TollMesh/toll-mesh-store for complete documentation.
License
Apache License 2.0
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 tollmeshcache-1.1.0.tar.gz.
File metadata
- Download URL: tollmeshcache-1.1.0.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89d9b5098f66751adc047ebd2e3b822f05760898b67099843483d738b1628680
|
|
| MD5 |
42283f7a53cce2d475aa54b3dda4331e
|
|
| BLAKE2b-256 |
865fbb3c027f4cfaefb2d9b74165b76feddd4fb35477c96173f065582d1c1211
|
Provenance
The following attestation bundles were made for tollmeshcache-1.1.0.tar.gz:
Publisher:
publish-python.yml on TollMesh/toll-mesh-store
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tollmeshcache-1.1.0.tar.gz -
Subject digest:
89d9b5098f66751adc047ebd2e3b822f05760898b67099843483d738b1628680 - Sigstore transparency entry: 2710525831
- Sigstore integration time:
-
Permalink:
TollMesh/toll-mesh-store@17789ae588794974f515cd88298999818338bd1f -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/TollMesh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@17789ae588794974f515cd88298999818338bd1f -
Trigger Event:
push
-
Statement type:
File details
Details for the file tollmeshcache-1.1.0-py3-none-any.whl.
File metadata
- Download URL: tollmeshcache-1.1.0-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4976a1f90b32874a1bc11852fcfbdaa28a888a0bc2788c9cd2204362131e1edc
|
|
| MD5 |
ade5447de4bef9c19120315ede673fc1
|
|
| BLAKE2b-256 |
6e854179f25f9471b5f19522cb746b3c7e6d5239980520a443e2e51ab8d79447
|
Provenance
The following attestation bundles were made for tollmeshcache-1.1.0-py3-none-any.whl:
Publisher:
publish-python.yml on TollMesh/toll-mesh-store
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tollmeshcache-1.1.0-py3-none-any.whl -
Subject digest:
4976a1f90b32874a1bc11852fcfbdaa28a888a0bc2788c9cd2204362131e1edc - Sigstore transparency entry: 2710526266
- Sigstore integration time:
-
Permalink:
TollMesh/toll-mesh-store@17789ae588794974f515cd88298999818338bd1f -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/TollMesh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@17789ae588794974f515cd88298999818338bd1f -
Trigger Event:
push
-
Statement type: