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 details)

Uploaded Source

Pylatte-1.0.tar.gz (12.0 kB view details)

Uploaded Source

File details

Details for the file pylatte_example-1.0.tar.gz.

File metadata

  • Download URL: pylatte_example-1.0.tar.gz
  • Upload date:
  • Size: 101.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pylatte_example-1.0.tar.gz
Algorithm Hash digest
SHA256 627eb89faa6f0ae4e07fe25fae5f3d94f14e8440c82ff2bd625b53b931f81d2f
MD5 8dbf7a4c02443625f82594241b01705c
BLAKE2b-256 b5861d8f2f274e9a55edc80571d0bb059d81c4747fb322c86980617fe5e6094f

See more details on using hashes here.

File details

Details for the file Pylatte-1.0.tar.gz.

File metadata

  • Download URL: Pylatte-1.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Pylatte-1.0.tar.gz
Algorithm Hash digest
SHA256 75de499c2f18eb0a61db8df8ad170859f0a4cf4d82823ed49e23f506cf8a17f9
MD5 89fd098e6a401871de5de31cff56f195
BLAKE2b-256 70e34526d1d35cad9e13f80bfc7320174a67a5f190a7652d8e626656d8477035

See more details on using hashes here.

Supported by

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