el-gringo/python-flask-server
Public
wasmer run el-gringo/python-flask-server

Sample Python Flask Server with Wasmer

This is a sample repo for running a Python's Flask server on Wasmer Edge.

Running it locally

Clone the repo

git clone https://github.com/wasmerio/python-flask-example.git

Setup the Virtual Environment

python3 -m venv .env
source .env/bin/activate
pip3 install Flask

Run it locally using the command below

$ wasmer run . --net
 * Serving Flask app '/src/main'
 * Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://127.0.0.1:5000
Press CTRL+C to quit

Running it using wasmer registry

This package is published to wasmer registry as wasmer/python-flask-server

You can try this locally.

$ wasmer run . --net
 * Serving Flask app '/src/main'
 * Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://127.0.0.1:8080
Press CTRL+C to quit

This would start an http server on http://127.0.0.1:8080

Python Flask Server

Live on Wasmer Edge

You can check the app in: https://wasmer-python-flask-server-worker.wasmer.app

el-gringo/python-flask-server py worker


Github
More packages
el-gringo/my-new-site website
el-gringo avatar
el-gringo
el-gringo avatar
el-gringo
kmpartner/python-flask-server-tutorial py worker
kmpartner
kmpartner
kmpartner
kmpartner
hello web shell
el-gringo avatar
el-gringo
el-gringo avatar
el-gringo
wasmer/python-flask-server py worker
miketeddyomondi/flask-server py worker
Mike Teddy Omondi
Mike Teddy Omondi
Mike Teddy Omondi
Mike Teddy Omondi
wasmer/python-flask-worker py worker
wasmer/python-http-server py worker
Python HTTP server used for testing.
Python HTTP Server Wasmer starter package
Python HTTP server used or testing.

Making software universally accessible