This is a post to document the setup that I use when I want quickly to create a great functional command-line python application with ORM database support. # Django ORM The Django ORM is an incredibly powerful database tool that lets you design models in python and then persist them to the database. Django, though, is primarily a web framework. I don't want that in a command-line app, but it is possible to use the ORM without other components.