Software development

ClamAV Antivirus scanner for file uploads for Python applications

Introduction ClamAV is an open-source antivirus engine designed for detecting trojans, viruses, malware, and other malicious threats on Unix-based systems. Initially developed for email scanning on Unix-based systems like Linux, it has evolved into a comprehensive antivirus solution for a variety of platforms, including Windows and...

by giridhar.bhimalli
Tag: python
08-Mar-2024

Software development

Speed Boost: How Multi-Threading Makes Your Programs Faster

Imagine you’re at a grocery store, and you need to buy a bunch of items. Now, you have two options: Option 1: You’re the only person shopping, and you have to go through each aisle one by one, picking up items and waiting in line at the checkout each time. It’s like a slow-motion shopping marathon, and you end up spending a lot of...

by tushar.saxena1
Tag: python
06-Feb-2024

Software development

Mocking VS Monkey Patching in Python

What is Monkey Patching? Monkey patching is a concept python where in we can change the behavior or work of code, module, or class at run time without changing the whole code base. For example in big projects, we have some third-party modules which may or may not be working while you are developing. In order to test our piece of...

by gautam.rishi
Tag: python
17-Nov-2023

Big Data, Data & Analytics

Spark with Pytest : Shaping the Future of Data Testing

PySpark is an open-source, distributed computing framework that provides an interface for programming Apache Spark with the Python programming language, enabling the processing of large-scale data sets across clusters of computers. PySpark is often used to process and learn from voluminous event data. Apache Spark exposes DataFrames and...

by madhav.khanna1
Tag: python
29-Sep-2023

Data & Analytics, Software development

Text Extraction from pdf using OCR (Optical Character Recognition ) in Python

Reading text from pdf using OCR Technique (Python) Why OCR (Optical Character Recognition)? We can also use the PyPDF2 python library to get text from PDF. But there is a major problem with this library. - It will not give you a good result if the data in the pdf is not structured. - You can lose some data. To overcome this...

by prince.yadav
Tag: python
29-Aug-2023

AWS, Cloud

How to Use Dynamic Inventory for AWS with Ansible?

Do you know how Ansible works? Well, before we walk you through how to setup dynamic inventory, here's some food for thoughts on Ansible Configuration Management System A user using configuration management system will often want to save inventory in a different software system. As described in inventory, a basic text-based system is...

by Aakash Agarwal
Tag: python
30-Mar-2017

AWS, DevOps

How to run Fabric using AWS Lambda and Paramiko?

We usually come across few scenarios where we need something to run on the remote servers for the sake of automation. I came across such a use case in AWS where I need to run fabric on a server to be triggered from AWS Lambda. This fabric script further does few tasks on other servers. Background/Scenario: While working on a spot...

by Navjot Singh
Tag: python
24-Feb-2017

AWS, DevOps

Introduction to Python Language

Python is readable, dynamic, pleasant, fast, flexible and powerful language. It is a programming language which helps you work quickly and integrate systems more easily. LANGUAGE FEATURES Interpreted It executes instruction directly without any compilation like in C, C++, Java. Python converts the source code into bytecode...

by Mayur Rastogi
Tag: python
30-Nov-2016

AWS, DevOps

Django Application Deployment

Django is a high-level Python Web framework that can help you get your Python application or website off the ground. It includes simple development server for testing the code locally, but in the production environment, a more secure and powerful web server is required. uWSGI is an application server container that aims to provide...

by Parag Gupta
Tag: python
29-Sep-2016

AWS, DevOps

Integration of AWS CodeDeploy with Jenkins

We have been working on a scenario where we want to automate testing, build, deploy and revert in one Jenkins job. Currently, we are using separate Jenkins jobs for testing, deploying and reverting the code changes. We would be automating these tasks using AWS CodeDeploy with Jenkins. Jenkins can provide us the functionality to run...

by Parag Gupta
Tag: python
30-Aug-2016

DevOps, Technology

Master-Slave Load Testing using Locust

In the previous blog we have discussed what is locust , why we use locust for load testing and how to implement it. So if you are wondering what locust is and how it works or for a better understanding, see locust .Now in this blog we are here to discuss about running locust in distributive way. For a single machine it is not enough...

by Mayur Rastogi
Tag: python
27-Jul-2016

AWS, DevOps

Python Borrowing Resources using Fabric

In my previous blog post, I wrote about Cost Optimizations for the various AWS resources. The script consisted of six methods and the overall time required for the script to execute was roughly about 15-20 mins. While the script is running, it used to slow down my system. Also, there was a time consumption due to many reasons like...

by Aman Jain
Tag: python
18-Jul-2016