4 Python packages to Try

4 Python packages to Try

Python offers different packages to make your life easier so that you don't need to code from scratch. Here are some of the packages you can use to build your next project in Python.

PDF Miner

pip install pdfminer

PDFMiner allows you to extract text from PDF files. This can be useful if you are creating a product that requires text from CVs or reports for example.

gEMzqA16J.png

There is also a similar library named PyresParser which is specially designed for extracting resume information (this technology is pretty much used in all companies in the recruiting process)

Pillow

pip install Pillow

Pillow is a library that allows manipulation and conversion of images. 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.

AQW.png

this code just added "hashnode is amazing" at the bottom right using the x y coordinates.

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

OpenCV

pip install opencv-python

FTsTOiPzs.jpg

It's one of the booming packages and LinkedIn is filled with demos of projects built with OpenCV. You can do everything from resizing an image to controlling Subway surfers with your hands to image recognition.

Pzr3fVlCg.jpg

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 )

Faker

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.

cAKYe-5sY.png

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

Conclusion

These were some packages which can help you build awesome projects. Try using any one of them and let me know what you built using these Packages.