Pony is an object-relational mapper. The most interesting feature of Pony is its ability to write queries to the database using generator expressions. Pony works with entities which are mapped to a SQL database. Using generator syntax for writing queries allows the user to formulate very eloquent queries. It increases the level of abstraction and allows a programmer to concentrate on the business logic of the application.
Following is an example of a query in Pony:
select(p for p in...
Pymerase is a tool intended to generate a python object model, relational database, and an object-relational model connecting the two. However it has been extended to also output webpages and can be easily extended to output whatever else you might like.