I reviewed 1,000+ Python libraries and discovered these hidden gems I never knew even existed.
Here are some of them that will make you fall in love with Python' and its versatility (even more).
Subscribe for free to receive new posts daily.
Mito: Analyze data in Jupyter by simply editing a spreadsheet. Offers reproducibility by generating code.
Sourcery: Automated tool for code refactoring. Makes your code clearer, concise, and more Pythonic.
Bashplotlib: Draw plots in the terminal. Great tool if you only have shell access.
Xonsh: Use IPython and a UNIX shell together without switching back and forth.
Rebound: Fetch Stack Overflow results in case of errors during code runtime.
Livepython: Watch your Python code run like a movie. It highlights the line being executed.
Reloading: Modify Python code during run-time.
PyQRCode: Convert any text/URL/Image to a QR code in two lines of code.
PyWhatKit: Automate sending messages on WhatsApp.
Pytube: Download YouTube videos in three lines of code.
SymPy: Perform symbolic computations in python to solve/print mathematical equations.
Rembg: Remove background from images.
Grip: Preview the README file locally as it would appear on GitHub. Prevents any errors in formatting.
getpass: Hide passwords while typing them in Python scripts.
Git-story: Visualize the commit history of a Git repository with beautiful animations.
returns: Make your functions return something meaningful, typed, and safe!
faster-than-requests: Speed up the requests module in Python.
Icecream: Never use print() to debug again.
Colorama: Print colored text in Python or output colored text in the terminal.
Pyfiglet: Create ASCII art in the terminal.
Camelot: Extract tables from PDFs. Especially useful for complex tables.
Ftfy: Get rid of junk characters and other common problems with Unicode.
Black: Automated code formatting.
Numerizer: Convert natural language numbers into integers and floats.
Humanize: Provides numerous humanization utilities like turning a number into words, etc.
textstat: Get statistics for your text data such as word count, reading time, etc.
CSV-kit: Explore, query and describe CSV files right from the terminal. No need to open Jupyter, use Pandas, etc.
PySnooper: Profile your code for easier debugging. It tracks new variable and their updates.
isort: Automatically sort imports, and separate them into sections and by type for better readability.
DotMap: Supercharge python dictionaries with dot notation.
Panel: Create interactive data dashboards and applications.
numexpr: Speedup NumPy expression up to 20x.
more-itertools: Exteds the itertools module with more methods for operating on iterables.
prettytable: Print tables in an attractive ASCII table format.
Pendulum: Ease date-time manipulations in Python. Highly intuitive to use.
Styleformer: Convert text into different language styles like formal/casual, active/passive, etc.
Manim: Create animated videos for explaining math concepts.
That’s a wrap!!
What cool Python libraries would you add to this list?
👇 Drop your suggestions in the replies below 👇
Share this post on LinkedIn: Post Link.
Thanks for reading Daily Dose of Data Science! Subscribe for free to receive new posts daily.
Find the code for my tips here: GitHub.
I like to explore, experiment and write about data science concepts and tools. You can read my articles on Medium. Also, you can connect with me on LinkedIn.
Great list! I can't wait to try a handful of these. The link for Camelot does not appear to be correct. I think it should be: https://pypi.org/project/camelot-py/ (very useful!)