loro
Python bindings for [Loro](https://loro.dev)
Decision gist · record as of 2026-08-14
Yes, if you need CRDT-backed collaborative data structures in Python and are comfortable with the unclear license status. The package is actively maintained, has no known vulnerabilities, and offers good platform coverage via pre-built wheels. Verify the license terms before production use. Medium install friction is acceptable for most development environments.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later.
- Development builds require Rust toolchain and maturin; pre-built wheels available for common platforms.
- Medium install friction due to compiled Rust bindings; wheels are pre-built for common platforms (CPython 3.10–3.11, Linux/macOS/Windows), but development builds require Rust toolchain and maturin.
License · maintenance · safety
(unclear) — License status is unclear—no SPDX identifier or raw license text is declared in package metadata. Verify the actual license before use in proprietary or copyleft-sensitive projects.
last release 2026-07-21 (24 days) · last repo commit 2026-07-21 · 28 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,526,285 downloads/mo, #3,020 on PyPI
Alternatives
Verify before relying
pip install loro
from loro import LoroDoc
doc = LoroDoc()
text = doc.get_text("text")
text.insert(0, "Hello, Loro!")
sub = doc.subscribe_root(lambda e: print(e))
doc.commit()- Exact license terms and compliance obligations—metadata shows no SPDX or raw license declaration.
- Performance characteristics and scalability limits for large documents or high-frequency updates.
- Stability guarantees and API compatibility policy across minor/patch versions.
What it is and what it does
Loro is a Python interface to a CRDT library written in Rust, designed for building local-first applications where multiple clients can edit shared data structures without a central server. It exposes rich data types—Text, List, Map, Tree, Movable List, Counter—and handles conflict resolution automatically so concurrent edits merge correctly. The Rust implementation provides performance that would be difficult to achieve in pure Python.
You use Loro by creating a LoroDoc (document), obtaining containers for specific data types, making edits, and subscribing to changes. It's intended for scenarios where you need offline-first collaboration, peer-to-peer sync, or conflict-free merging of concurrent updates across distributed clients.
Use it for
- Build offline-first collaborative editors where multiple users edit the same document without a central server.
- Implement peer-to-peer data synchronization with automatic conflict resolution across network partitions.
- Create local-first applications that sync state between devices while maintaining consistency.
- Add real-time collaborative features (shared lists, maps, text) to existing Python applications.
- Prototype or deploy CRDT-based systems where Rust performance is needed but Python integration is preferred.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need CRDT-backed collaborative data structures in Python and are comfortable with the unclear license status.
The package is actively maintained, has no known vulnerabilities, and offers good platform coverage via pre-built wheels. Verify the license terms before production use. Medium install friction is acceptable for most development environments.
Install
loro on PyPI
Before you install
Medium install friction due to compiled Rust bindings; wheels are pre-built for common platforms (CPython 3.10–3.11, Linux/macOS/Windows), but development builds require Rust toolchain and maturin. Package is actively maintained with a recent release.
Requires Python 3.8 or later. Development builds require Rust toolchain and maturin; pre-built wheels available for common platforms.
License in practice
License status is unclear—no SPDX identifier or raw license text is declared in package metadata. Verify the actual license before use in proprietary or copyleft-sensitive projects.
Quickstart
pip install loro
from loro import LoroDoc
doc = LoroDoc()
text = doc.get_text("text")
text.insert(0, "Hello, Loro!")
sub = doc.subscribe_root(lambda e: print(e))
doc.commit()
Verify before relying
- Exact license terms and compliance obligations—metadata shows no SPDX or raw license declaration.
- Performance characteristics and scalability limits for large documents or high-frequency updates.
- Stability guarantees and API compatibility policy across minor/patch versions.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 24 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,526,285 / month, #3,020 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Rust |
Evidence: loro-1.13.2-cp310-cp310-macosx_10_12_x86_64.whl; loro-1.13.2-cp310-cp310-macosx_11_0_arm64.whl; loro-1.13.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; loro-1.13.2-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; loro-1.13.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; loro-1.13.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl; loro-1.13.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; loro-1.13.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl; loro-1.13.2-cp310-cp310-musllinux_1_2_aarch64.whl; loro-1.13.2-cp310-cp310-musllinux_1_2_armv7l.whl; loro-1.13.2-cp310-cp310-musllinux_1_2_i686.whl; loro-1.13.2-cp310-cp310-musllinux_1_2_x86_64.whl; loro-1.13.2-cp310-cp310-win32.whl; loro-1.13.2-cp310-cp310-win_amd64.whl; loro-1.13.2-cp311-cp311-macosx_10_12_x86_64.whl; loro-1.13.2-cp311-cp311-macosx_11_0_arm64.whl; loro-1.13.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; loro-1.13.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; loro-1.13.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; loro-1.13.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.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 › “local-first sync”
- loroLoro provides Python bindings for a CRDT (Conflict-free Replicated…
- spec-kitty-trackerProvides a unified abstraction layer for connecting to multiple issue…
- reme-aiReMe is a local-first knowledge base that converts conversations and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also pycrdt · y-py · eclipse-zenoh · pycrdt-websocket · pycrdt-store · delta-kernel-rust-sharing-wrapper · zuban · rustworkx · spdlog · ignore-python