This is a simple Python HTTP server.
Modify the logic of your simple Python HTTP server in the src/main.py
file.
You can run the server with Python with:
$ python src/main.py
Or you can also use wasmer run
to run it locally (check out the Wasmer install guide):
$ wasmer run . --env PORT=8080
Open http://localhost:8080 with your browser to see the Python application response.
The easiest way to deploy your Python app is to use the Wasmer Edge.
Live example: https://python-worker-wasmer-starter-worker.wasmer.app/
Run this commmand to deploy to Wasmer Edge:
wasmer deploy