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.71.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.71.0-cp310-abi3-win_amd64.whl (13.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

quillmark-0.71.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.71.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.71.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.71.0.tar.gz.

File metadata

  • Download URL: quillmark-0.71.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.71.0.tar.gz
Algorithm Hash digest
SHA256 8cf48a713a264126fda7aa8a727474658fada38951806803e8da14e0d67e7e80
MD5 7ca1b1598949dd904908dd538b01d0cc
BLAKE2b-256 cf4900d1e03aeb855eb71a40043ff07d62eec00a24a92f8a95416df7f7157e0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for quillmark-0.71.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.71.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: quillmark-0.71.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.71.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 32e0caa3aff4921a822998a385e01133a997b9fe6d628cd5bed3c02d83253e86
MD5 c8017207efe5e2b5a4f2b79700c21f43
BLAKE2b-256 c0704e1e11e3c1f7d3650e73db6a9da4fe7399b4358351581a129654504942f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for quillmark-0.71.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.71.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for quillmark-0.71.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6a2e8cc25021b178fd2da32f6b727b1ec17fdc83b27626f529b54fea57535831
MD5 b8e589fbb1e87c45e5b2317d68a5fe54
BLAKE2b-256 b13f2632dcc3b28084898f153c12da550633cb85b1a98feefe3fe3c8b91e203c

See more details on using hashes here.

Provenance

The following attestation bundles were made for quillmark-0.71.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.71.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for quillmark-0.71.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7b1cd2132d3039db3d5099c160a823c8ab46dbcef9c3b20450be91525a7b1221
MD5 063dbe6e1fb100cf91f308d5370c05e7
BLAKE2b-256 86322f67c59c00f047f400360c9892d1d6b354efbbc3779b643b7aeaa2893429

See more details on using hashes here.

Provenance

The following attestation bundles were made for quillmark-0.71.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.71.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for quillmark-0.71.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5570f5fee868070a8c5c52b292b0a1f77d14c8e89e30007a874db25d89ea7939
MD5 f9925cc67f7e634c6bd217316f4dbdec
BLAKE2b-256 709c6cff5ba0d7ba7ca9984c9871f172062129fab86f2d73b776dec9c3621d79

See more details on using hashes here.

Provenance

The following attestation bundles were made for quillmark-0.71.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