Yes you can, have a look at privatesemantic/database.py