Skip to content

About

Simple web app to try out the Sanic web framework using Python

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

sanic-test

This is a very simple webapp that uses the Sanic web framework. It implements a number of features (see below) but only to a hello-world level. Sanic supports concurrency by using the uvloop event loop implementation of Python3's asyncio. This means you can take advantage of async/await style code from Python 3.5+ which is a coroutine approach within a single process (rather than a multi-process approach).

See the dev.sh script which can be used to build and run in debug mode. After running the script, go to http://localhost:5000 to see the app. By default it runs in debug mode and reloads whenever source files are changed. There's also a run.sh script showing how it can be run without the reloading.

Features

The following features are implemented to hello-world level, just to see them working:

About

Simple web app to try out the Sanic web framework using Python

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages