Skip to main content

Web Framework - Insert Python code in HTML(called PYL) and execute webserver

Project description

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, just as they might for Python 2x-based frameworks such as Django, Flask, or Bottle.

Visit to http://www.pylatte.org/

mail : pylatte@pylatte.org

Facebook Page : https://www.facebook.com/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 Distribution

pylatte_0.9.7.tar.gz (291.4 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