Promplate
</Promplate/> = <template> // prompt
Promplate is a prompting framework focusing on developing experience. However, it can also be a super-convenient SDK for simple LLM calls. Promplate progressively enhance your prompting workflow. And it values flexibility as well as perfect conventions. Try online
Installation
pip install promplate
Promplate supports both CPython and PyPy, from 3.8 to 3.13. It even supports running in browsers through wasm implementations of python.
Documentation
You can visit our official docs site at docs.py.promplate.dev.
IDE Support 🌹
Promplate is fully typed, which means static type checker will find bugs correctly (if you use pyright for type checking).
We recommend using VS Code as your IDE when coding with promplate, because it natively uses pyright.
The language design of promplate is similar to Jinja2. So you can use the .j2 file extension for template files for syntax highlight.
Development
- use
poetryto manage dependencies. - use
isortto sort import statements. - use
blackto format code. - use
pyrightto check type annotations.
Development should be done on dev branch, using >=3.10 language features. The master branch is used for py3.8 compatible releases.
Promplate is well tested with pytest. GitHub Actions are used to run tests and linting. And there are test results continually generated on Vercel and Netlify. There is a coverage report too.
Future Features (or TODOs?)
- more documentation
- javascript implementation
- improved error handling
- display compiled code when error occurs through
linecacheortempfile
- display compiled code when error occurs through
Metadata
Release files for promplate 0.3.5.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| promplate-0.3.5.6.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| promplate-0.3.5.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.4 kB
Release files / promplate-0.3.5.6.tar.gz
| Download URL | promplate-0.3.5.6.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abdc574d32240fcb343d52322a053a3eafd6c912654e7bbf186441b591bf9a00
|
|
BLAKE2b-256 checksum How to use checksums |
85651cb1ced2f2521588a6022bcc6b81c09cd19a45d964c5ea5017bd57e9b4a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Dec 4, 2025.
Transparency logRelease files / promplate-0.3.5.6-py3-none-any.whl
| Download URL | promplate-0.3.5.6-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5d6562afcf3e02b22101f68684798c232741bc17241b517cefe60ee8a1a7450
|
|
BLAKE2b-256 checksum How to use checksums |
cf7207fa4351d359fb44e96d4f21d1f90a923ea606033d5f9862da0a2f3718c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Dec 4, 2025.
Transparency log