Just want to point out that this section avoids mentioning the best way to do it:
> AWS Lambda doesn't natively run unmodified Python apps:
>
> - You need adapters (such as https://github.com/slank/awsgi or https://github.com/Kludex/mangum) for running your WSGI sites.
> - WebSockets are unsupported.
> - Setup is complex, adapters are often unmaintained.
AWS provides https://github.com/awslabs/aws-lambda-web-adapter which is a) supported and b) written Rust, providing a translation of Lambda requests back into HTTP so you can use your usual entry point to the WSGI app. It is simple to set up.WebSockets still not supported of course, but the issue of adapters is solved.