Repoze.what-sql is a project mainly written in Python, it's free.
The repoze.what 1.0 SQLAlchemy plugin
The repoze.what SQL plugin
This is an adapters plugin for repoze.what.
The SQL plugin makes repoze.what support sources defined in SQLAlchemy-managed databases by providing one group adapter, one permission adapter and one utility to configure both in one go (optionally, when the group source and the permission source have a relationship).