Welcome to Muffin's documentation.
Muffin is a web-framework based on aiohttp, :term:`asyncio` (PEP 3156).
Example "Hello World" with the Muffin:
import muffin
app = muffin.Application('example')
@app.register('/', '/hello/{name}')
def hello(request):
name = request.match_info.get('name', 'anonymous')
return 'Hello %s!' % name
if __name__ == '__main__':
app.manage()
.. toctree:: installation quickstart configuration cli testing plugins