{"repo":"logandk/serverless-wsgi","free":true,"listed":false,"github":"https://github.com/logandk/serverless-wsgi","clone":"git clone https://github.com/logandk/serverless-wsgi.git","description":"Serverless plugin to deploy WSGI applications (Flask/Django/Pyramid etc.) and bundle Python packages","language":"JavaScript","stars":499,"topics":["serverless","wsgi","python","flask","aws-lambda","serverless-plugin","pyramid","serverless-framework","hacktoberfest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"A Serverless Framework plugin to build your deploy Python WSGI applications using Serverless. Compatible WSGI application frameworks include Flask, Django and Pyramid - for a complete list, see: http://wsgi.readthedocs.io/en/latest/frameworks.html. Features - Transparently converts API Gateway and ALB requests to and from standard WSGI requests - Supports anything you'd expect from WSGI such as redirects, cookies, file uploads etc. - Automatically downloads Python packages that you specify in requirements.txt and deploys them along with your application - Convenient wsgi serve command for serving your application locally during development - Includes CLI commands for remote execution of Python code ( wsgi exec ), shell commands ( wsgi command ), Flask CLI commands ( wsgi flask ) and Django management commands ( wsgi manage ) - Supports both APIGatewayV1 and APIGatewayV2 payloads Install This will automatically add the plugin to package.json and the plugins section of serverless.yml . Flask configuration example This example assumes that you have intialized your application as app inside api.py . api.py A regular Flask application. serverless.yml Load the plugin and set the custom.wsgi.app configuration in serverless.yml to the module path of your Flask application. All functions that will use WSGI need to have wsgi handler.handler set as the Lambda handler and use the default lambda-proxy integration for API Gateway. This configuration example treats API Gateway as a transpar","default_branch":null,"files":null,"tree":[],"storefront":"/r/logandk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/logandk/serverless-wsgi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}