prompting-press
A typed, variant-aware prompt-template library. It turns typed inputs and a template into rendered text plus content-addressed provenance — nothing else (no I/O, no LLM calls, no request assembly). Rust, Python, and TypeScript all bind one compiled Rust engine, so rendered output is byte-identical across every language.
This is the Python distribution: a Pydantic-friendly
PyO3 binding to that engine. Import name prompting_press; distribution name
prompting-press.
Install
pip install prompting-press
uv add prompting-press # in a uv project
uv pip install prompting-press # uv's pip interface
Quick start
from prompting_press import Prompt
from pydantic import BaseModel
class Vars(BaseModel):
company: str
max_words: int
assistant = Prompt.from_yaml("""
name: assistant
role: system
body: "You are a support assistant for {{ company }}. Keep your replies under {{ max_words }} words."
variables:
company: { type: string, trusted: true }
max_words: { type: integer, trusted: true }
""")
result = assistant.render(Vars, data={"company": "Acme Robotics", "max_words": 50})
result.text # "You are a support assistant for Acme Robotics. Keep your replies under 50 words."
result.template_hash # 64-char SHA-256 of the template source
result.render_hash # 64-char SHA-256 of the rendered output
Documentation
Full docs — getting started, API reference, template features, guides, and the CI agreement lint — are at https://prompting-press.github.io/.
Changelog
Per-version release notes — aggregated across every package — are in CHANGELOG.md.
License
Metadata
Release files for prompting-press 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prompting_press-0.5.0.tar.gz | 208.6 kB | With provenance | Details for prompting_press-0.5.0.tar.gz |
Built distributions (wheels)
Total release size: 8.8 MB
Release files / prompting_press-0.5.0.tar.gz
| Download URL | prompting_press-0.5.0.tar.gz |
|---|---|
| Size | 208.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
019b9161a533b81d32b683d2f0bf1a8c40c8e0bbb9292430ece27c58f88fc8a0
|
|
BLAKE2b-256 checksum How to use checksums |
a005ff166c1528c811d8dbb15e609c377f4d90f83f82b2db4b87809a315f97c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 20, 2026.
Transparency logRelease files / prompting_press-0.5.0-cp312-abi3-win_amd64.whl
| Download URL | prompting_press-0.5.0-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
96683d34dc4b3ee70a3498901a2e0b9371686864d518eaada28cd99b7024a4e1
|
|
BLAKE2b-256 checksum How to use checksums |
2a09c0dac4044daa34ec36afcd3682e40cc15f5b8dd18b79afd25c3032f05532
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 20, 2026.
Transparency logRelease files / prompting_press-0.5.0-cp312-abi3-musllinux_1_2_x86_64.whl
| Download URL | prompting_press-0.5.0-cp312-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
04c5f6f285cca03b7d8be73fc894fdf6c5c82691c2cdebc05850956142af17a3
|
|
BLAKE2b-256 checksum How to use checksums |
ed4a7f1235f0b68a1c3b2bf4fae12d28175cffdbee10b0f5044416f2e0b32769
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 20, 2026.
Transparency logRelease files / prompting_press-0.5.0-cp312-abi3-musllinux_1_2_aarch64.whl
| Download URL | prompting_press-0.5.0-cp312-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.12 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
819f5d8100da58d7527edb62e7c94766e7d174d5c93f776c0be5ecdc260ae284
|
|
BLAKE2b-256 checksum How to use checksums |
48b8615650c2df79b0d2485021b9b0771a29b5ee1f7c89206b7b762763729b6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 20, 2026.
Transparency logRelease files / prompting_press-0.5.0-cp312-abi3-manylinux_2_28_x86_64.whl
| Download URL | prompting_press-0.5.0-cp312-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
b22b31f78d1b3c70062cae622496d6cb68930c743eb77cd256d909f9ec6df23c
|
|
BLAKE2b-256 checksum How to use checksums |
8c81fdea56c5a665e892a36160cade71d0d39d3150cbb7be28f92779a59e3042
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 20, 2026.
Transparency logRelease files / prompting_press-0.5.0-cp312-abi3-manylinux_2_28_aarch64.whl
| Download URL | prompting_press-0.5.0-cp312-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
8bf05b8af9991db02d7ff16872f3986641e474394a1973a39747746414b3c775
|
|
BLAKE2b-256 checksum How to use checksums |
bf397e6d7dd8d248ec626f3cd387313e6fe15abcebbeec38fe36e5d9bd84fdd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 20, 2026.
Transparency logRelease files / prompting_press-0.5.0-cp312-abi3-macosx_11_0_arm64.whl
| Download URL | prompting_press-0.5.0-cp312-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.12 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ba12520f9aaea0bafd7e5c9bb31d0fff9d1f6b484876f817118f648071609ae0
|
|
BLAKE2b-256 checksum How to use checksums |
006e152dcf5657c919bee27d106117b8c827a566687e90a78b9428de89596e3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 20, 2026.
Transparency logSecurity for prompting-press 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 7 files in this release have been uploaded with provenance metadata.
Attestation for prompting_press-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 Jul 20, 2026.
Transparency logA 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.