integrate OAuth2 into Django

How to integrate OAuth2 into Django

While pip recognizes hundreds of OAuth 2 packages, only a few perform what they’re meant to do. So, after having user authentication in place. You now want your users to be able to log in using Twitter, Facebook, or Google. It’s no problem. You’re just a few lines of code away from accomplishing your goal. This tutorial will show you Python Social Auth to incorporate OAuth 2 into your Django or Django Rest Framework.

perform Google Search using Python

How to perform Google Search using Python

Google is the most popular search engine. It is widely used in almost every country for searching. To search for something in the Google Search engine, first, we need to open our favorite web browser. Then, we need to visit google.com and type the query we want to search. The result will appear in the browser after searching. But sometimes, we also have to access the Google search programmatically for automation or building an AI assistant.

Extracting date and time from a string

How to extract date and time from a string in Python

In this tutorial, we will learn how to extract dates and times from raw strings. Extracting helpful information like dates is very useful while parsing raw texts such as logs. You can also use an IDE for writing the code. Here, I am using the open-source VS Code IDE provided by Microsoft. VS Code is a cross-platform IDE. We can use it on any platform like Windows, Linux, or macOS.

Python substring

Python substring

The term “string” refers to a collection of Unicode characters. A string is a collection of characters that can include both alphanumeric and special characters. We will learn about substring in Python and how it works in this article:

Installing Python modules

How to install Python modules

One of the reasons that Python is so valuable is that there are several packages that we can install that extend the capabilities of Python. For example, if we want MATLAB-like functionality matrices numerical analysis, you can use numpy, optimizers, and differential equation solvers. Further, several other packages like matplotlib help us plotting, while Pygame helps develop a graphical user interface and build diverse games. xlwings, on the other hand, allows us to interface with excel. In addition, we have others like open CV, computer vision, etc.