Using Python? What framework are you using? What about database and other supporting tech? How and where are you deploying?
There seem to be a lot of Node and PHP users on here and I am wondering if Python people are out there, and what are you using to ship those MVPs fast.
Frameworks - Building your Python application.
Web Servers - Sits in front of your Python application to handle HTTP traffic.
Storage - For persistent or ephemeral storage of data.
Note: Many managed options for each of these such as GCloud Datastore (NoSQL), GCloud SQL (Relational), AWS RDS (Relational), AWS Dynamo (NoSQL), Heroku Postgres, Heroku Redis, etc.
Deployment - Running your application on a server.
I've preferred the following stack, at least early on:
+1 for Flask
Have you tried fastapi?
I haven't gotten a chance to use it yet, though I've heard good things. Any thoughts? Python hasn't been my primary ecosystem for a few years now so I'm not up to date on the latest and greatest.
It was really good, preferred it over Flask.
So for big projects i will use Django and for simple apis etc i will use fastapi.
Nice, I'll check it out!
Flask and Postgres with SQLAlchemy. For deployment I chose Hetzner server and use Gunicorn and Nginx.
Hi Chris, back in the day I was deciding between Django and Rails. Actually I liked many things about Django (like the admin, auto migrations), but settled on Rails, because Ruby clicked a little better for me. As for deployment, I actually just use a Bash script to create a"git push" deployment (ala Heroku) on a Digital Ocean droplet. Why? I only use one VM per project and it gives me a lot of flexibility without headaches of keeping up-to-date with new versions of configuration management tools. If you are interested, I am actually writing about it in https://deploymentfromscratch.com/. Both Ruby and Python are used as examples.
Flask & SQLAlchemy.
Deployed to AWS Elastic Beanstalk.
For me my new stack is going to be FastAPI + SQLAlchemy. I love SQLAlchemy which I use a lot at work currently and I am now playing with FastAPI and it looks good so far.
Not using Python at the moment, but if I were I’d use Flask and SQLAlchemy. That’s honestly just because I have experience with those libraries; if you’re more familiar with Django or something you should use that.
For the rest of the stack, I’d keep it as generic as possible. Use nginx if you need a web server, HAProxy for load balancing, etc.
Yes - last 3 professional projects have been in Django / DRF on the back-end. Have worked with Java and Erlang before that. Very happy now with Django and likely to stick with it.
Have used Angular2+ for the front-end which was not such a happy experience. Latest project has been Django / JQuery just to get something out quickly.
Rest of my stack is Postgres / Docker (running Gunicorn) / AWS. Has been a steep learning curve but am productive with this now, so likely to stick.
This comment was deleted 5 years ago.