Skip to main content

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

Project description

http://pylatte.org/image/pylatte.png

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, 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.8.1.5_include_example_SQL.tar.gz (325.1 kB view details)

Uploaded Source

File details

Details for the file pylatte_0.9.8.1.5_include_example_SQL.tar.gz.

File metadata

File hashes

Hashes for pylatte_0.9.8.1.5_include_example_SQL.tar.gz
Algorithm Hash digest
SHA256 d40b88a98dce1cadca410cb6e99ad8e3f368434b97ae184e6aed9961b77145ae
MD5 de455e2e4bf57db23e6759ef2a0ce6e6
BLAKE2b-256 5914aaf6e6317d157ba12c7eeafe2c18196ea1f5343436b6165bd779351b8628

See more details on using hashes here.

Supported by

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