Package: aiopyramid
IntroductionA library for leveraging pyramid infrastructure asynchronously using the newasyncio.Aiopyramidprovides tools for making web applications withPyramidandasyncio.
It will not necessarily make your application run faster. Instead, it gives you some tools
and patterns to build an application on asynchronous servers.
Bear in mind that you will need to use asynchronous libraries for io where appropriate.Since this library is built on relatively new technology, it is not intended for production use.Getting StartedAiopyramidincludes a scaffold that creates a “hello world” application,
check it out. The scaffold is designed to work with eithergunicornvia a custom worker oruWSGIvia theuWSGI asyncio plugin.For example:pip install aiopyramid gunicorn
pcreate -s aio_starter <project>
cd <project>
python setup.py develop
pserve development.iniThere is also awebsocketscaffoldaio_websocketfor those who basic tools for setting up
awebsocketserver.DocumentationFull documentation forAiopyramidcan be foundhere.Changes0.4.1 (2016-06-04)Fix dependency mismatch for cases of aiohttp > 1.0 but < 2.00.4.0 (2016-05-29)Refactor to support latests aiohttp0.3.7 (2017-05-07)Peg aiohttp dependency0.3.6 (2016-09-22)Fix header normalization for Gunicorn0.3.5 (2016-02-18)Fix Gunicorn logging support0.3.4 (2016-02-03)Fix compatiblity with websockets 3+0.3.3 (2015-11-21)Merge fix forignore_websocket_closedto allow chained exceptionsAdd option to coerce bytes to str for uwsgi websockets0.3.2 (2015-09-24)Support Python3.50.3.1 (2015-01-31)Fix issues related to POST requestsFix issues related to coroutine mappersSync with Gunicorn settings a la issue #9170.3.0 (2014-12-06)Add sphinxMigrate README to sphinx docsAdd helpers for authenticationDeprecated aiopyramid.traversal, use aiopyramid.helpers.synchronizeDeprecated aiopyramid.tweens, moved examples to docs0.2.4 (2014-10-06)Fix issue with gunicorn websocketsFix issue with class-based view mappers0.2.3 (2014-10-01)Fix issue withsynchronize0.2.2 (2014-09-30)Update example tween to work with gunicornAdd kwargs support to helpersAdd tox for testingAdd decoratorsynchronizefor wrapping coroutinesRefactored mappers and tween example to usesynchronizeBug fixes0.2.1 (2014-09-15)Update scaffold example testsAdd test suiteUpdate README0.2.0 (2014-09-01)Update READMEadded websocket mappers for uwsgi and gunicornadded websocket view class0.1.2 (2014-08-02)Update MANIFEST.in0.1.0 (2014-08-01)Update README ready for releaseAdded asyncio traverser (patched fromResourceTreeTraverser)Added custom gunicorn workerFix issue with uwsgi and executor threadsUpdate starter scaffold0.0.3 (2014-07-30)Moving to an extension-based rather than patched-based approachremoved most code based on pyramid_asyncio except testing and scaffoldsadded view mappers for running views in asyncioadded example tween that can come before or after synchronous tweens0.0.2 (2014-07-22)Removed Gunicorn specific codedisabled excview_tween_factorymade viewresult_to_response a coroutineadded dummy code for testing with uwsgi0.0.1 (2014-07-22)Migrated from pyramid_asyncio (Thank you Guillaume)Removed worker.py and Gunicorn dependencyAdded greenlet dependencyChanged contact information in setup.py