A framework for WebProgramming.

Masthead

URL

http://www.web2py.com/

version
1.82.1
licence
GPL
platforms
Unix, Windows, Mac
Python versions

>= 2.4 < 3.x

Deployment Platforms

mod_wsgi is preferred as it has full WSGI support, but also it can run with FCGI, etc. It also comes with a standalone Web server for development purposes.

URL dispatching

URLs are mapped directly to functions in a controller. No need to use regular expressions (although them can be used).

Environment Access

Web2py creates request, response and session objects that are globally available.

All-in-One

Web2Py comes with:

Persistence Support

Web2Py's provides a Data Abstraction Layer (similar to an object-relational mapper), currently supports PostgreSQL, MySQL, SQLite3, MSSQL, Oracle, DB2, Ingress, Informix, Firebird and GAE with some caveats. Web2py generates customizable CRUD interfaces directly from the tables. The automatic creation and migration of database tables is supported. The DAL can handle almost the 100% of the queries elegantly in a pythonic way resembling SQL (no need to know advanced POO or learn a new complex query language).

Presentation Support

Web2Py's has a python capable template language. It looks like this:

{{if condition!=something:}}
{{=title}}
{{pass}}

Documentation

A book is available both printed/pdf and freely accessible via web, written by the lead developer, who is a University Professor.

Read the web2py about

Web2Py (last edited 2011-06-12 10:32:41 by 124-168-84-105)

Unable to edit the page? See the FrontPage for instructions.