{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"}],"enrichment":{"capability":"Provides Python implementations of core ProseMirror modules (model, transform, schema, test builder) for building and manipulating rich-text documents programmatically without requiring a JavaScript runtime.","skillfed_tags":["collaborative-editing","document-model","schema-validation"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"prosemirror","links":{"html":"https://skillfed.io/packages/prosemirror","md":"https://skillfed.io/packages/prosemirror.md","pypi":"https://pypi.org/project/prosemirror/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-21","license_spdx":null,"license_treatment":"permissive","name":"prosemirror","python_support":"supports_current","summary":"Python implementation of core ProseMirror modules for collaborative editing"},"popularity":{"monthly_downloads":158604,"position":10717,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.1"}
