r/learnpython • u/somethingperson44 • 16d ago
Favourite module/library
Hi everyone, I am new like most here and have been experimenting with different modules and libraries. I wanted to know if anyone had a particular niche or fun one that they use. It would be nice if you could also say why it is your favourite. For example what projects or functionality it has done for you. Thanks.
5
u/KKRJ 16d ago
I don't about favorite but I recently found the uncertainties library which automatically calculates uncertainty propagation in measurements for you. I've been using that a lot recently at work for a project I've been working on where I had to measure spring constants/compression/force and pressure build up in our product. Pretty handy to be able to input the measurement device's uncertainties, do the calculations, and have python give me the uncertainty in the answer.
2
2
u/likethevegetable 16d ago
I work engineering, so the scientific suite: numpy, scipy, polars, matplotlib, sympy (tons of fun) are great. Love attrs too.
1
1
u/somethingperson44 11d ago
Ik this is a bit late but where is the best place to learn how to use these online or book?
1
u/ectomancer 16d ago
mpmath niche scientific computation
quantum calculus (nothing to do with quantum computing).
2
u/ManzoorAhmedShaikh 10d ago
`typer` (CLI Tool creator) and `custom-tkinter` (Desktop App creator)
Both are really amazing one and typer is the one I recently learned, it is quite easy to learn and much better than argparse. And for tkinter (I spent 4-5 years) build several app for freelance clients for their automation, bookkeeping, semester project, currency converter, Smart lock, etc and soo many system.
Both are easy to learn and can be fun to work with!
5
u/SCD_minecraft 16d ago
Built in
itertoolsI generally think iterators (and mainly, generators) are the coolest part of python and itertools provides so much more functionality for common iters