Skip to main content

Jinja2 tml extension for tranlationexchange.com API

Project description

[![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)

Project details


Download files

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

Source Distribution

tml-jinja2-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

tml_jinja2-0.1.0-py2-none-any.whl (6.3 kB view details)

Uploaded Python 2

File details

Details for the file tml-jinja2-0.1.0.tar.gz.

File metadata

  • Download URL: tml-jinja2-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tml-jinja2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 35251de26cc6ce947ca6f8f6c99e43d57c8f224056f06f40bfec30b689b222d3
MD5 0bdf20ad1288df704bf8ae4313c44e22
BLAKE2b-256 c5fe8f15b99ffe8994f6cf1bd918a79357fd1b8eef2b3b51d85cc4cb91c1a6d4

See more details on using hashes here.

File details

Details for the file tml_jinja2-0.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for tml_jinja2-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 773ed1bff954a95e2387aab6d95b2008247a1305b61d66793d37f0ef04b19854
MD5 eebf0f13c8656d7d9e6641d8d9a95374
BLAKE2b-256 b3f71f57f4a33f3b85804393d29ba3338173e0c44257155f923a56a33c9c4622

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page