Fork me on GitHub

Morepath

Morepath is a micro web framework with a model-driven approach to creating web applications and web APIs.

Morepath's framework philosophy is that the data models should drive the creation via the web framework. By default the framework routes URLs directly to model code, unlike for example Django which requires explicit URL routing by the developer.

Why is Morepath an interesting web framework?

Simple CRUD web applications and APIs can be tedious to build when they are driven straight from data models without much logic between the model and the view. Learn more about how Morepath compares with other web frameworks from the creator.

With the rise of front end JavaScript frameworks, many Python web frameworks are first being used to build RESTful APIs that return JSON instead rendering HTML via a templating system. Morepath appears to have been created with the RESTful API model approach in mind and cuts out the assumption that templates will drive the user interface.

Morepath resources

Do you want to learn more about frameworks or move on to deployment?

I want to learn how to code a Python web application using a framework.

I've built a Python web app, now how do I deploy it?

What are web application programming interfaces (APIs)?

Sign up here to receive a monthly email with major updates to this site, tutorials and discount codes for Python books.