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.66.1.tar.gz (3.7 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.66.1-cp310-abi3-win_amd64.whl (14.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

quillmark-0.66.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.5 MB view details)

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

quillmark-0.66.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (15.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

quillmark-0.66.1-cp310-abi3-macosx_11_0_arm64.whl (14.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for quillmark-0.66.1.tar.gz
Algorithm Hash digest
SHA256 b4da44492ff16fef95075c6ab8573898a875a61a3aee671f95d1ab0799d8f5d4
MD5 e675db7ebc603b3e40af9ea735d6146a
BLAKE2b-256 27a54674d2b9624574a0c10e7d5a9048329d7c7671719b22f21a4a1b931a479a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: quillmark-0.66.1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 14.8 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.66.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c7cdabd5dcee203c36d9c8c8b7820403a988c62b98bfe93b426f1ac7dc11e615
MD5 50a04b4853d9335a3d8e15cff4892917
BLAKE2b-256 f0be3beb12a14eec4ca63ea693f784f8da45373a062208d26f945658a57467fd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.66.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6067a7ef7cc02e07ca8094c7718477bfd053aa4ea3453357cdaa7902095af89a
MD5 eed270b7bfd254f4c673e533244314d9
BLAKE2b-256 61e91a5c1c1a923d0f3108fc8c2aa7cd0c780c593248fefa2d26a61eaf0b51df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.66.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 addcce64091bc85b11ec4222bb7225d5f07043b4c91c75a59e0f1c2b8f686e40
MD5 33914c5d82a4ab92946d718b92513ea5
BLAKE2b-256 243864217b388a035c603be807d3728a92e88a8f01f9d680cea9b2120087db7a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.66.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5e38098591c69bb5d522358ff21d5990e90559ba8c82c4e53a614f5dddc966d0
MD5 230cac6650da6728b2714ba223b6e616
BLAKE2b-256 e7b88e9bcf4acaf475ada2ecce9e8a5bd1ee8adf867d48d0ec179afb27ede240

See more details on using hashes here.

Provenance

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