Ask HN: What Python web programming frameworks and tools are you using?
I'm interested in hearing from the community about what tools you are using for building web applications in Python.
So, what tools, databases, web servers and frameworks are you using for your latest Python web application projects? Or, if you've abandoned Python, what language have you moved to, and why?
15 comments
[ 5.3 ms ] story [ 48.0 ms ] threadWith those three tools I can create a web app with basic functionality with few lines of code, like a prototype. For example:
- [0] https://bottlepy.org/docs/dev/- [1] https://dataset.readthedocs.io/en/latest/
- [3] https://docs.pipenv.org/
Edit: formatting.
https://github.com/thinkxl/hn-bottle-example
And here is a gif showing how it works:
https://dsh.re/364b2
Edit: Words.
Framework:
- A bastardized modification of Django (bad choice, but I'm stuck with it). I'd really like to try Pyramid or Flask.
- Mako for templating.
Databases:
- PostgreSQL for primary data storage.
- Solr for full-text search.
- Redis for cached data.
Servers:
- Nginx for the front-end server.
- uWSGI for the application server (bridge between Nginx and Django). I'd like to try Nginx Unit.
Browser-side:
- jQuery for functionality.
- Bootstrap for base styles.
I write all my database commands in raw SQL rather than using an ORM, primarily because it's far quicker for me to write slightly more complex SQL than manipulate objects.
SQLAlchemy for ORM
PostgreSQL/Redis/Elasticsearch for storage
Use the built-in admin functionality for easy CRUD, and add the django-rest-framework plugin for a full REST api as well.