pysert is script capable of generating random SQL test data from given XML templates .
The code is written in OOP style, so you can easily extended it to suit your own needs .

Project hosting: [google code link]
Download the latest version from SVN:

Articles related to pysert:
Generate random SQL inserts using pysert (v0.1)