Skip to main content

Python implementation of core ProseMirror modules for collaborative editing

Project description

prosemirror-py

CircleCI Code Coverage Python Version PyPI Package License

This package provides Python implementations of the following ProseMirror packages:

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

prosemirror-py-0.2.tar.gz (34.2 kB view details)

Uploaded Source

Built Distribution

prosemirror_py-0.2-py3-none-any.whl (42.2 kB view details)

Uploaded Python 3

File details

Details for the file prosemirror-py-0.2.tar.gz.

File metadata

  • Download URL: prosemirror-py-0.2.tar.gz
  • Upload date:
  • Size: 34.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.2+ Darwin/20.6.0

File hashes

Hashes for prosemirror-py-0.2.tar.gz
Algorithm Hash digest
SHA256 920d27847d85036d26bb26bcd8ecd0ba9f29dd81085dcde75ccee063591c2777
MD5 12e0ad89fa5b614f3ff05e237a4ff1d6
BLAKE2b-256 4c5c9d33a39c7166518fc644ed09bc6f628cabb3a30ce36721173286ae1186a4

See more details on using hashes here.

File details

Details for the file prosemirror_py-0.2-py3-none-any.whl.

File metadata

  • Download URL: prosemirror_py-0.2-py3-none-any.whl
  • Upload date:
  • Size: 42.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.2+ Darwin/20.6.0

File hashes

Hashes for prosemirror_py-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ee7bf4350e6bd8db09939d53ee2126bf19918fd7a1d958d19266e8bb628df483
MD5 e573541658b84b5d9e40a2e481f3b799
BLAKE2b-256 f7a01ee9d65651ae84c927fc384683aad868eacac5c9430b7b57367224662974

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page