
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
quill-delta
Advanced tools
Python port of the quill.js delta library that enables operational transformation with aditional functionality for rendering html
Python port of the javascript Delta library for QuillJS: https://github.com/quilljs/delta
Some basic pythonizing has been done, but mostly it works exactly like the above library.
There is no other python specific documentation at this time, sorry. Please see the tests for reference examples.
With HTML rendering:
> poetry add -E html quill-delta
Without HTML rendering:
> poetry add quill-delta
Note: If you're using zsh, see below.
With HTML rendering:
> pip install quill-delta[html]
With HTML rendering (zsh):
> pip install quill-delta"[html]"
Without HTML rendering:
> pip install quill-delta
This library includes a module delta.html that renders html from an operation list,
allowing you to render Quill Delta operations in full from a Python server.
For example:
from delta import html
ops = [
{ "insert":"Quill\nEditor\n\n" },
{ "insert": "bold",
"attributes": {"bold": True}},
{ "insert":" and the " },
{ "insert":"italic",
"attributes": { "italic": True }},
{ "insert":"\n\nNormal\n" },
]
html.render(ops)
Result (line formatting added for readability):
<p>Quill</p>
<p>Editor</p>
<p><br></p>
<p><strong>bold</strong> and the <em>italic</em></p>
<p><br></p>
<p>Normal</p>
See test_html.py for more examples.
If you'd to contribute to quill-delta-python, get started setting your development environment by running:
Checkout the repository
> git clone https://github.com/forgeworks/quill-delta-python.git
Make sure you have python 3 installed, e.g.,
> python --version
From inside your new quill-delta-python directory:
> python3 -m venv env
> source env/bin/activate
> pip install poetry
> poetry install -E html
To run tests do:
> py.test
FAQs
Python port of the quill.js delta library that enables operational transformation with aditional functionality for rendering html
We found that quill-delta demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.