Top 10 Python Packages you should try right now

Featured on Hashnode

Subscribe to my newsletter and never miss my upcoming articles

Listen to this article

Python has various packages to make your life easy so that you don't need to code from scratch. These are some of the packages which you can use to build your next project in Python.

PDF Miner

pip install pdfminer

PDF Miner lets you extract text from pdf files. This can be useful if you are building a product which needs text from say resumes or reports.

There is also a similar library called PyreParser which is specially made just for extracting resume information(This tech is pretty much used in every company in the hiring process)


pip install Pillow==2.2.1

Pillow is a library which allows for image manipulation & conversion. You can do a wide variety of things like adding text to an image or blurring an image. Below is a simple example of adding text to an image. Below is the before and after running this code. We just added "hashnode is amazing" in the bottom right using the x y coordinates.

New Project(1).png

There is also a python package called moviepy which lets you do similar things but with videos.


pip install opencv-python


This is one of the booming packages and LinkedIn is filled with project demos built with OpenCV. You can do anything from resizing an image to Controlling Subway surfers from your hands through image recognition.


Above is a simple example to open a greyscale image and resize it.

Refer to these Resources to learn more about OpenCV( Edureka and Murtazas YouTube Channel )


pip install furl

Furl makes parsing and manipulating URLs easy for you. Here is an example of paths and query using furl



Scikit- learn

pip install scikit-learn

Scikit- learn can be used for a variety of applications which include classification, regression, clustering, model selection, naive Bayes’, grade boosting, K-means, and preprocessing.

carbon(14).png Above is a snippet from one of my 2nd-year projects at engineering which predicts prices for houses in Bangalore. This uses Linear Regression and I didn't know the formula and other details but using scikit-learn I could easily use the concept to build a model.


pip install html2text

This allows you to convert HTML code to markdown with just one line of python code.
But you can't directly add websites instead of HTML code, using a beautiful soup can help you do that.

Output :

#  Hello world

**Html2 text is amazing**

[ My Blogs are cool ](

Beautiful Soup

pip install beautifulsoup4

Beautiful Soup allows you to parse HTML data from websites and get the data you want by finding the element you want using id or class name. This is one of the most used tools in the field of web scraping. (NOTE: Web Scrapping might be illegal on some websites )


Here We just parsed through Bhanu's Article and Generated a markdown from the URL using HTML2Text


pip install kivy==1.11.1

Kivy is a really interesting GUI framework that you can use to create desktop user interfaces and mobile applications on both iOS and Android.

Kivy applications will not look like native apps on any platform. This can be an advantage if you want your application to look and feel different from the competition. There are even some alternatives like PyQt and Quirt.



pip install Faker

Faker is a Python package that generates fake data for you. This can be really useful for testing or bootstrapping your database.


You can even checkout radar which can generate random date and time.


pip install selenium

Selenium is one of the testing frameworks which can be used for fun stuff like automation and building bots. You can automate anything like sending WhatsApp messages to increasing views for your blog.


This is a code which opens your website for n number of times in a browser. You can add different user-agents as well.


These were some packages which can do testing or build machine learning projects. Try using any one of them and let me know what you built using these Packages. Hit me up on Twitter or Linkedin .


Interested in reading more such articles from Hrithwik Bharadwaj?

Support the author by donating an amount of your choice.

Recent sponsors
Yezni's photo

Good read . Saving it for later

Prathima Kadari's photo

Feels good to have glanced the packages needed for python. I have tried up with Open CV. The scope is limitless. Bookmarked. Hrithwik Bharadwaj