{"id":21659404,"url":"https://github.com/wasmerio/python-flask-example","last_synced_at":"2025-06-25T14:05:16.393Z","repository":{"id":198436681,"uuid":"700827732","full_name":"wasmerio/python-flask-example","owner":"wasmerio","description":"Sample Python Flask server for Wasmer Edge","archived":false,"fork":false,"pushed_at":"2023-10-05T17:13:41.000Z","size":105,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T06:15:23.802Z","etag":null,"topics":["flask","python","python3","wasmer","wasmer-edge","webassembly"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wasmerio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-05T11:28:28.000Z","updated_at":"2025-05-16T11:22:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"5801ecba-6bcb-4c8a-8e99-1c6682fc5b33","html_url":"https://github.com/wasmerio/python-flask-example","commit_stats":null,"previous_names":["wasmerio/edge-python-flask-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wasmerio/python-flask-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasmerio%2Fpython-flask-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasmerio%2Fpython-flask-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasmerio%2Fpython-flask-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasmerio%2Fpython-flask-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasmerio","download_url":"https://codeload.github.com/wasmerio/python-flask-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasmerio%2Fpython-flask-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261888088,"owners_count":23225138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","python","python3","wasmer","wasmer-edge","webassembly"],"created_at":"2024-11-25T09:31:00.215Z","updated_at":"2025-06-25T14:05:16.368Z","avatar_url":"https://github.com/wasmerio.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Sample Python Flask Server with Wasmer\n\nThis is a sample repo for running a Python's Flask server on Wasmer Edge.\n\n## Running it locally\n\n### Clone the repo\n\n```shell\ngit clone https://github.com/wasmerio/python-flask-example.git\n```\n\n### Setup the Virtual Environment\n\n```shell\npython3 -m venv .env\nsource .env/bin/activate\npip3 install Flask\n```\n\n### Run it locally using the command below\n\n```shell\n$ wasmer run . --net\n * Serving Flask app '/src/main'\n * Debug mode: on\nWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.\n * Running on http://127.0.0.1:5000\nPress CTRL+C to quit\n```\n\n## Running it using wasmer registry\n\nThis package is published to wasmer registry as [`wasmer/python-flask-server`](https://wasmer.io/wasmer/python-flask-server)\n\nYou can try this locally.\n\n```shell\n$ wasmer run . --net\n * Serving Flask app '/src/main'\n * Debug mode: on\nWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.\n * Running on http://127.0.0.1:8080\nPress CTRL+C to quit\n```\n\nThis would start an http server on `http://127.0.0.1:8080`\n\n![Python Flask Server](python-flask-server.png)\n\n## Live on Wasmer Edge\n\nYou can check the app in: \nhttps://wasmer-python-flask-server-worker.wasmer.app","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasmerio%2Fpython-flask-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasmerio%2Fpython-flask-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasmerio%2Fpython-flask-example/lists"}