python and t3 stack
Hey all, I am new to the t3 stack. If I want to create an api route that runs a python script. What's the best approach? Is it deploying a flask?
Solution:Jump to solution
I'd probably just deploy a lambda with your python code and call it like you would a normal http endpoint, there isn't a super clean path for this type of integration with t3
5 Replies
Solution
I'd probably just deploy a lambda with your python code and call it like you would a normal http endpoint, there isn't a super clean path for this type of integration with t3
i would go so far as to say the point of the t3 stack IS typesafety with typescript. if a significant bit of your code isnt ts then this probably isnt the stack for you. that said django and flask are much more established and will probably suit your needs just fine
Thank you for the responses
Do you know any similar stack to t3 (deploy readyish) that would accomplish this?
im not that familiar with python webservers. ive made a few small projects in fastapi and i know django has its own opinions on how you should do pretty much everything
but i mostly use python for gluing stuff together and i havent made a re3al production webserver in it
so i cant give you any real reccomendations other than 'i hear people like django'