jackyli515/python-http-server-24e1
Public
wasmer run jackyli515/python-http-server-24e1

This is a simple Python HTTP server.

Usage

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 . --net --env PORT=8080

[!TIP] You can also run wasmer run jackyli515/python-http-server-24e1 --net --env PORT=8080to run the remote package

Open http://localhost:8080 with your browser to see the Python application response.

Deploy on Wasmer Edge

The easiest way to deploy your Python app is to use the Wasmer Edge.

Live example: https://jackyli515-python-http-server-24e1.wasmer.app/

Run this commmand to deploy to Wasmer Edge:

wasmer deploy

[!NOTE] You will need to change the namespace in wasmer.toml to your own namespace and app name in app.yaml to your own app name.

Python HTTP Server Wasmer starter package


Github
More packages
wasmer/python-http-server py worker
el-gringo/python-flask-server py worker
el-gringo avatar
el-gringo
el-gringo avatar
el-gringo
kmpartner/python-flask-server-tutorial py worker
kmpartner
kmpartner
kmpartner
kmpartner
Python HTTP server used for testing.
Python HTTP server used or testing.
Python HTTP Server Wasmer starter package
My first HTTP server
n1215 avatar
n1215
n1215 avatar
n1215
My first HTTP server
hata
hata
hata
hata
My first HTTP server
Takashi Oguma
Takashi Oguma
Takashi Oguma
Takashi Oguma
http server that dumps environment variables and cli args

Making software universally accessible