Skip to main content

Templates as a service

Project description


Templates as a service.

``diecutter`` exposes an API where you manage templates as resources.
The most common operation is to **POST data to templates in order to retrieve
generated files**.

Files and directories are supported. Directories are rendered as archives.

.. note::

Diecutter is under active development: some (killer) features have not been
implemented yet, or they are not mature.
Check `milestones <>`_
and `vision <>`_
for details.

That said, features documented below actually work, so **give it a try!**


GET raw content of a template:

.. code-block:: text

$ curl -X GET
{{ greetings|default('Hello') }} {{ name }}!

POST data to the template and retrieve generated content:

.. code-block:: text

$ curl -X POST -d name=world
Hello world!

More examples in :doc:`demo` and :doc:`client/index`!


* Documentation:
* Online demo:
* PyPI page:
* Code repository:
* Bugtracker:
* Continuous integration:

Project details

Release history Release notifications

History Node


History Node


History Node


History Node


This version
History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date (28.1 kB) Copy SHA256 hash SHA256 Source None Jul 17, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page