Sitemap

Python in Plain English

New Python content every day. Follow to join our 3.5M+ monthly readers.

9 Python Libraries That Make Your Code Look Professional

The difference between hobby and production.

8 min read4 days ago
Image Generated using Sora

You’ve seen the usual listicles. loguru, pydantic, httpx. Good libraries, sure. But if you Google "underrated Python libraries," you'll find the same 12 names recycled across 400 Medium articles.

This isn’t that article.

After 4+ years of shipping Python in production — services that run at 3 AM without me babysitting them — I’ve collected a list of libraries that most developers simply don’t know exist. These aren’t obscure academic tools. They’re battle-tested, actively maintained, and the kind of thing you find buried in a senior engineer’s requirements.txt with no explanation.

Let’s fix that.

1. glom — The Nested Data Wrangler You Desperately Need

Every developer has written this at least once:

python

city = data.get("user", {}).get("profile", {}).get("address", {}).get("city", "Unknown")

It works. It’s also an eyesore. And the moment that API adds one more nesting level, you’re back editing that chain.

glom turns this into a declaration:

from glom import glom, Coalesce

data = {
"user": {
"profile": {…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web
Already have an account? Sign in
Python in Plain English

Published in Python in Plain English

New Python content every day. Follow to join our 3.5M+ monthly readers.

Abdur Rahman

Written by Abdur Rahman

1M+ Views online ✨ Entrepreneur | AI Lover | Developer | Writer.

Responses (1)

Excellent article! This really helped me understand the topic better.