$npx skillfedfor your agent

prosemirror

Python implementation of core ProseMirror modules for collaborative editing

Worth itPyPI Python ModulesReleased Feb 2026158.6K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — prosemirror-0.6.1-py3-none-any.whl
v0.6.1 · released 2026-02-21 · Python >=3.10 · 3 runtime deps: cssselect, lxml, typing-extensions

Yes. Active maintenance, production-stable status, low install friction, no known vulnerabilities, and permissive licensing make it a solid choice for server-side ProseMirror workflows. Install if you need to manipulate ProseMirror documents in Python or build collaborative editing backends; skip if you only need client-side editing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; UTF-16 string semantics differ from Python's native encoding, affecting character position calculations.
  • Low friction install with three lightweight dependencies.
  • Active maintenance with recent commits and production-stable status across Python 3.10, 3.11, 3.12, 3.13, and 3.14.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; attribution required.

last release 2026-02-21 (174 days) · last repo commit 2026-07-20 · 62 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 158,604 downloads/mo, #10,717 on PyPI

Verify before relying

from prosemirror.transform import Transform
from prosemirror.schema.basic import schema

doc = schema.node("doc", {}, [schema.node("paragraph", {}, [schema.text("Hello, world!")])])
tr = Transform(doc)
tr.delete(3, 5)
tr.add_mark(1, 4, schema.mark("strong"))
  • Performance characteristics and scalability limits for large documents or frequent transforms.
  • Completeness of prosemirror-schema-list implementation (node specs and wrapRangeInList only; command functions excluded).
  • Real-world collaborative editing workflow support and conflict resolution capabilities.
Same gist for agents: .md · .json

What it is and what it does

Prosemirror-py is a native Python port of ProseMirror's core modules, enabling you to define document schemas, parse and serialize rich-text documents, and apply transformations directly in Python without embedding a JavaScript runtime. It translates the upstream implementation closely, adapting for Python idioms (snake_case naming, type annotations) and replacing browser DOM APIs with lxml for HTML parsing and a custom Element model for serialization.

The package includes schema definitions (basic, list), a transform engine for applying edits, a test builder for validation, and full type annotations for static checking. It preserves JavaScript's UTF-16 string semantics to maintain compatibility with ProseMirror's position calculations. The test suite has been translated and passes, and the project is actively maintained with recent commits and support for current Python versions.

Use it for

  • Build server-side rich-text editors or collaborative editing backends that accept and apply ProseMirror document transforms.
  • Parse HTML into ProseMirror documents and serialize documents back to HTML for storage or transmission.
  • Validate document structure against a schema and apply bulk transformations (delete, mark, wrap) programmatically.
  • Generate test fixtures or synthetic documents for testing editor integrations.
  • Implement document diffing or version control by converting transforms to and from JSON.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Active maintenance, production-stable status, low install friction, no known vulnerabilities, and permissive licensing make it a solid choice for server-side ProseMirror workflows. Install if you need to manipulate ProseMirror documents in Python or build collaborative editing backends; skip if you only need client-side editing.

Install

prosemirror on PyPI

Before you install

Low friction install with three lightweight dependencies. Active maintenance with recent commits and production-stable status across Python 3.10, 3.11, 3.12, 3.13, and 3.14.

Requires Python 3.10 or later; UTF-16 string semantics differ from Python's native encoding, affecting character position calculations.

License in practice

BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; attribution required.

Quickstart

from prosemirror.transform import Transform
from prosemirror.schema.basic import schema

doc = schema.node("doc", {}, [schema.node("paragraph", {}, [schema.text("Hello, world!")])])
tr = Transform(doc)
tr.delete(3, 5)
tr.add_mark(1, 4, schema.mark("strong"))

Verify before relying

  • Performance characteristics and scalability limits for large documents or frequent transforms.
  • Completeness of prosemirror-schema-list implementation (node specs and wrapRangeInList only; command functions excluded).
  • Real-world collaborative editing workflow support and conflict resolution capabilities.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
cssselectlxmltyping-extensions
MaintenanceActively maintained 174 days since the last release
Last repo commit
First released
Downloads158,604 / month, #10,717 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: prosemirror-0.6.1-py3-none-any.whl

Tags

Capabilities
prosemirror python portrich text document manipulationcollaborative editing librarydocument transform and schemaprosemirror schema basictext editor document modeljson document serialization
Topics
collaborative-editingdocument-modelschema-validation
PyPI keywords
collaborativeeditingprosemirror

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 › “prosemirror python port”

  • prosemirrorProvides Python implementations of core ProseMirror modules (model,…
  • portpickerFinds and returns an unused network port on the local host, available…
  • ephemeral-port-reserveReserves an ephemeral port reliably and race-free by binding, forcing…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pandoc · BabelDOC · draftjs_exporter · docx · spire-doc · htmltools · adf-lib · doclang · pydantic-xml · hologram