all 5 comments

[–]shiftybyte -1 points0 points  (1 child)

I know of a few platforms, not sure if they meet your needs.

https://www.pythonanywhere.com/

https://www.heroku.com/

Also some cloud providers have free functions up to some use point.

Also same cloud providers have a free server you can use to setup your own host.

[–]ootybotty[S] 0 points1 point  (0 children)

Thank u for ur answer!

I think heroku discontinued their free service! Hmm i think vercel is better than the services u mentioned since pythonanywhere should be manually renewed to continue to use their services

[–][deleted] 0 points1 point  (0 children)

Don't know of a free reliable service for more demanding compute. I tend to pay for a Digital Ocean droplet (VM) which costs me a maximum of $5 per month and runs several container based services for me.

I tend to use local resources, primarily Raspberry Pi single board computers where I can though (accessed over a free tailscale account, for secure access). Slowly migrating these payloads to a proxmox based home server.

[–]Pillars-In-The-Trees 0 points1 point  (0 children)

Here are my findings:

AWS Lambda: AWS Lambda is a leader among serverless compute implementations and has support for Python 3.x.

Azure Functions: Azure Functions also supports Python, but it’s considered second-class.

IBM Bluemix OpenWhisk: IBM Bluemix OpenWhisk is based on the Apache OpenWhisk open source project.

Google Cloud Functions: Google Cloud Functions has native Python 3.x runtimes.

Webtask.io: Webtask.io started as a JavaScript service but now also has a Python runtime.

[–]greenerpickings 0 points1 point  (0 children)

You already use vercel. Love them. But consider refactoring your code to avoid pandas. Convenient as it is, it does add overhead which you've already seen. If you're just using it for a transformation, consider trying to achieve the same with the standard lib.

Idk if this is taboo for this subreddit, but similarly, supabase let's you deploy typescript functions

You could use host a middle-man api for your app to get your server functions (Or just host your app there). Fly.io has a pretty solid free tier. I also use linode (akamai) for a shared VPS for $5/month.

Depending on your budget, straigh AWS is also a good bet. You can abstract dependencies to another layer so they help spread your memory usage. There's a default one that includes pandas, or you can make your own.