Pylatte

  141 downloads
0.9.8.1.5 GPL (GNU General Public License)    
  not rated
Insert Python code in HTML(called PYL) and execute webserver

description

download

specifications

Pylatte is a web framework based on Python 3, 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.

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.
READ MORE   
Last updated on August 31st, 2012

0 User reviews so far.

SUBMIT