This project aims to experiment with lightweight HTTP server based on Python 3.5+ asynchronous I/O e.g. aiohttp suitable for use as REST API server.
The operative word for this repo is experiment because Python 3 asyncio is still in a state of flux somewhat. As a point of interest, David Beazley's Curio does it faster and simpler!
It includes asyncio-compatible libraries to connect to the following servers:
A comprehensive compilation of compatible Python libraries can be found here.
In the meantime, informative benchmarks of several Python web frameworks can be found here
Beware of the version of Python 3 interpreter you use and set your PYTHONPATH accordingly.
/usr/bin/python3 is version 3.4+/usr/local/bin/python3 is version 3.5+apt-get, e.g. yaml, shapely, etc. do this in your code,sys.path.append('/usr/lib/python3/dist-packages')
Content type
Image
Digest
Size
51 MB
Last updated
over 8 years ago
docker pull cheewai/py3-aiohttp