r/PythonLearning 2d ago

Which Python library saved you the most time?

Not necessarily the most popular one.

Just a library that made you think:

"I can't believe I used to do this manually."

Could be for:

  • automation
  • APIs
  • data analysis
  • image processing
  • web scraping
  • CLI tools
  • AI

Looking for hidden gems too.

15 Upvotes

10 comments sorted by

11

u/saul_soprano 2d ago

Can we please start banning these bots

1

u/Dookie_boy 2d ago

Why is this sub turning into [r/AskReddit](r/AskReddit) ?

2

u/RaiseTLT 2d ago

Numpy, since I use Python to automate music stuffs. And notes can be mapped to integers.

I love numpy, I love it a lot

4

u/Right-Geologist4153 2d ago

Openpyxl and pdfplumber

1

u/KiLoYounited 2d ago

Textual/rich - CLI tooling
Openpyxl - excel spreadsheet manipulation
Pathlib - duh
Manimations - never could pick up any of the 3D tools and manim just clicks for the basic shit I do

1

u/Low_Breakfast773 2d ago

it’s not entirely a library, more of a runtime, framework:
FastAPI.
I used to use Django and Flask, but they both suck.

Another data/AI/ML related libs are Pytorch, JAX and Scipy: Back in a day, more than a decade ago I used to build everything with numpy with a lot of efforts.

Hidden gem: SOXR (for audio signal processing, sampling). It’s amazing combined with librosa.

0

u/HelpfulParticle 2d ago

Probably Pillow. I needed plots made in a collage style and I was using PyROOT for plots. It has a way to get all plots on a collage, but it is so frickin tedious. Discovered Pillow and I was honestly shocked how much easier it was

1

u/gitamurinakamura254 2d ago

for automation, pathlib was one of those libraries that quietly replaced a bunch of messy file path handling. it just makes everyday scripts cleaner.

if someone's learning python from scratch, it's also worth looking at boot dev. it focuses on writing code instead of mostly watching videos, with a strong emphasis on backend fundamentals. disclosure: mentioning it because it's relevant to the question, not because i've personally used it.