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

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


Branch: CURRENT, Version: 0.7.0, Package name: py36-sanic-0.7.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] [devel/py-aiofiles]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: bacbbe0bb6625106d91797e1e947dc91a6644694
RMD160: 38405f2c588b317f18dbd40bc828496a0bc412a0
Filesize: 40.325 KB

Version history: (Expand)


CVS history: (Expand)


   2017-12-06 13:53:56 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-sanic: updated to 0.7.0

0.7.0:
Fixed a bug where trigger_events didn't actually trigger events in async \ 
create_server
Changed strict_slashes to be True by default
Changed Unauthorized exception __init__ to be more like the rest of the exceptions
Added an option to define a name for a route
Made the prefixes for the environment variables configurable
Fixed windows support where syslog raises an ImportError
Added support for vhosts in static routes
Split RequestTimeout, ResponseTimeout, and KeepAliveTimeout into different timeouts
Fixed Connection lost before response written
SanicTestClient now gets its own port
   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.