diff options
Diffstat (limited to 'ickapi/app.py')
-rw-r--r-- | ickapi/app.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ickapi/app.py b/ickapi/app.py new file mode 100644 index 0000000..25ea649 --- /dev/null +++ b/ickapi/app.py @@ -0,0 +1,17 @@ +"""Web application module. + +Provides methods for creating and configuring aiohhtp web application. +""" + +import aiohttp + +import ickapi + + +def create_app(): + """Create a web app to be passed to a server.""" + app = aiohttp.web.Application() + + ickapi.setup_routes(app) + + return app |