Python version using bobo and peewee orm