r/Python • • 12m 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?

0 Upvotes

9 comments sorted by

•

u/PrestigiousStrike779 4m ago

Sqlalchemy  Boto3 if you’re on AWS

•

u/niRmana_dev 0m ago

Yeah.. SQLAlchemy seems to be a must-have for database-heavy applications. Thanks!

•

u/martinky24 10m ago

Pydantic

•

u/ninhaomah 9m ago

Ohhh... Late by a min... Well done!

•

u/Knudson95 9m ago

celery is great for offloading work / scheduling jobs. Maybe not essential but good to have in the tool box

•

u/reductio-ad-finem 0m ago

SqlAlchemy (and Alembic for migrations). I love Loguru for logs, but stdlib logging works fine too. Pytest for testing, of course. Httpx is great in the toolbelt.

Beyond that (and pydantic and fastapi), it kinda depends on what other parts of your stack look like. E.g. Redis, NATS, opentelemetry, Prefect, etc. all have clients.

•

u/dusktreader 5m ago

httpx2, typer/click, loguru, pydantic, pendulum, inflection, sqlalchemy/alembic, boto3, pytest, and zensical.