Elmer is a tool which embeds a Python module into a C, C++, or Tcl
application. The embedded Python module is used just as if it was written in
the same language as the application itself, without requiring any knowledge of
the Python/C API.
pgdiff is a utility which compares the table definitions of two databases, and returns the differences as PostgreSQL commands which will transform the structure of the first database to be identical to that of the second (c.f. diff and patch).