An update for Python 3 (and anyone who comes across this question through Google, how I did it). If you have all the models based on the main class of the Peewee model, you can simply use:
import peewee models = peewee.Model.__subclasses__()
Confirm this question for this idea. They also discuss in detail how to make it work recursively if your model is more complex.
source share