
How to run Python in production
My previous article recommended that one should reconsider using Python in production. However, there’s one category of use case where Python is the dominant option for running production workloads. And that’s data analysis and machine learning. Almost all bleeding-edge work in data analysis and machine learning, especially around LLMs, happens in Python. So, here are some of my learnings on how to run Python in production. Project quality Package manager Python has a fragmented ecosystem of package managers. The only ones I can recommend are poetry and uv . After learning about uv on Hacker News , I decided to give it a try . uv is blazingly fast and manages the Python binary as well. It even supports migrations from other package managers. The only downside is that uv is still not on a stable release yet. ...