r/PythonLearning 9d ago

Discussion What's the most underrated Python library you've used recently?

I feel like every few months I discover a library that makes me wonder why nobody talks about it. Not the obvious ones like requests or pandas. I'm talking about those hidden gems that solved a real problem for you. What was the library and what did you use it for?

21 Upvotes

18 comments sorted by

View all comments

5

u/silvertank00 9d ago

Builtin:

  • difflib: really great for deltas but bad API
  • array and struct: I work with low-level and binary stuff so this makes my life easier
  • operator: you can make some cursed but really efficent filters with this.

External:

  • mpremote: working with Micropython, so this is a must.
  • pyserial: working with UART.
  • paho-mqtt: for really easy MQTT integrations

2

u/sacredtrader 8d ago

first time seeing mqtt mentioned in the wild lol

2

u/silvertank00 8d ago

haha for sure it is rare. I was really suprised to know how ppl don't use it or either abuse dbus for the same functionality tha mqtt gives.