Simple transactional queue for PostgreSQL written in Python