Skip to main content

TAL template renderer for aiohttp.web (http server for asyncio)

Project description

aiohttp_tal Documentation Status

TAL Chameleon template engine renderer for aiohttp.web. Based on aiohttp_jinja2.


Install from PyPI:

pip install aiohttp-tal


Install requirement and launch tests:

pip install -r requirements-dev.txt
pytest tests


For more details on usage, see

Before template rendering you have to setup TAL environment first:

app = web.Application()


import aiohttp_tal
import chameleon

After that you may to use template engine in your web-handlers. The most convenient way is to decorate a web-handler.

Using the function based web handlers:

def handler(request):
    return {'name': 'Andrew', 'surname': 'Svetlov'}


aiohttp_tal is offered under the GPLv3 license.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <>.


0.1.0 (2019-03-28)

  • Initial release. Based on aiohttp-jinja2 copyright by Andrew Svetlo and aio-libs team.

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

aiohttp-tal-0.1.0.tar.gz (16.7 kB view hashes)

Uploaded source

Supported by

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