Skip to main content

Python bindings for Quillmark - format-first Markdown rendering

Project description

Quillmark — Python bindings

Python bindings for Quillmark's format-first Markdown rendering engine.

Maintained by TTQ.

Installation

pip install quillmark

Quick Start

from quillmark import Quillmark, Document, OutputFormat

engine = Quillmark()
quill = engine.quill_from_path("path/to/quill")

markdown = """---
QUILL: my_quill
title: Hello World
---

# Hello
"""

parsed = Document.from_markdown(markdown)
result = quill.render(parsed, OutputFormat.PDF)
result.artifacts[0].save("output.pdf")

# Round-trip: mutate, emit, re-parse
parsed.set_field("title", "Updated")
emitted = parsed.to_markdown()
reparsed = Document.from_markdown(emitted)
assert reparsed.frontmatter["title"] == "Updated"

API Overview

Quillmark

engine = Quillmark()
engine.registered_backends()      # ['typst']
quill = engine.quill_from_path("path/to/quill")

Quill

quill = engine.quill_from_path("path")
result = quill.render(parsed, OutputFormat.PDF)
session = quill.open(parsed)
quill.dry_run(parsed)

Development

uv venv
uv pip install -e ".[dev]"
uv run pytest

License

Apache-2.0

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quillmark-0.78.0.tar.gz (3.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

quillmark-0.78.0-cp310-abi3-win_amd64.whl (13.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

quillmark-0.78.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.0 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

quillmark-0.78.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (14.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

quillmark-0.78.0-cp310-abi3-macosx_11_0_arm64.whl (13.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file quillmark-0.78.0.tar.gz.

File metadata

  • Download URL: quillmark-0.78.0.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for quillmark-0.78.0.tar.gz
Algorithm Hash digest
SHA256 40e240b526306bf336e62c38ea3c52ea633bf666d36bfc02e72bea1e8ea28422
MD5 ce9df0fc73c4202ed05f29a1e5bb801f
BLAKE2b-256 51fc9f2ed88a43bfc3791e4c55be04cedcc9debe7cc32545179e13530a9fe9e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for quillmark-0.78.0.tar.gz:

Publisher: release.yml on quillmark-org/quillmark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quillmark-0.78.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: quillmark-0.78.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 13.9 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for quillmark-0.78.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dbba527b0fa0f0ec9dd5c0d6ec78041e45f0dd94899c0af12c66aceb13afa3e2
MD5 1ffaa0f4443a669ea8ac604c588b59a8
BLAKE2b-256 34f990a3f0882378dcdccd8b3e8268f0e19e668ae9d19245301605d58723711d

See more details on using hashes here.

Provenance

The following attestation bundles were made for quillmark-0.78.0-cp310-abi3-win_amd64.whl:

Publisher: release.yml on quillmark-org/quillmark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quillmark-0.78.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for quillmark-0.78.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6c30ba75c6282b4ab507c98a0edfe5d54faf4173f75c74cf800e07c78ebd5d51
MD5 08149d2fae41b45b9dfe84fa996c0280
BLAKE2b-256 b569d16fc07a2b3c2a13ee0d41d4676fba3594a42726c67573002c814d0a573b

See more details on using hashes here.

Provenance

The following attestation bundles were made for quillmark-0.78.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on quillmark-org/quillmark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quillmark-0.78.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for quillmark-0.78.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 57fdd23d86fe1b6b56e6eeea3f6f8b7cf14242252fa896f0dabc8a81bc373db5
MD5 8055530b0037d1b39b85f7722cdafb42
BLAKE2b-256 24772d91cc92166dea51964fc0cb8cc664e3f365fc67808f63071da5b65bad50

See more details on using hashes here.

Provenance

The following attestation bundles were made for quillmark-0.78.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on quillmark-org/quillmark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quillmark-0.78.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for quillmark-0.78.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aa31dbf4957ba50d6c96c2a06a801d1364cd1e88b53a15153f4497ed7c3ba8d3
MD5 d201c0654772bf9d5bde5af35d821a10
BLAKE2b-256 851f22daa7e329624b29e9b3a1028bf50a1cb47b21e3961a0f5ad44a4f726f33

See more details on using hashes here.

Provenance

The following attestation bundles were made for quillmark-0.78.0-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on quillmark-org/quillmark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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