20 Python libraries you can’t live without

Hi there fellas. Today i am going to list 20 python libraries which have been a part of my toolbelt and should be a part of yours as well. So here they are:

  1. Requests. The most famous http library written by Kenneth Reitz. It’s a must have for every python developer.

  2. Scrapy. If you are involved in webscraping then this is a must have library for you. After using this library you won’t use any other.

  3. wxPython. A gui toolkit for python. I have primarily used it in place of tkinter. You will really love it.

  4. Pillow. A friendly fork of PIL (Python Imaging Library). It is more user friendly than PIL and is a must have for anyone who works with images.

  5. SQLAlchemy. A database library. Many love it and many hate it. The choice is yours.

  6. BeautifulSoup. I know it’s slow but this xml and html parsing library is very useful for beginners.

  7. Twisted. The most important tool for any network application developer. It has a very beautiful api and is used by a lot of famous python developers.

  8. NumPy. How can we leave this very important library ? It provides some advance math functionalities to python.

  9. SciPy. When we talk about NumPy then we have to talk about scipy. It is a library of algorithms and mathematical tools for python and has caused many scientists to switch from ruby to python.

  10. matplotlib. A numerical plotting library. It is very useful for any data scientist or any data analyzer.

  11. Pygame. Which developer does not like to play games and develop them ? This library will help you achieve your goal of 2d game development.

  12. Pyglet. A 3d animation and game creation engine. This is the engine in which the famous python port of minecraft was made

  13. pyQT. A GUI toolkit for python. It is my second choice after wxpython for developing GUI’s for my python scripts.

  14. pyGtk. Another python GUI library. It is the same library in which the famous Bittorrent client is created.

  15. Scapy. A packet sniffer and analyzer for python made in python.

  16. pywin32. A python library which provides some useful methods and classes for interacting with windows.

  17. nltk. Natural Language Toolkit – I realize most people won’t be using this one, but it’s generic enough. It is a very useful library if you want to manipulate strings. But it’s capacity is beyond that. Do check it out.

  18. nose. A testing framework for python. It is used by millions of python developers. It is a must have if you do test driven development.

  19. SymPy. SymPy can do algebraic evaluation, differentiation, expansion, complex numbers, etc. It is contained in a pure Python distribution.

  20. IPython. I just can’t stress enough how useful this tool is. It is a python prompt on steroids. It has completion, history, shell capabilities, and a lot more. Make sure that you take a look at it.

I hope you liked today’s post. Do share your views in the comments below and if you think that i have missed an important library which should be listed up there post it in the comments and i will add it. Stay tuned for the next post.



If you liked what you read then I am sure you will enjoy a newsletter of the content I create. I send it out every other month. It contains new stuff that I make, links I find interesting on the web, and occasional discount coupons for my book. Join the 5000+ other people who receive my newsletter:

I send out the newsletter once every other month. No spam, I promise + you can unsubscribe at anytime

✍️ Comments


A reblogué ceci sur Quantum Post and commented: A nice collection of libraries every programmer should use.


Aaron Meurer

SymPy and SimPy are completely unrelated.

In reply to Aaron Meurer

Thanx for your comment Aaron. I have edited the post.


this really isnt a library for python, but its the python implementation that runs in Java, (Python to bytecode compiler) good for those folks that want to write Java applets or native Android apps in Python.


This looks like a nice list. So, I add my favorite python web framework “webpy” - This is done by - RIP

Rohit shukla

will u also explain about a library storm


your blog fontsize too big..


Great info, great blog. Bookmarked! Hope you’ll post often, lol

Boskonovitch (@zero_zope)



Reblogged this on Sahil Dua.

G Krishna Prasad

Reblogged this on G Krishna Prasad and commented: Useful libraries in Python


I think you should add PySFML wich is a really usefull framework based on the c++ SFML library. This framework allow you to create graphic interface very easily and quickly !

Нели Хатева

virtualenv Fabric

Tommy Carstensen

I have used 3 of these modules, so I’m probably not alive :)

Mick Oberlin


Great topic!!


Reblogged this on Tales from Gaurav Chauhan.


Reblogged this on coded to dna.


hi yasoob,

Thank you very much for sharing the important modules, i’m requesting you to update important modules related to system internals and threading, like multiprocessing, multithreading like this if any new things in system internals please update the blog.


good list of python libraries

Nishmita Singhla

Nice one. I have also found this link which may can add some for the fellow readers:


thanks. very use ful


SQLAlchemy is very powerful but much too low-level for many uses. See instead the Records library which is a layer on top of SQLAlchemy.


I would replace NLTK with gensim, a wonderful package for text analytics. NLTK is good, but it is a bit old-school NLP, not to mention slow. The gensim package includes word2vec along with useful term vector reduction algorithm implementations. Significantly, critical parts of gensim that have been optimized with CPython.

Meenakshi Agarwal

Super cool list! Though, I already using a few of these. And I would like to add uuid which is another cool library for programming tasks like hashing, key/value stores and universally unique ids. It implements many versions of the UUID standards and is really handy for ensuring uniqueness.

John Gurung

Good list.

Fiaz Idris

Hi pandas is another very important library.


How the heck is Pandas not on here?

Say something

Send me an email when someone comments on this post.

Thank you!

Your comment has been submitted and will be published once it has been approved. 😊