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 Fellow Careers

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-0.3.tar.gz (34.8 kB view details)

Uploaded Source

Built Distribution

prosemirror-0.3-py3-none-any.whl (42.9 kB view details)

Uploaded Python 3

File details

Details for the file prosemirror-0.3.tar.gz.

File metadata

  • Download URL: prosemirror-0.3.tar.gz
  • Upload date:
  • Size: 34.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.1 Darwin/21.4.0

File hashes

Hashes for prosemirror-0.3.tar.gz
Algorithm Hash digest
SHA256 5b3e84b6a69c1a41ef0914df30db69817724ac9ae7b89b655f2accbaac89d519
MD5 d35d0b6b2af86dd238bb509ccdbeef78
BLAKE2b-256 bdbae68d347c6aa8ddec5742f206b5ef058590228cfa64a29cf49a4195b038cc

See more details on using hashes here.

File details

Details for the file prosemirror-0.3-py3-none-any.whl.

File metadata

  • Download URL: prosemirror-0.3-py3-none-any.whl
  • Upload date:
  • Size: 42.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.1 Darwin/21.4.0

File hashes

Hashes for prosemirror-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9f17ed0565f3b6816367a6460471ea996cae81effd8fe21e46ae93c7ab175166
MD5 348516d7bca728e695bae3de41d88576
BLAKE2b-256 8a61d71ff8a91dd3f08f7c458d4415197308d42727ef63e673c6275758b3a4a9

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