./www/py-sanic, Microframework based on uvloop, httptools, and learnings of flask

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.6.0, Package name: py36-sanic-0.6.0, Maintainer: pkgsrc-users

Sanic is a Flask-like Python 3.5+ web server that's written to go fast. It's
based on the work done by the amazing folks at magicstack.

On top of being Flask-like, Sanic supports async request handlers. This means
you can use the new shiny async/await syntax from Python 3.5, making your code
non-blocking and speedy.


Required to run:
[devel/py-setuptools] [lang/python36] [devel/py-uvloop] [textproc/py-ujson] [www/py-httptools] [devel/py-aiofiles]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 3414b034921ffb4438fc852a6910a4afdc1805d5
RMD160: dc2fe2653e3f8a380709e6367c23efdd39ff0fd1
Filesize: 37.173 KB

Version history: (Expand)


CVS history: (Expand)


   2017-08-03 09:48:52 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
0.6.0:
Fix error where transport.get_extra_info returned None
Remove uvloop requirement for gunicorn worker
Fix error where request.token() would fail if Authorization headers were not provided
Added an abort function to easily exit out of route handlers
Added a file_stream response handler
Add support for streaming large static files
Added streaming requests
Added websocket max_size and max_queue configuration
Fixed test client not working with HTTP2
Added match_info property to request class
Added support for recycling the gunicorn worker
Added an Unauthorized exception
Added a Forbidden exception
Added a graceful timeout when shutdown
   2017-07-07 10:48:27 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
BUILD_DEPENDS -> DEPENDS
   2017-07-07 09:27:15 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
Sanic is a Flask-like Python 3.5+ web server that's written to go fast. It's
based on the work done by the amazing folks at magicstack.

On top of being Flask-like, Sanic supports async request handlers. This means
you can use the new shiny async/await syntax from Python 3.5, making your code
non-blocking and speedy.