Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 816 Bytes

index.rst

File metadata and controls

45 lines (28 loc) · 816 Bytes

Welcome to Muffin

Muffin: A web-framework based on Asyncio stack

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()

Table of Contents

.. toctree::

   installation
   quickstart
   configuration
   cli
   testing
   plugins