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

Uploaded CPython 3.10+Windows x86-64

quillmark-0.73.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.73.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.73.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.73.0.tar.gz.

File metadata

  • Download URL: quillmark-0.73.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.73.0.tar.gz
Algorithm Hash digest
SHA256 b07dec5e7342c383250cfc869ebfe42e449ef86ffbed818e73ac30235e17d465
MD5 93c0053382240bf2acf79589ae7b95c9
BLAKE2b-256 9e0aee32ebebee1714412e295b28a358033c8f8b28d9cc15accf1844e7a99543

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: quillmark-0.73.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.73.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4ad7ae37474f21368e22e896cb66c2e01efba201f4c9f3760a44d71c86cb3e19
MD5 e31ccdc075d6359788e82de38d762161
BLAKE2b-256 c44f49169d6fb992c7a11ca9e128a3e8034cd1268737e35d589c78d8085cbc4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.73.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9096ce4f0ba2e3f8e1817329b93ce870e40adb65d3d137151e8d48c79c951a7d
MD5 0b28504be0d15100abf64d3c8607b99a
BLAKE2b-256 5eafe855f089523c24227456338c6a2f64529b0e1a261db85971aa5264b21ca3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.73.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b1b3441aca88bc021db504059afd3905f5e4156a9fdb7b886b5d147463bdfb2e
MD5 b8155f08e256e0956bb781f08f7a1763
BLAKE2b-256 7acfc942da3115ca04263639839f1493e07df77bf4491b55765834f2d7013dc1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.73.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 adb83a13c72be0c73aba568f4030ee051a14d3cacf53340bc42f67851461584e
MD5 7a2dc29b0eac40dfbe465bd43a70d369
BLAKE2b-256 0a6c35d3835bcc104b548dd1f249e70f23545a690ea6e33e2a96ca6f883827bd

See more details on using hashes here.

Provenance

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