Skip to main content

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

Metadata

Release files for tollmeshcache 1.1.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 tollmeshcache 1.1.1
File Size Uploaded Provenance Actions
tollmeshcache-1.1.1.tar.gz 18.2 kB With provenance Details for tollmeshcache-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tollmeshcache 1.1.1
File Interpreter ABI Platform Actions
tollmeshcache-1.1.1-py3-none-any.whl Python 3 none any Details for tollmeshcache-1.1.1-py3-none-any.whl

Total release size: 39.1 kB

Release files / tollmeshcache-1.1.1.tar.gz

Download URL tollmeshcache-1.1.1.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6f53cba2d8605d9d9a987bf1762e2fa9d98aeed98cd77e5be0ae915521b6dd0a
BLAKE2b-256 checksum
How to use checksums
cc647825110e7f88cc62f3e54f708bdf43bc9abb7570635a30a60bb40d3f1e78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.

Transparency log

Release files / tollmeshcache-1.1.1-py3-none-any.whl

Download URL tollmeshcache-1.1.1-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ef8cb42f09d18cea4c75c8a9916f2dfd3e6201e0d4543e4b4b8aeb78463a5bf
BLAKE2b-256 checksum
How to use checksums
263b7f2ab6a8111760338d31f633ab3eacfc592afbc6f99f1121c8d8954b19d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.

Transparency log

Security for tollmeshcache 1.1.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tollmeshcache-1.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.

Transparency log

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.

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