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.11 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.4.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.4.0
File Size Uploaded Provenance Actions
platen-0.4.0.tar.gz 78.9 kB With provenance Details for platen-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 97.5 kB

Release files / platen-0.4.0.tar.gz

Download URL platen-0.4.0.tar.gz
Size 78.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c9d44cb9cdf54a34db6d347d030a72b75a20a6f0cfb385dd1aab8ae6c2ba5de3
BLAKE2b-256 checksum
How to use checksums
0ecd55b0832fbe7e849c6130546976bd3b517da76d2c5aa1dc120cf57ef52e85
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 Oct 13, 2026.

Transparency log

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

Download URL platen-0.4.0-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e664d2d7663ab5d02143dc6529c1f34977714bc9d9f2e51a8fe304d8a3b7bcb5
BLAKE2b-256 checksum
How to use checksums
9f9828311b5973b999992752c1efce3f085bda05187ab64b614bbc8ade337bb0
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 Oct 13, 2026.

Transparency log

Security for platen 0.4.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.4.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 Oct 13, 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