Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Inside a running python connected to thr web there are several ways to handle the url request. Web Framework exist as small packages or as large packages incl. a database.

  • Django
  • Flask
  • : very complete. Comes with database, views etc.
  • Pyramid (developed from pylons). We recommend Pyramid for generating dynamic views on data. Less complete than django, but offers some more room to tweak (such as allowing small pieces of code inside views)
  • Flask: simple
  • pyWPS: specific python implementation of the OGC WPS standard for geospatial data: interoperability with GIS software. Return object is usually an xml with mime-encoded objects types inside, or a link to source.

Usually the application manager is responsible for restarting and logging the web framework.