Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
To see what you can do with a WSGI application, let’s create a simple example: a message wall where the messages are stored in a sqlite3 database and the URL is used to indicate the user and tags being searched for. Note that this is a simple example, and we won’t be implementing any kind of security, session management, and so on, so don’t use this in production. This application is intended to show you the possibilities for writing web applications in Python.
As you’ve seen, we need to create an application object to pass to the server when we create it. This application needs to be able to do the following: