Skip to main content

platen

In a printing press, the platen presses paper against inked type.

Platen is a Python package and command-line tool that presses structured data into documents.

Requirements

  • Python 3.14 or later.

Installation

To install Platen as a package to use in your own Python project, install platen from PyPI with your package manager of choice and read the user guide.

To use platen as a command-line tool, install it via pipx:

pipx install platen

Usage

platen TEMPLATE VALUES OUTPUT

For example, say you have values in values.yaml:

name: Bob

And a Jinja template, hello.md:

# Hello, {{ name }}!

Press the values into the template:

platen hello.md values.yaml build/hello.md

Platen creates build/hello.md:

# Hello, Bob!

To press every template in a directory, name that directory and the directory to press into:

platen templates values.yaml build

Contributing

See Contributing in the user guide to set up the project and run its checks.

Metadata

Release files for platen 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for platen 0.5.0
File Size Uploaded Provenance Actions
platen-0.5.0.tar.gz 62.3 kB With provenance Details for platen-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for platen 0.5.0
File Interpreter ABI Platform Actions
platen-0.5.0-py3-none-any.whl Python 3 none any Details for platen-0.5.0-py3-none-any.whl

Total release size: 79.1 kB

Release files / platen-0.5.0.tar.gz

Download URL platen-0.5.0.tar.gz
Size 62.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d054c9e77a83ed6f83c39ee0b1e3eff2adabe478ef4fef866c505f1de470a98d
BLAKE2b-256 checksum
How to use checksums
9f5e9ddfa44aa6b1774be24bf06435dd4808c83218ef2bf91e5f2ac238c11d6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / platen-0.5.0-py3-none-any.whl

Download URL platen-0.5.0-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27dffe31fd8abc34ee9ce8a9130017d0b2f3bc90c0ff493692819549d62ffa97
BLAKE2b-256 checksum
How to use checksums
b3932e52b52ed37b9cf4cfd4a7c6d80ee593e2aa0cfae1db4a9c06967fbbafc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Security for platen 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for platen-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page