Projects / Pybatis


Pybatis lets you use a templating engine to generate SQL in the same way we use templating engines to generate HTML. But while HTML is generated to send to a browser, Pybatis generates SQL to send to the database via Python's DB API, and then gathers the results. Pybatis consists of three things combined: Python's DB API, templates, and convenience methods. The core idea of treating dynamic SQL as a templating problem rather than a code generation problem (as in most ORM libraries) comes from iBATIS, after which Pybatis is named with great respect.

Operating Systems

Recent releases

  •  17 Sep 2009 15:26

    Release Notes: A bit of code refactoring. No new features.

    •  10 Aug 2009 00:57

      Release Notes: Now you can select a single column to be returned as a list of scalars rather than a list of dicts (with each dict only having one key/value pair). For queries that return more than one column, you can name a column to be returned as a list of scalars.


      Project Spotlight


      A Fluent OpenStack client API for Java.


      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.