Checklist to reduce unit test time in Python
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Compare Unittest and Pytest: Python Unit Test
Introduction of Unittest Unittest is a built-in unit testing framework for Python. It is a simple and straightforward framework that is easy to get started with. It…
Unit Test Faster & Times Fast: Which is Good? unittets vs pytest!
How to Improve Unit Tests Performance? in terms of tests faster, times faster? This depends on a number of factors, such as the size and complexity of…
Comprehensive Unit Test Framework for Python
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
List of Unit Test Framework for Python
There are several unit testing frameworks available for Python that allow you to write and execute unit tests for your code. Here is a list of some…
How to do unit testing in parallel in Python?
Unit testing in parallel using pytest Running unit tests in parallel using pytest is a straightforward process, thanks to the built-in parallel test execution capabilities of pytest….
Unit Testing in Python
Unit testing in Python is the process of testing individual units of code to ensure that they are working as expected. Unit tests are typically written by…
What is Python-3.x and use cases of Python-3.x?
Python 3.x is a major version of the Python programming language, succeeding Python 2.x. Python 3 introduced several significant changes and improvements over Python 2, with a…
Hashicorp Vault: Sample Python Code
Write a python function called “insert” which would use vault api to store password called “devopsschool” and Write a python function called “display” to read a password…
What is ipython?
IPython is a powerful interactive shell and programming environment for Python. It provides a rich set of features, including: IPython is a popular tool for data scientists,…
What is Spacy and use cases of Spacy?
What is Spacy? spaCy is an open-source natural language processing (NLP) library written in Python. It’s designed to be fast, efficient, and production-ready, making it a popular…
What is NLTK and use cases of NLTK?
What is NLTK? NLTK stands for Natural Language Toolkit. It’s a popular open-source Python library that provides tools and resources for working with human language data (text)…
Python Tutorials: Installing Python 3 on Linux, Centos, Ubuntu & Windows
Python 3 Installation in Ubuntu Default Versions of Python in CentOS Depending on when you’re reading this or what version you’re using, the version that you have…
What is Python and use cases of Python?
What is Python? Python is a popular high-level programming language that is widely used for general-purpose programming. It was created by Guido van Rossum and first released…
Python Example Code: Find all the pairs of numbers which sum upto `k`
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Python Example Code: Convert the string “123” into 123, without using the built-api int()
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Python Example Code: Find the pair of adjacent elements that has the largest product
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Python Example Code: Program to display the Fibonacci sequence up to n-th termPython Example Code:
What is the Fibonacci sequence? The Fibonacci sequence is a set of integers (the Fibonacci numbers) that starts with a zero, followed by a one, then by another…
Python Example Code: Program for printing k largest elements in an array
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Python Tutorials: List of functions of list Datatypes
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Python Tutorials: Modules with example
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Python Tutorials: Namesapce in Python with example
What is Namespace in Python? A namespace is a collection of currently defined symbolic names along with information about the object that each name references. You can…
Python Example Code: Find out string is palindrome or not
Find out string is palindrome or not Check Whether or Not the Number is a Palindrome in Python Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud,…
Python Tutorials: Difference between List & Array & Tuple & Set & Dict
List Array Tuple List is mutable Array is mutable Tuple is immutable A list is ordered collection of items An array is ordered collection of items A…
Python Tutorials: Files Operations using OS Module
File Operations using Python About Python OS Module The os module has many uses. We won’t be covering everything that it can do. Instead, we will get an overview…
Python Tutorials: virtualenv
Virtual environment manager Each integration has its own set of dependencies that must be added to Python in order to run the tests, or just to try…
Python Assignment & Project for DevOps Engineers
How to Submit Assingment – Please post the code into github or gist and share a links of the program in the chat windows. We would be…
Python Tutorials: Database operations using python – mysql
Step 1 – Install MYSQL Server https://www.devopsschool.com/blog/how-to-download-and-install-mysql-in-macos-10/ https://www.devopsschool.com/tutorial/mysql/how-to-install-mysql-on-centos-7.html Step 2 – Install python mysql connector using PIP3 $ sudo pip3 install mysql-connector-python Step 3 – Using Python…
Python Tutorials: Docstring in Python
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Python Tutorials: How to comments in Python?
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
