Skip to main content

diecutter is a web application around file generation:

  • templates are the resources ;

  • the most common operation is to POST data to templates in order to retrieve generated files.

diecutter can render single files and directories. Directories are rendered as archives.

Example

GET raw content of a template:

$ curl -X GET http://diecutter.io/api/greetings.txt
{{ greetings|default('Hello') }} {{ name }}!

POST data to the template and retrieve generated content:

$ curl -X POST -d name=world http://diecutter.io/api/greetings.txt
Hello world!

Project status

Although under active development, diecutter already works, so give it a try!.

Check milestones and vision for details about the future.

Also notice that diecutter is part of an ecosystem:

  • piecutter is the core Python API. It provides stuff like template engines or template loaders.

  • diecutter implements a WSGI application and REST interface on top of piecutter.

  • diecutter-index is a proof-of-concept project for an online template registry.

  • http://diecutter.io is the SAAS platform running diecutter ecosystem.

See also alternatives and related projects section in documentation.

Resources

Metadata

Release files for diecutter 0.7.1

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

Source distribution (sdist)

Source distribution for diecutter 0.7.1
File Size Uploaded Provenance
diecutter-0.7.1.zip 23.2 kB Without provenance Details

Release files / diecutter-0.7.1.zip

Download URL diecutter-0.7.1.zip
Size 23.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0d96a00980fb1a52d335615184ff5beda676a379f37a62a7c6a85d88f21aaae5
BLAKE2b-256 checksum
How to use checksums
bb3b77858d6d9bf3c9ff955a815427c562e00c49edcc1724fd90832973536aae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for diecutter 0.7.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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