python libraries

Hi everyone! we at Bleedbytes recently decided to take a survey about python libraries that can change the market. So here they are:

Contents

1Request (Networking)

The Request(http) library written by Kenneth Reitz. It’s a must-have for every python developer. Requests is a python HTTP library, released under the Apache 2 Licence.

The goal of the project is to make HTTP requests simpler and more human-friendly. The current version is 2.21.0.

2Scrapy (web-crawling)

The Scrapy library written by Scrapy. Originally designed for web scraping, it can also be used to extract data using API’s or as a general-purpose web crawler.

It is currently maintained by Scrapinghub Ltd, a web-scraping development and services company.

3Wxpython (GUI API)

The Wxpython library written by Robin Dunn and Harri Pasanen. wxPython is a wrapper for the cross-platform GUI API(often referred to as a “toolkit”).

Ther popular alternatives are PyGTK its successor PyGobject, and PyQt. Like wxWidgets, wxPython is free software.

4Pillow (Python Imaging Library)

The Pillow library written by Secret Labs AB. Python Imaging Library (abbreviated as PIL) (in newer versions known as Pillow) is a free library for the python that adds support for opening, manipulating, and saving many different image file formats.

6Beautiful Soup (HTML parser)

Beautiful Soup is a python package for parsing HTML and XML documents (including having malformed markup, i.e. non-closed tags, so named after tag soup).

It creates a parse tree for parsed pages that can be used to extract data from HTML, which is useful for web scraping.

7Twisted (Networking)

Twisted projects variously support TCP, UDP, SSL/TLS, IP-multicast, Unix domain sockets, a large number of protocols (including HTTP, XMPP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more.

Twisted is based on the event-driven programming paradigm, which means that users of Twisted write short call back which are called by the framework.

8Numpy (scientific computing)

The Numpy library was created by Jim Hugunin. It is a library for the python, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.

9Scipy (scientific computing)

Scipy is a Community library project. The library used for Scientific-computing and technical computing.

SciPy contains modules for optimization, Linear algebra, Integral, Interpolation, and Special functions, FFT, image processing, ODE solvers and other tasks common in science and engineering.

10Bonus tip

Question : How do I download videos from any website using Python?

Answer : In python3 we can download

import urllib.request
urllib.request.urlretrieve(url_link, video_name.mp4)

Try this it will work

ALSO READ  Getting started with SASS 2019

Stay tuned with bleedbytes

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.