Press ESC to close

Encrypted File Transfer via Sockets in Python

Transferring files securely is a much-needed feature in any development environment. End-to-end encryption ensures that not even the server can read the contents of the data. Sockets are commonly used for network communication but have much more use cases than just sending or receiving data. In this blog, we will see how to use TCP sockets for sending and receiving files in Python. Understanding Encrypted File Transfer via Sockets: Encrypted file transfer over sockets in Python is a method of securely sending files from one computer to another using the Python programming language. It involves creating a socket connection between…

Integrate Mako Templates with Django

The premise behind a template language is that the language is “embedded” within some other master document. It is a language that allows for the definition of placeholders that are going to be replaced later on in the design process. Templates allow for the definition of placeholders that will later be filled in and replaced with actual content. There is a wide range of capabilities that come packaged as a part of most modern, web-based templating languages. It’s possible, for instance, to loop through information and provide conditional logic within a template! Mako is one such templating language that is…

DABL – Data Analysis Baseline Library

In this blog post, we are going to see an auto-machine learning library in Python called dabl which stands for data analysis baseline library. It allows you to perform quick Exploratory data analysis and at the same time, it also allows you to build machine learning models very rapidly. So if you like pandas profiling you will like the dabl also because it works pretty much in a simple way where it requires you to minimal code to build a machine learning model along with data visualization. Prerequisites: DABL: DABL is an open-source software created by Andreas Mueller. dabl makes…

World Map in Python

If you want to create or develop any geological-based project/app or if you want to include data mapping capabilities in your project then one possible solution is to use Google Earth Engine, which is a powerful and flexible cloud-based API that lets you process massive amounts of satellite images from the comfort of the Google Cloud. And in this blog post, we will use “geemap” which is one of the best and newest libraries for Python to interact with the Google Earth Engine features in Python. What is geemap? geemap is a Python package that allows you to use Google…

System and Hardware Information in Python

Python is a general-purpose programming language that is relatively simple to learn. Python is often used for web development, data analysis, and more. For this reason, it’s important to be able to gather information about your computer and hardware. The following is a guide to system and hardware information in Python. Why do we need System and Hardware Information? There are many reasons why we might need system and hardware information in Python. For example, we might need to: This is just a small sampling of the possibilities – system and hardware information can be extremely useful in a wide…

Add Multiple Languages in Django

Internationalizing your website is a good idea but it can be a difficult process. Thankfully there are tools to help. This blog will look at how we can use gettext to add multiple languages in Django. We will cover topics such as: why you may want to internationalize and how you can use gettext to simplify the process. What is Internationalization & why you should use it? Internationalization is a mechanism of software development that enables an application to support other languages, character sets, or both. To accomplish this, an application must be able to contain locales that contain translations…

Extract EXIF Data from an Image using Python

A lot of web applications and web services these days use EXIF data in images to handle and process them accordingly. However, extracting the EXIF data from an image is not a simple task and there are a lot of formats and data sets that one needs to deal with. Here is a blog that looks at some of the widely used methods on how one can go about Extract EXIF Data from an Image using Python. What is EXIF data? EXIF data is a form of metadata that is embedded in many digital images. It contains a variety of…

Object Detection using Python

Object detection is a process by which the computer program can identify the location and the classification of the object. Object detection is very useful in robotics, especially autonomous vehicles. There are many libraries and frameworks for object detection in python. In this tutorial, we are going to use object detection on both photos and videos using the OpenCV library and perform object detection using Python. Prerequisites Anaconda: The Anaconda distribution is a collection of packages that consists of Python, R, and over 120 of the most popular open-source packages for science and data processing. This means that this distribution…

Convert Image to Text using Python

Data extraction from images is an exciting field that has a wide range of applications. From detecting landmarks and labeling images to creating search engines for finding similar images based on their content, there are a lot of possibilities for creating exciting services for our customers. This blog will discuss how to convert image to text using Python. What is OCR? Optical character recognition, or OCR for short, is the process of converting an image of text into machine-encoded text. It’s one of the most important areas of Machine Learning. And it’s not just for nerdy machine learning enthusiasts, it…

Django-allauth Tutorial

Allauth allows you to enhance the functionality of your Django project by allowing access control as well as authentication services. It’s a security framework that performs authentication using Django accounts and OAuth2 authorization. In this blog, we will go through how to begin the process of building a social login with Django and google which will allow users to sign up and log in to your site using their existing google email and password and complete the Django-allauth tutorial. Here are the steps we have to follow: 1. Create a new Django project for Django-allauth Tutorial. 2. Install and configure…