I gave a live-coding presentation about this at Laracon. With each of those frameworks, there are a lot of hosting providers that are specifically tuned for them.
Sidecar packages, deploys, and executes serverless functions from your Laravel application.
Now you can execute the function on Lambda from your Laravel application: return ExampleFunction::execute()->body(); That calls the function on Lambda and returns the result to your Laravel application.
]; Now you have a Python function on Lambda, that you can execute from your Laravel application.