pyramid-asyncio
A lib that override pyramid to build asyncio web application.
Basically, it change views to asyncio coroutine.
Getting Started
pyramid_asyncio add two directives to treat views as coroutine.
config.add_coroutine_view()
This is a coroutine version of the config.add_view. pyramid_asyncio provide also a decorator coroutine_view_config which is the view_config version for coroutine view.
config.make_asyncio_app()
This create the wsgi app that work with the aiohttp gunicorn worker. aiohttp.worker.AsyncGunicornWorker
config.make_wsgi_app() could not be used because the pyramid router must be changed.
The simple way to create the pyramid app with asyncio is to use the scaffold.
pyramid_asyncio comme with a scaffold that create a “hello world” application, check it
pcreate -s aio_jinja2 helloworld
Changelog
0.2 Released on 2017-05-07
Pin version of Pyramid 1.5
The ViewDeriver has evolved and is now an interface IViewDeriver. Unfortunately, this make things harder for replacing the default ViewDeriver installed.
Pin version of aiohttp.
WSGI/Gunicorn support has been dropped in version 2.
0.1 Released on 2015-03-30
Initial Release
Metadata
Release files for pyramid-asyncio 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyramid-asyncio-0.2.tar.gz | 21.2 kB | Without provenance | Details for pyramid-asyncio-0.2.tar.gz |
Release files / pyramid-asyncio-0.2.tar.gz
| Download URL | pyramid-asyncio-0.2.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efd6ea636331cdff4bb09526ff8868d30d79036c7cc96e8bdf6e6218cadc8918
|
|
BLAKE2b-256 checksum How to use checksums |
f80196497bbca53c7264052ac6c24b6f1179a88ddeaa5cdda4324ce633b4d98a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyramid-asyncio 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.