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.65.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.65.1-cp310-abi3-win_amd64.whl (14.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

quillmark-0.65.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.65.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.65.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.65.1.tar.gz.

File metadata

  • Download URL: quillmark-0.65.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.65.1.tar.gz
Algorithm Hash digest
SHA256 189fb08143460b713dbc0fb8c12721f1af3d9e795fec9e4dccb69ddc5ff0d8fc
MD5 f63ff999eadf469ccf23b0bdc95eaf45
BLAKE2b-256 b985170aa4d260b0bbb1892ca37c6ae8a5bf2e66f658c48c8a38f0a2ab281357

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: quillmark-0.65.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.65.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b1f7ff4f0d9c155aacc2634bc39bc947ebf927cfa512a2d0034b8250459b4692
MD5 f1943e24fd1929614bd0840355de583f
BLAKE2b-256 7ae1dfce7bc7b8d20c029c6bb3f961cb5f3e969091c2728230a4bb3d50a30d34

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.65.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5e1b8fe71bbb8c791fb47aa5f66e7e01d93223bf86d30871fb8396160a6f7b35
MD5 0b49ebda9334922597211edc5626a0c6
BLAKE2b-256 e4733ec6ccd5fb700bd620b0d0b35cb4123cfad84d9205e390d561fd561929bb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.65.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fdfa86b734d98254234eaf9397a33adb20665375405e0ce16716533e111d5bbe
MD5 71a40f08e1a5c84dadfd800c2a4788f5
BLAKE2b-256 34637fee829216c72c74c0fc51bb35833a56b7d841ac4065a8079bce1811d614

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.65.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4f437258dffae0bc020e6bfdfc9db5f8d89925b87756661d5bbfb262965fa2b0
MD5 8c625746359b6b49a7ccbaaab91c2829
BLAKE2b-256 9affbf9f402740440fd256752816337319bef9e7cb6466441c8fbcbb2da89d6b

See more details on using hashes here.

Provenance

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