WSGIWAPI makes it easy to build web APIs in Python. You simply define a hierarchical tree of URI components, with callables as the leaves of the tree, and WSGIWAPI does the work of making this into a WSGI application.

The clever bit is that you don't need to know anything about WSGI, or the details of HTTP. You just define the callables and the URI components, and obtain a generic application object that lots of web servers can talk to. There's even a built-in web server so for simple setups you don't need to configure anything.

WSGIWAPI also provides some additional features, such as automatic documentation support for your API and parameter validation.



Older releases were made under the name WSGIWebAPI.


WSGIWAPI is not currently under development, but the code is available on github.


WSGIWAPI was written by Richard Boulton.