skillfed

pycrdt-store

Persistent storage for pycrdt

pycrdt-store v0.1.5 546.0K downloads/30d#6,070 on PyPI7
Permissive 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) Active released

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-store

uv

uv add pycrdt-store

poetry

poetry add pycrdt-store

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

pycrdt persistent storagecrdt state persistencecollaborative data storageyjs-compatible storagedistributed data backendcrdt database adaptercollaborative editing storage
crdtcollaborationpersistence

More Database packages