pycrdt-store
Persistent storage for pycrdt
What it is and what it does
pycrdt-store is a persistence layer for pycrdt, the Python implementation of Conflict-free Replicated Data Types (CRDTs). It bridges the gap between in-memory CRDT state and durable storage, allowing collaborative documents to survive process restarts and be shared across sessions. The package depends on pycrdt for the core CRDT logic, anyio for async I/O abstraction, and sqlite-anyio for SQLite integration, suggesting a file-based or database-backed storage model.
The package is in Beta development status, actively maintained, and targets modern Python versions (3.10 through 3.14). It is designed for developers building collaborative applications—real-time editors, shared workspaces, or distributed systems—who need to persist CRDT state durably. The low install friction and permissive MIT license make it straightforward to integrate into existing projects.
Use it for:
- Persist collaborative document state in a real-time editor so changes survive server restarts
- Store CRDT snapshots for audit trails or version history in distributed applications
- Back up shared data structures in multi-user applications using yjs-compatible protocols
- Enable offline-first workflows by loading and saving document state between sessions
- Implement durable state for conflict-free replicated objects in backend services
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides persistent storage backends for pycrdt, a CRDT (Conflict-free Replicated Data Type) library, enabling state to be saved and retrieved across sessions.
Yes, if you are building a collaborative application with pycrdt and need durable storage. The package has low install friction, active maintenance, no known vulnerabilities, and a permissive license. However, verify that its storage model and API match your persistence requirements before committing to it in production, as it is still in Beta and documentation is limited.
Install
pycrdt-store on PyPI
pip
pip install pycrdt-storeuv
uv add pycrdt-storepoetry
poetry add pycrdt-storeInstalling pycrdt-store
Before you install
Low install friction with a pure-Python wheel distribution. The package is actively maintained with a recent commit on 2026-06-11 and carries Beta status, indicating ongoing development but reasonable stability for experimental use.
License in practice
MIT License permits unrestricted commercial and private use, modification, and redistribution with minimal obligations—only requiring preservation of copyright and license notices in distributed copies.
Quickstart
pip install pycrdt-store
from pycrdt_store import YDocStore
store = YDocStore()
# Use store to persist pycrdt documents
Requires Python 3.10 or later; depends on pycrdt, anyio, and sqlite-anyio at runtime.
Verify before relying
- Specific storage backends or formats supported (SQLite, file-based, or others) beyond the sqlite-anyio dependency hint
- API surface and whether it integrates directly with pycrdt's YDoc or requires adapter code
- Performance characteristics or scalability limits for document size or concurrency
Package facts
| License | MIT License Copyright (c) 2022 David Brochart Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — anyio, pycrdt, sqlite-anyio |
| Maintenance | actively maintained — 64 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 545,986/month — #6,070 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pycrdt_store-0.1.5-py3-none-any.whl
Keywords: pycrdt, yjs
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
pycrdtpycrdt provides Python bindings for Yrs, a CRDT…
permissive · top 5,000 on PyPI
pycrdt-websocketPycrdt-websocket provides an async WebSocket…
permissive · top 5,000 on PyPI
jupyter-ydocProvides pycrdt-based collaborative data…
permissive · top 5,000 on PyPI
y-pyYpy is a Python binding for Y-CRDT that…
permissive · top 5,000 on PyPI
loroLoro provides Python bindings for a CRDT…
unclear · top 5,000 on PyPI
ypy-websocketYpy-websocket is an async WebSocket connector…
permissive · top 5,000 on PyPI
persistentProvides transparent persistence for Python…
unclear · top 15,000 on PyPI
PersistenceProvides a persistent base class built on…
unclear · top 15,000 on PyPI
requests-cacheAdds persistent HTTP caching to the requests…
permissive · top 5,000 on PyPI
llama-index-storage-docstore-postgresProvides a Postgres-backed document store…
permissive · top 15,000 on PyPI