Data querying plugin for Pyramid