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

Uploaded CPython 3.10+Windows x86-64

quillmark-0.64.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.6 MB view details)

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

quillmark-0.64.0-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.64.0-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.64.0.tar.gz.

File metadata

  • Download URL: quillmark-0.64.0.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.64.0.tar.gz
Algorithm Hash digest
SHA256 126ff4d3198e4bab25005bdda4c44e4c26c9733d0e7a3ea625e97d2c89287af1
MD5 234c0dde0d4ff78390b3f99acd0e8d0f
BLAKE2b-256 24b51e6555ca423529436ca258b29f0321f26c974be33b2cda80401a0d1ea692

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: quillmark-0.64.0-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.64.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7bc69ab2cde9274429776fcc15b97cd1516cc19991a7e769b99a120184fa565d
MD5 db975efb00f6a6e5a93a7aac21ebbaf2
BLAKE2b-256 774ebdfe7523be7e891e21588e150ff1765f50eb1fd2de63f180f8f6b7a1d0c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.64.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7f5a1b7c3af7bee9637c96faff1ca4274d9af84c10caa7c50439951a6efd6dd2
MD5 1df9cce88fba815390e828858a2ecced
BLAKE2b-256 39028df734771dd0cbb5944a529c8785b79ca1a4ad6b061b1c83b29349c3ef1a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.64.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2cc75fa73b0049ecd93d75a99b0d6fab9a381f1910051e02bcb864b8d82afc51
MD5 ca6f4eacaa28456319173d0325f3b80f
BLAKE2b-256 a39bf26e20dc3114eb98e1eaabcbdf95f91c3bc2d5dc1d2ebb70a9e616393e3f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.64.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b70987e1e2980a61d7d958243d81610c0614150897baf0c0e92c580e0727e9a6
MD5 2ceb709f6fe35c6cd0d6c2809e39a5c7
BLAKE2b-256 f864459543c09f23c757f3e286fe427155f33dae106ffc15a358e7b41f620eb7

See more details on using hashes here.

Provenance

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