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

Uploaded CPython 3.10+Windows x86-64

quillmark-0.66.2-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.2-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.2-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.2.tar.gz.

File metadata

  • Download URL: quillmark-0.66.2.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.2.tar.gz
Algorithm Hash digest
SHA256 bcc403f00f29565f7cb4b484c7b18b800d7e0eb02bec837ca4a578935bb006c5
MD5 6fd0cbf8483dc34a423edf59ad65157f
BLAKE2b-256 dc07eb822444479da7ee06a3cbbab7e027196a5dac9069dc0ae6e2fc8270ebfe

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: quillmark-0.66.2-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.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 da9423c0a992bde4bf26a314a049e5b8f7d378cc1dc506e41f59ce5b910f3109
MD5 9ca52382fb907f1b1645c56677ea9f69
BLAKE2b-256 a0ea55b405188dbe4283a051724ea111bf01778fec84d610da84670b0bed37aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.66.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 854d7fa87a1b0896582a3a5c537f3247198c8a73f6dc2610df0f3489887e4fbf
MD5 2f3a59d7253c828e39ff7ff2ac77bdb4
BLAKE2b-256 e2ec8da27527aed5390ecf15862bd355b313ccdc2f4787eaa5c9bb20915a98e4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.66.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 20ec377075f09a2e306e822746027a92044620f2c8d20510d762a30d38c669f6
MD5 92f89c545c37365679827bf8736f1cfe
BLAKE2b-256 87b6628f81f6aaa28d71978174e5a07f875ec17fc02ef92afbb73bc051397b51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.66.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1b19fbb9050e372f9f8f25f75f587447e5adf7fb31678897479bf4dded99ff6c
MD5 1564a95d52200510a30c6d426d5bd56d
BLAKE2b-256 f6805c72dce4a20687b2055754cc8ed5b119bfe4559accc87fa42e35ac2ec01c

See more details on using hashes here.

Provenance

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