ProseMirror in Python
Project description
prosemirror-py
This package provides Python implementations of the following ProseMirror packages:
prosemirror-model
prosemirror-transform
prosemirror-test-builder
prosemirror-schema-basic
prosemirror-schema-list
The original implementation has been followed as closely as possible during translation to simplify keeping this package up-to-date with any upstream changes.
Why?
ProseMirror provides a powerful toolkit for building rich-text editors, but it's JavaScript-only. Until now, the only option for manipulating and working with ProseMirror documents from Python was to embed a JS runtime. With this translation, you can now define schemas, parse documents, and apply transforms directly via a native Python API.
Status
The full ProseMirror test suite has been translated and passes. This project only supports Python 3. There are no type annotations at the moment, although the original has annotations available in doc comments.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for prosemirror_py-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e8c91473eaa274d737f8cd88fba94901372c1f8b879da76038f723a7e07f9ab |
|
MD5 | a1ec5ce6d0a7a3e91cbc145f0f12d3cf |
|
BLAKE2b-256 | 062f1bdad492f53e800eefaed4d3e3b74c5f196ee5e7efd53d57dee6324b9124 |