TL;DR
Are you getting into Python? It’s a jungle!
You have libraries just about anything you can think about - from creating games to building web applications.
With this list, get a quick idea of 50 standard Python libraries and what they do whether you’re just getting started or looking to deepen your Python game.
1. Taipy
Taipy has been designed to expedite application development, from initial prototypes to production-ready applications.
This open-source Python library is designed for easy development for both front-end (GUI) and ML/Data pipelines.
It is low code and designed for any pythonista.
Your support means a lot🌱, and helps us in many ways, like writing articles! 🙏
2. NumPy
Essential for numerical computations, supporting large, multi-dimensional arrays and matrices. This library is part of Python royalty.
3. Pandas
A cornerstone for data manipulation and analysis, offering intuitive data structures and operations for manipulating numerical tables and time series. Another Python indispensable library, a must-know library.
4. Matplotlib
A versatile tool for creating a wide range of static, minimal, and interactive visualizations. A lot of parameters to play with, this library is very useful when plotting ML and AI graphs.
Star ⭐ the Matplotlib repository
5. SciPy
Specialized in technical and scientific computing, with Scipy you can do optimization, integration, interpolation, and more.
6. Scikit-learn
A go-to library for machine learning, providing a wide range of supervised and unsupervised learning algorithms. The only library you should know when starting with Machine Learning.
Star ⭐ the Scikit-learn repository
7. TensorFlow
A comprehensive framework for machine learning offers various tools, libraries, and community resources. THe learning curve might be a little steep, but TF is important to know in the Python and ML landscape.
Star ⭐ the TensorFlow repository
8. PyTorch
Favored for both academic research and production due to its flexibility, offering dynamic neural network creation and manipulation.
9. Keras
A high-level API for building and training deep learning models, designed to facilitate building and working with neural networks.
10. Requests
Simplifies the process of making HTTP requests, making web scraping and API consumption more accessible.
Star ⭐ the Requests repository
11. Beautiful Soup
A tool for web scraping that facilitates data extraction from HTML and XML files.
Star ⭐ the Beautiful Soup repository
12. Flask
A lightweight and extensible web framework, making it ideal for building small to medium web applications.
13. Django
Designed for rapid development and clean, pragmatic design, this high-level framework.
14. Selenium
This library automates web browsers, enabling the simulation of actual user actions for testing web applications.
Star ⭐ the Selenium repository
15. Pygame
Provides Python modules for writing video games, including graphical and sound libraries.
16. Pillow (PIL Fork)
Extends Python Imaging Library capabilities, supporting various image file formats.
17. SQLAlchemy
This library offers a full suite of tools for working with databases through Python, providing a robust ORM layer and SQL expression language.
Star ⭐ the SQLAlchemy repository
18. PySpark
As you can tell from the name, this library brings the power of Apache Spark to Python, facilitating big data processing and analysis with a Pythonic approach.
19. Dash
Enables the creation of analytical web applications directly in Python without requiring deep knowledge of web development.
20. Plotly
Specializes in creating interactive and visually appealing graphs and charts suitable for web and mobile applications.
21. Nltk
This library makes natural language processing accessible and easy to use.
22. SpaCy
Offers industrial-strength natural language processing capabilities with pre-trained models for many languages.
23. Gensim
Focused on unsupervised topic modeling and natural language processing, you can use this library to analyze document similarity.
24. PyTest
A robust framework for writing small to complex functional tests, enhancing test readability and maintainability.
25. unittest
The built-in framework for constructing and running tests mirroring the xUnit architecture found in other languages.
Unitest is built-in.
26. Fabric
Simplifies SSH for application deployment or system administration tasks, automating remote shell commands.
27. Vizzu
Aimed at animated data visualizations and storytelling, Vizzu is the go-to library to create dynamic and interactive charts.
28. Polars
A DataFrame library optimized for performance and efficiency, capable of easily handling large datasets.
29. Docker-Py
Provides Pythonic access to the Docker Remote API, enabling automation of Docker container management.
Star ⭐ the Docker-Py repository
30. OpenCV
A staple in computer vision and image processing, offering a comprehensive suite of algorithms and tools.
31. Scikit-image
Dedicated to image processing, it extends the capabilities of SciPy and NumPy to the visual landscape.
Star ⭐ the Scikit-image repository
32. SymPy
This library is made for your symbolic computation, offering features ranging from algebraic solving to calculus.
33. Virtualenv
Essential for creating isolated Python environments and managing project dependencies cleanly.
Star ⭐ the Virtualenv repository
34. Click
Streamlines the creation of command-line interfaces, promoting code that is both composable and easy to extend.
35. Argparse
Facilitates the parsing of command-line arguments, which is essential for CLI application development.
Argparse is built-in.
36. Logging
Offers a flexible logging system, from simple logging to complex per-module configurations.
Logging is built-in.
37. PyYAML
Handles YAML files, supporting serialization and deserialization of Python objects to and from YAML.
38. xlrd/xlwt
Ideal for reading and writing Excel files, bridging the gap between Python and Excel documents.
Star ⭐ the xlrd repository
Star ⭐ the xlwt repository
39. Pandas-Profiling
Generates comprehensive profile reports from pandas
Star ⭐ the Pandas-Profiling repository
40. TQDM
Tqdm is a wrapper to any loop that will track the advancement with a progress bar.
41. Faker
Need fake data that looks real? Faker's got your back.
42. Flake8
A must-need library to keep your code cleaner with easily to implement style checks.
43. Black
Bring your code formatting to the next level.
44. Mypy
It's like having a grammar teacher for your code but for types.
45. Pydantic
The library you need to validate your Python scripts.
Star ⭐ the Pydantic repository
46. FastAPI
FastAPI is a web framework for building RESTful APIs.
47. Catboost
Gives your machine-learning models ways to handle categorical data.
Star ⭐ the Catboost repository
48. Seaborn
Making elevated data visualization.
49. Turtle
Brings programming to life with cool graphics and animations. A great way to learn and get started with Python.
Turtle is built-in.
50. Asciimatics
Asciimatics is a library that allows you to create full-screen text UIs.
Star ⭐ the Asciimatics repository
Final thoughts
And there you have it!
A sneak peek in the Python jungle! Knowing most of these libraries sets you up to tackle any project! So get at it, Pythonista!
Top comments (17)
Great List!
I would add Streamlit as well. Especially for Data Science teams playing with AGI and LLMs and need an easy web framework to test out chatbots, text/image generation.
github.com/streamlit/streamlit
I tried to put libraries adressing different functions, but yes, Streamlit is defintely a staple for easy frameworks!
I love Vizzu! I came for the list of great packages; I stayed for the little snake and Dune reference in the GIFs. Could you write an article on the new libraries to know?
Hahaha I saw Dune this weekend had to make a GIF about it!
Definitely, will do!
Nice one!
You miss FastAPI, without it async processes, especially microservices would be as tough as the old days.
I put FastAPI at place 46!
very good!, Thanks!
covered many packages 👏
Nice list!
A lot of these have been king for years!!
Love to see that!
That's very true, hard to dethrone!
Great list!
Also considering ruff.
@morgannadev dá uma olhada nesse artigo
@sucodelarangela adorei, muito obrigada!!!