Skip to main content

pylatte is Python embedded in HTML. so pylatte seem like php or jsp.

Project description

Welcome to Pylatte Pylatte : A Web Framework Based on Python 3 Pylatte is a web framework created specifically for Python 3. Developers can now generate websites with Pylatte in Python 3

Visit to http://hwanseung.github.io/pylatte/

pypi : http://pypi.python.org/pypi/Pylatte

Sample code

The following code is a example pyl file.

` <p>Pylatte</p> {$ pyl = "HTML" + " + " + "python" $} <p> {$=pyl$} </p> `

The pyl code is translated by Pylatte to HTML in the browser.

` <p>Pylatte</p> <p> HTML + python </p> `

Functions

Translation Engine Pylatte uses pyl file format. pyl consists of HTML and Python. pyl is fully translated by the Pylatte engine into HTML. It is unique feature of Pylatte.

Database

To use the database, external library must be installed: the MySQLdb(for mysql) module or pymongo3(for MonogoDB) module for Python 3. Simple and advanced SQL via specific functions that are similar to iBATIS are provided.

Session

A session is needed to distinguish each client.

Filter

If a filter is set, select pages pass through the filter.

Form File

It is possible to upload a file to server via POST.

URL Mapping

For security purposes, URL mapping transfers virtual URLs accessed by clients to web pages.

Project details


Download files

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

Source Distributions

pylatte_example-1.0.tar.gz (101.4 kB view hashes)

Uploaded Source

Pylatte-1.0.tar.gz (12.0 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