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.75.0.tar.gz (3.1 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.75.0-cp310-abi3-win_amd64.whl (13.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

quillmark-0.75.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.75.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.75.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.75.0.tar.gz.

File metadata

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

File hashes

Hashes for quillmark-0.75.0.tar.gz
Algorithm Hash digest
SHA256 4c9dc2292e4ea26a9e6822ccc03eecff939eca72070d9ae3c1868c617ce124d5
MD5 90bf2b23e617ea818afbeed1d9217903
BLAKE2b-256 051bc99c69df0d211f36d199864a8213507304be37d19c8a207e70ffe483f095

See more details on using hashes here.

Provenance

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

Publisher: release.yml on nibsbin/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.75.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: quillmark-0.75.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.75.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 64c958deda85b369fbd7553401175d5b6dcfb97dd19c358c405b58aed6a6cfac
MD5 ec04812f610fce1c2ff84c8fdb4822fa
BLAKE2b-256 98864ce3e2eeea264212923054443564568d9f2ed7b8762d804be0c2fbfe508f

See more details on using hashes here.

Provenance

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

Publisher: release.yml on nibsbin/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.75.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for quillmark-0.75.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 11cab5476e2d5607112dde67ca57e0893706ffb7f1501e2c1f2212ce1f6aa8e5
MD5 4998114cbabd48749a6d61b553c95f64
BLAKE2b-256 40439627ecf69de8b3dca0b75f71c0fbb5f241ce8aad220a7a339a219bd9dd1b

See more details on using hashes here.

Provenance

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

Publisher: release.yml on nibsbin/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.75.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for quillmark-0.75.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4644b3973c6c236ad52dd035be0e3c3b12531209c5365a39089247861facd5ed
MD5 e03860a9d2d920f4e0f8ba0251f23b90
BLAKE2b-256 d9913866f75ef7492df495fc7b997024a3cf89c23717500ede89932c0e6a0ee6

See more details on using hashes here.

Provenance

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

Publisher: release.yml on nibsbin/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.75.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for quillmark-0.75.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 caaa0bc11b62103d82940f42e355b2cee3026b9cfdd4be562e70111bf0df1b15
MD5 8eb248addfa24c564001c25819f7213c
BLAKE2b-256 7b60dedac9cfeeb86686bea86b12f11dc5e052262382a4127b681f30729b3f61

See more details on using hashes here.

Provenance

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

Publisher: release.yml on nibsbin/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