|Other languages : français||…|
web.py recommends the following software for production servers:
Webpy has an internal web server, but it should be used for development only. For production, a more robust server should be used, such as one of these:
Webpy does not require a database to run. It does, however, support using the following databases:
- postgresql [BSD] (doc) with psycopg2 [BSD] (doc) as the python client. (
- mysql [GPL] (doc) with MySQLdb [CNRI] (doc) as the python client (
- sqlite [Public domain] (doc) with pysqlite as python client (
For high traffic sites, connection pooling allows Webpy to keep multiple database connections open, typically allowing faster access from the database. This is optional, but available as a scaling tactic.
Webpy has its own template system which allows users to let untrusted users write templates using this, and use python-like syntax within templates.
- template.py [built-in] (doc)
Jinja2 is more popolar and feature rich, we strongly recommend Jinja2.