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

Uploaded CPython 3.10+Windows x86-64

quillmark-0.66.0-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.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.66.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.66.0.tar.gz.

File metadata

  • Download URL: quillmark-0.66.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.66.0.tar.gz
Algorithm Hash digest
SHA256 b2f6d828b3a37715928c458122c4f5b5fe3f2e88c7692c6942222762cb761cb0
MD5 fc0c4cb9884b0f36d3831a66776d3cb5
BLAKE2b-256 f098e6f65c79ac777c39591358ca96c7d657fa5f26b8567fff0efed89bd55017

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: quillmark-0.66.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.66.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b73765c52e374f240adf200acf7354ed7169483e11b66ff11699091099420221
MD5 e3d810fe3f854c855774aa778d819902
BLAKE2b-256 c6eded61f9c283544a5c27dceb904cd0eecbc53929e2a394cc02e0f5d49838ac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.66.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c8a32695f81ca3d6b6b77ba15cf15a6f9171a1d164d17b60dd7e3d8838d63d28
MD5 b4529de26e381f697d2810bfcf41456b
BLAKE2b-256 e44993de927d77a1d3c4af84ad611e353f9294907381c2941f3b0cfd86ea1ce3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.66.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f8bb99c190503d218c2e05a28f2637aeea571982eaafce27216843c9301f1534
MD5 2578bde99bdf3efc9151568508efce76
BLAKE2b-256 937269b9011b488178239a79d60fcf698b053aa7f9f9a23de85c12835a128e0f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.66.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b999bb0bdbbb2646c472c5636e412e24458652aa3672f86d600c7072e7c8346
MD5 55d5a3b45c1b525b696f6e091325ce40
BLAKE2b-256 80a09775463ab41d12c3ef8f8cfb16fb2a8a571a30464b4eae43017a876b8166

See more details on using hashes here.

Provenance

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