kore/examples/python-async
Joris Vink 0abc9b19ff simplify the python-async example 2021-05-02 16:25:46 +02:00
..
.gitignore Add python-async example. 2018-11-22 15:23:44 +01:00
README.md simplify the python-async example 2021-05-02 16:25:46 +02:00
app.py simplify the python-async example 2021-05-02 16:25:46 +02:00
async_http.py simplify the python-async example 2021-05-02 16:25:46 +02:00
async_lock.py simplify the python-async example 2021-05-02 16:25:46 +02:00
async_process.py simplify the python-async example 2021-05-02 16:25:46 +02:00
async_queue.py simplify the python-async example 2021-05-02 16:25:46 +02:00
async_socket.py simplify the python-async example 2021-05-02 16:25:46 +02:00

README.md

Kore python async/await examples.

This example also shows off the asynchronous HTTP client support and requires libcurl on your machine.

Requires that Kore is built with PYTHON=1 CURL=1

Run:

	$ kore app.py

Test:

	$ curl -k http://127.0.0.1:8888/queue
	$ curl -k http://127.0.0.1:8888/lock
	$ curl -k http://127.0.0.1:8888/proc
	$ curl -k http://127.0.0.1:8888/socket
	$ curl -k http://127.0.0.1:8888/httpclient