Most Commonly Used Python Libraries

Burak Vural
3 min readMar 5, 2023

--

The Python programming language, which has been in development since the 90s and can be used in many areas from artificial intelligence to game development, stands out with its many libraries.

If we need to rearrange the title of the article and provide more accurate information, Python is a programming language that can be completely shaped according to your area of use and your area of expertise. In fact, the libraries that we will refer to as the most common libraries will generally be the most well-known libraries that cover all fields of study.

In a different article, we will write about the libraries we have chosen for lesser known and more specific studies.

# Numpy

The Numpy library, which is generally used in the field of data science, is a well-known library. Many studies are also imported.

pip install numpy

You can simply install it and add it to your working file,

import numpy

Numpy library is included in many bot — script works.

# Pandas

It is a Python library that is widely used in data analysis and data analysis. It is generally used to process many excel type files. It is widely used in data analysis and is one of the most preferred libraries in data processing.

Installation and importing;

pip install pandas

import pandas

or

import pandas as pd

# Tensorflow

It is an open source library that is also used in artificial intelligence studies and intensive computational studies, often called machine learning. The tensorflow library, which has been in development since 2011, is known as deep machine learning.

Tensorflow installation;

# Requires the latest pip
pip install --upgrade pip

# Current stable release for CPU and GPU
pip install tensorflow

# Or try the preview build (unstable)
pip install tf-nightly

For detailed information;

# Scrapy

It is one of the most common python libraries used to do a lot of data work on the web. It works in harmony with HTML and XML structures and provides many analysis studies.

pip install scrapy

import scrapy

# Requests

It is a library that is widely used in studies on the web and is imported to manage HTTPS queries.

# PyQt — Tkinter

The PyQt library, known as the GUI set, is one of the most common libraries used to develop graphical interfaces.

Comparing it to the Tkinter library would be a false impression. The use of Tkinter or PyQt in the project varies according to the environment in which the work will serve. For example, PyQt XML facilitates network manipulation and communication, while Tkinter is often used to create GUIs. Many graphical user interfaces are created using Tkinter.

# Pygame

It is a practical python library that is generally used to create 2D games. It can take part in many multimedia projects. You can easily design many 2D games using Pygame. For detailed information about the games you will design using pygame, you can check the pygame website;

and it is necessary to mention many Python Frameworks as well as many libraries.

The libraries we mentioned in this article are generally prepared for people who have just started Python programming language and want to learn with platforms such as Udemy, who want to examine the most common libraries quickly and practically. Python has many uses and is known to have more than 30 common libraries.

--

--

Burak Vural
Burak Vural

Written by Burak Vural

Software | Cyber Security | FullStack | Dev.Note and some coffee! Ars magus de templum clavis

No responses yet