sanic/examples
2017-03-27 15:42:13 -07:00
..
aiohttp_example.py remove loop as argument and update examples 2017-01-26 17:38:46 -08:00
blueprints.py add blueprints websocket example 2017-03-09 18:33:34 +08:00
cache_example.py Use decorator 2017-02-14 00:12:39 +01:00
detailed_example.py Created detailed example of using sanic. Adds configurations based on various environment variables, handles database access (using aioredis), uses middleware to check for db object and attach it to request object, and logs events to a logfile (which is set using environment variables). 2017-03-27 15:42:13 -07:00
docker-compose.yml Added examples and form processing 2016-10-09 15:28:31 -07:00
Dockerfile Added examples and form processing 2016-10-09 15:28:31 -07:00
exception_monitoring.py Fix exception_monitoring example 2017-03-03 00:55:08 +09:00
jinja_example.py add jinja example 2016-12-12 22:25:24 -08:00
limit_concurrency.py Use app decorator instead of run arguments for before_start 2017-02-11 14:30:17 +00:00
override_logging.py update logging placement 2017-01-17 15:49:17 -08:00
request_timeout.py Add status code 2016-11-26 15:21:57 +09:00
run_async.py fix run_async demo 2017-02-04 15:27:46 +08:00
sanic_aiopg_example.py Use app decorator instead of run arguments for before_start 2017-02-11 14:30:17 +00:00
sanic_aiopg_sqlalchemy_example.py Use app decorator instead of run arguments for before_start 2017-02-11 14:30:17 +00:00
sanic_asyncpg_example.py Faster asyncpg queries via a global connection pool 2017-03-11 17:55:57 -06:00
sanic_motor.py updated examples 2017-02-15 22:11:16 -06:00
sanic_peewee.py Use app decorator instead of run arguments for before_start 2017-02-11 14:30:17 +00:00
simple_server.py Reformatted code to use spaces instead of tabs 2016-10-14 19:53:49 -07:00
try_everything.py Adds file response object example 2017-02-16 15:53:31 -06:00
vhosts.py allow using a list of hosts on a route 2017-01-18 19:41:32 -08:00
websocket.html websocket support, using websockets package 2017-02-27 22:35:28 -08:00
websocket.py addressed feedback 2017-02-27 22:35:28 -08:00