y-py
Python bindings for the Y-CRDT built from yrs (Rust)
Decision gist · record as of 2026-08-14
Yes, if you need Y-CRDT in Python and can accept an abandoned codebase. The library is stable and has no known vulnerabilities, but expect no future updates, security patches, or API changes. Suitable for new projects only if you are comfortable maintaining a fork or migrating away if critical issues arise. For production systems requiring active maintenance, evaluate whether a maintained alternative or a different CRDT approach better fits your risk tolerance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later; compiled wheels available for common architectures but not for all platforms (e.g., WASM/Pyodide wheels must be sourced from GitHub releases, not PyPI).
- Medium install friction due to compiled Rust bindings; wheels are pre-built for common platforms (Python 3.7–3.12, Linux/macOS/Windows).
- However, the project is abandoned as of October 2023 with no recent maintenance, and the repository is archived—expect no bug fixes or updates.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), allowing commercial and private use with minimal restrictions.
last release 2023-10-05 (1044 days) · last repo commit 2025-04-19 · 213 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,188,953 downloads/mo, #4,243 on PyPI
Alternatives
Verify before relying
import y_py as Y
d1 = Y.YDoc()
text = d1.get_text('test')
with d1.begin_transaction() as txn:
text.extend(txn, "hello world!")
d2 = Y.YDoc()
state_vector = Y.encode_state_vector(d2)
diff = Y.encode_state_as_update(d1, state_vector)
Y.apply_update(d2, diff)- Whether the abandoned status and lack of updates since October 2023 affect compatibility with current Python or ecosystem changes.
- Performance characteristics and scalability limits for typical collaborative editing workloads.
- Interoperability guarantees with other Y-CRDT implementations across versions.
What it is and what it does
Ypy wraps the Rust-based Yrs library to bring Y-CRDT (Conflict-free Replicated Data Types) to Python. It enables multiple devices or processes to maintain synchronized shared state without a central authority, automatically resolving concurrent edits. The library models all data within a YDoc container and requires updates to happen inside transaction blocks, mirroring the design of Yjs (the JavaScript Y-CRDT binding). You can encode and apply state diffs to sync documents, making it suitable for collaborative editors, real-time applications, and distributed systems where eventual consistency is acceptable.
The package is a thin wrapper around Rust code, providing both safety and performance. It ships as pre-compiled wheels for Python 3.7–3.12 on Linux, macOS, and Windows. However, the project is archived and abandoned as of October 2023, with no active maintenance—the last commit was in April 2025 but the repository is marked archived, signaling that the maintainers are no longer actively developing it.
Use it for
- Build collaborative text editors or note-taking apps where multiple users edit the same document simultaneously.
- Sync application state across browser and server in real-time without polling or manual conflict resolution.
- Implement distributed whiteboards or drawing applications with automatic convergence of concurrent strokes.
- Create offline-first mobile or desktop apps that merge local edits with remote changes when connectivity returns.
- Share structured data (arrays, maps, text) between Python services and JavaScript/TypeScript clients via Y-CRDT protocol.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need Y-CRDT in Python and can accept an abandoned codebase.
The library is stable and has no known vulnerabilities, but expect no future updates, security patches, or API changes. Suitable for new projects only if you are comfortable maintaining a fork or migrating away if critical issues arise. For production systems requiring active maintenance, evaluate whether a maintained alternative or a different CRDT approach better fits your risk tolerance.
Install
y-py on PyPI
Before you install
Medium install friction due to compiled Rust bindings; wheels are pre-built for common platforms (Python 3.7–3.12, Linux/macOS/Windows). However, the project is abandoned as of October 2023 with no recent maintenance, and the repository is archived—expect no bug fixes or updates.
Requires Python 3.7 or later; compiled wheels available for common architectures but not for all platforms (e.g., WASM/Pyodide wheels must be sourced from GitHub releases, not PyPI).
License in practice
Licensed under MIT (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
import y_py as Y
d1 = Y.YDoc()
text = d1.get_text('test')
with d1.begin_transaction() as txn:
text.extend(txn, "hello world!")
d2 = Y.YDoc()
state_vector = Y.encode_state_vector(d2)
diff = Y.encode_state_as_update(d1, state_vector)
Y.apply_update(d2, diff)
Verify before relying
- Whether the abandoned status and lack of updates since October 2023 affect compatibility with current Python or ecosystem changes.
- Performance characteristics and scalability limits for typical collaborative editing workloads.
- Interoperability guarantees with other Y-CRDT implementations across versions.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,044 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 1,188,953 / month, #4,243 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Rust |
Evidence: y_py-0.6.2-cp310-cp310-macosx_10_7_x86_64.whl; y_py-0.6.2-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl; y_py-0.6.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; y_py-0.6.2-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; y_py-0.6.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; y_py-0.6.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl; y_py-0.6.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; y_py-0.6.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl; y_py-0.6.2-cp310-none-win32.whl; y_py-0.6.2-cp310-none-win_amd64.whl; y_py-0.6.2-cp311-cp311-macosx_10_7_x86_64.whl; y_py-0.6.2-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl; y_py-0.6.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; y_py-0.6.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; y_py-0.6.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; y_py-0.6.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl; y_py-0.6.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; y_py-0.6.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl; y_py-0.6.2-cp311-none-win32.whl; y_py-0.6.2-cp311-none-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “crdt python binding”
- y-pyYpy is a Python binding for Y-CRDT that provides distributed data…
- pycrdtpycrdt provides Python bindings for Yrs, a CRDT (Conflict-free…
- loroLoro provides Python bindings for a CRDT (Conflict-free Replicated…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also pycrdt · ypy-websocket · pycrdt-store · loro · jupyter-server-ydoc · jupyter-docprovider · jupyter-collaboration-ui · jupyter-collaboration · pycrdt-websocket · pyobjc-framework-SyncServices