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

Uploaded CPython 3.10+Windows x86-64

quillmark-0.74.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.0 MB view details)

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

quillmark-0.74.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (14.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

quillmark-0.74.1-cp310-abi3-macosx_11_0_arm64.whl (13.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file quillmark-0.74.1.tar.gz.

File metadata

  • Download URL: quillmark-0.74.1.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.74.1.tar.gz
Algorithm Hash digest
SHA256 583a6bb773c05f9e095beb2ca292eeb4a8e1d36dd16c0661ccb26672ff96b29a
MD5 5b9426ef6aab66beee7ea4fabc7e7f65
BLAKE2b-256 c1c35628d1753ed829f9bbf14ec0a85fcd28db4336705efb506efb397292d9d2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: quillmark-0.74.1-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.74.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1ba6d7820fd9f94da46286c2118bf104d9b2343b6108ad18522e15c7f9b086fc
MD5 5280249a9d82176275cc157aa61a274f
BLAKE2b-256 cd76ca8cc39d59f7c28d7af881110d7238120603a9b53c8a1cc7574f537f5458

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.74.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 00fe561b55940496563dec54974c56095c258684080f840453ca1280d3b7b482
MD5 000ffc9c3d17ba400fb2337dac29b237
BLAKE2b-256 73bea5e470299b2d5aa899fbb25c264b39a6222ab9c3e806583a863e4a2302ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.74.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6c45a89609667963733b4084af1751aadd3519b6de2e7613a620d8b9e1f1c30f
MD5 e34afb5975846dcd4986b2cef4afe5e2
BLAKE2b-256 25e9e139291f084f6dd157e3c3d82913827eac2365b688e103dd1c68542ceade

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quillmark-0.74.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0953d9a1b6443f3fd588b5d4c3888a84e2605fb02f9314afda14f7cdb2c542e2
MD5 13059388725711f5ee74f9ab6893eefd
BLAKE2b-256 e5d63603d69612b79f7ce671ffb1f6dc0bd725c537b4185f17284618f1e9e7b9

See more details on using hashes here.

Provenance

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