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

Uploaded CPython 3.10+Windows x86-64

quillmark-0.68.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.68.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.68.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.68.0.tar.gz.

File metadata

  • Download URL: quillmark-0.68.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.68.0.tar.gz
Algorithm Hash digest
SHA256 b27fe8b09ea6c0c583ca101ff8498beefc3ee5dae354c0ada1c44b5568c416c0
MD5 94b154cbbff29cc3ccf4af5c1a27f6bf
BLAKE2b-256 31620d6191a09125eb92d60859a7d2b5aa4777d69f852ec3bb10ffffa5e6d804

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: quillmark-0.68.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.68.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9e84861592ee76f554c53bab237439d9d0054fea66e54b1ac0c8d3bc6b36bb3a
MD5 497d22e2532c9b9f39b4f4afa6ee4a0d
BLAKE2b-256 6c156e98c83e53437061c25f0b72fbbd73fa142256d639fdb1d62804705ae64a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.68.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e8aaa906363845c21fc1d703bf8ede5a6f07213135f8a4155604c4540862e47
MD5 9ea5f61005b51c405ed61f58b161bba8
BLAKE2b-256 5d8c03fbb2e80e6b89b20e57d854a07e9e3002e9fd0efff9adb9c8e0c84c1b7f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.68.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e01962a4a608b90aeaf9f9bc99ea83707459586db6b480852c71aa1cf0331174
MD5 f0394b146f9cf427a746dcf71a0f521a
BLAKE2b-256 1b419adf4a096f70f96bbe4a7d94ae070cc3d202008528352e2c842c158d90f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.68.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7c6fd5ea7d97b47c3d83cc3b8e1ce56ee172d5dadcf2188e387763419a7a4f07
MD5 104a2447ba7109fc0efb4ec4415c51b1
BLAKE2b-256 3e01f1e1b70def2ff2df5d9a79cdd0e9967db2e54324e7d8bd412d215fb27aee

See more details on using hashes here.

Provenance

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