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
Metadata
Release files for flask-template-master 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_template_master-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / flask_template_master-0.1.0-py3-none-any.whl
| Download URL | flask_template_master-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2a8700c4ee8b38754070eda7c49d2a82aa0cc6aebcffe2fed97765f48483b96
|
|
BLAKE2b-256 checksum How to use checksums |
3f56d34a3e12a278756a978bf1bbfb28a1a8e77fed8fd37ec5e36e3d883e55b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |