r/Python • • 9d ago

Discussion What Python libraries do you think every backend developer should learn beyond FastAPI and Pandas?

I'm curious about what Python libraries experienced developers consider essential for backend development.
I'm currently exploring FastAPI and learning more about the Python ecosystem. Beyond the usual frameworks, what libraries do you find yourself using regularly in real-world projects?
I'd love to discover some underrated libraries that are genuinely useful in production projects, not just popular ones.
What are your must-have Python libraries, and why?

81 Upvotes

119 comments sorted by

View all comments

Show parent comment

6

u/niRmana_dev 9d ago

Yeah, I was also wondering about that. I mostly associate Pandas with data analysis rather than typical backend development. SQLAlchemy probably makes more sense for database operations. I'm still exploring where Pandas fits into backend workflows.

42

u/waldenhead 9d ago

Pandas is so 2016. All new data frame code is written in Polars now personally.

2

u/compulsive_tremolo 8d ago

It's hard to get away from it - theres so much legacy and support for Pandas.

Tbh data engine API wrappers in cloud environments have largely reduced the footprint of both (at least in enterprise settings).

5

u/ChercherArbeit 8d ago

The trick is to use polars then just convert into a pandas data frame for when you need it.

-1

u/cudmore 8d ago

And LLM’s are really good at replicating pandas/polars in typescript.

-9

u/[deleted] 8d ago

Pandas is better than polars is like Apache and nginx! Nginx just for reverse! Apache full power you must learn to controll. Pandas the same.

3

u/terletsky 8d ago

Pandas/Numpy is for Data Engineering roles. Backend developers never use these things.