Skip to content
This repository

web.py is a web framework for python that is as simple as it is powerful.

The where clause in db queries can be a dict now.

When the where clause is a dict, each key-value pair is make a condition
and joined with AND.

For example:

    >>> db.select("post", where={"category": "popular", "published": True},
    >>> limit=5, _test=True)
    <sql: "SELECT * FROM post WHERE category = 'popular' AND published = 't'
    LIMIT 5">
latest commit 73f1119649
Anand Chitipothu anandology authored
Octocat-spinner-32 docs Fixed error in db transactions November 13, 2013
Octocat-spinner-32 experimental fix safestr miss using encoding, and use safestr replace utf8 May 04, 2011
Octocat-spinner-32 test Fixed failing tests in test/session.py when postgres is not installed… August 02, 2012
Octocat-spinner-32 tools Allow generating of docs for a single module. January 30, 2012
Octocat-spinner-32 web The where clause in db queries can be a dict now. April 02, 2014
Octocat-spinner-32 .gitignore makedoc now documents all methods November 19, 2008
Octocat-spinner-32 .travis.yml Fixed Travis-CI failures. May 29, 2012
Octocat-spinner-32 ChangeLog.txt Added ChangeLog. June 26, 2012
Octocat-spinner-32 LICENSE.txt added LICENSE.txt and ChangeLog.txt June 04, 2009
Octocat-spinner-32 README.md Added build status. February 28, 2012
Octocat-spinner-32 setup.py Incremented the version to 0.35 May 03, 2011
README.md

web.py is a web framework for Python that is as simple as it is powerful.

Visit http://webpy.org/ for more information.

build status

Something went wrong with that request. Please try again.