Skip to main content

[![Build Status](https://travis-ci.org/translationexchange/tml-jinja2.png?branch=master)](https://travis-ci.org/translationexchange/tml-jinja2) [![Coverage Status](https://coveralls.io/repos/translationexchange/tml-jinja2/badge.png?branch=master)](https://coveralls.io/r/translationexchange/tml-jinja2?branch=master)

The idea of this extension is to integrate web frameworks, that uses Jinja2 as template engine, with TML in easy and extendable fashion.

The best way to start using this extension is to run a “toy” demo on Bottle that comes bundled with this extension.

### Before Running the Sample Application Make sure you have a Translation Exchange account, and have created a project in your dashboard.

https://github.com/translationexchange/tml-jinja2

`bash $ git clone https://github.com/translationexchange/tml-jinja2.git $ cd tml-jinja2/demo $ virtualenv --no-site-packages tml_env $ . ./tml_env/bin/activate $ pip install -r requires.txt `

Now you can start the application by running:

`bash $ python app.py `

This will start the Toy demo port 8000. Open your browser and point to: [http://localhost:8000](http://localhost:8000)

Metadata

Release files for tml-jinja2 0.3.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 tml-jinja2 0.3.1
File Size Uploaded
tml-jinja2-0.3.1.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tml-jinja2 0.3.1
File Interpreter ABI Platform
tml_jinja2-0.3.1-py2-none-any.whl Python 2 none any Details

Total release size: 12.8 kB

Release files / tml-jinja2-0.3.1.tar.gz

Download URL tml-jinja2-0.3.1.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bbcca11c460ea03275544f7a779124d4c96d893a61078154b923a869b31b0ed9
BLAKE2b-256 checksum
How to use checksums
8f811ca53aad7889fb749754e06f8f1eaac2344c94e393742c12c1b95ae29135
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / tml_jinja2-0.3.1-py2-none-any.whl

Download URL tml_jinja2-0.3.1-py2-none-any.whl
Size 6.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
b61b04c4bcaa799ae68c171ac05a9995a9c76e79ab380676bc9c4937e1094dce
BLAKE2b-256 checksum
How to use checksums
0074959a616c80240c9b7b957f031dc96107f1bec700b732b34de8d87e456dd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.1.0

2 release files

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