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.67.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.67.0-cp310-abi3-win_amd64.whl (14.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

quillmark-0.67.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.9 MB view details)

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

quillmark-0.67.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (14.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

quillmark-0.67.0-cp310-abi3-macosx_11_0_arm64.whl (13.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: quillmark-0.67.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.67.0.tar.gz
Algorithm Hash digest
SHA256 e45690366ef5c2e958345df139973c6e82be7e0c4d44fc5d30443118bd57199a
MD5 dc94bd44796feae39f9ed9aef2a562c2
BLAKE2b-256 165e2fcc2b05e712f6efdb807fa1c05a5d706bcc45955d2681abb8c41faf7251

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: quillmark-0.67.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 14.2 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.67.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0709d43dbd316a99c99bd5122700df89f4860b05aa85b8378bf79cfcecc0cd42
MD5 e35b74f56b876294df9d02caef4cf48a
BLAKE2b-256 7f0c4b86e1d15423dc3f1c284a0e76c30e51ff8121b2a3a6b25eb54e830e3278

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.67.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f41853c4329ede0e1de5aa91a4a36b897a612bd1a4beda575f84a21fa2c58e57
MD5 941e5d7da6fb857306d3e0698c46c75d
BLAKE2b-256 73eaeb8688f140d5b91bf7918491d0f306dff37e3930e419b69211e15f9c297f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.67.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 daf4eff9d467d008bfd2f4444bdcb2f3d365dde87590f2de04b95cd4e08735a7
MD5 ab227e95082f2d72bae5adf72423613c
BLAKE2b-256 788083a2d84804379a63d3e8f7cfbc45c03dc6cd9ddc0376a3dc47d0cc0a05e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.67.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 db96c35ae0843306442e2be3203a74a5a11fdaba79827d130de58b05994a7cc7
MD5 1c0e3c9adc0f3c34d391c6432acf5244
BLAKE2b-256 6e3299b031394050a6527c9c778d7e16ebf027347e0eebc51ac93c689bb37514

See more details on using hashes here.

Provenance

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