Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

A flask plugin to create a template render service

Project description

Latest PyPI version Latest Travis CI build status

This is a little Python package, that allows you to run a small templating webserver in a handfull lines of code. This webserver can handle all your default email responses, create customized letter heads or even create dynamically generated PDFs. The idea is, you set up the server with access to all your template files and send it a set of variables. In return you will get you template text with all your variables included or even directly a beautifully rendered PDF file. The webserver is based on flask and flask-restfull and uses the jinja templating language.

Features:

  • Support for multiple Template Loader and multiple endpoints
  • Integrate it seamlessly in bigger flask applications (this means you can handle your login and permission system)
  • Support for global variables, that can be accessed by all templates
  • Easy to extend by subclassing the provided models

Todo

  • pypi publishing

Notes

  • github/gitlab?

Usage

Installation

Requirements

See requirements.txt for dev requirements and setup.py for prod requirements

Compatibility

Licence

Authors

flask-template-master was written by Arne Küderle.

Project details


Release history Release notifications

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
flask_template_master-0.1.0-py3-none-any.whl (6.7 kB) Copy SHA256 hash SHA256 Wheel py3

Supported by

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