Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Hands-On Python for DevOps
  • Table Of Contents Toc
Hands-On Python for DevOps

Hands-On Python for DevOps

By : Roy
4.3 (7)
close
close
Hands-On Python for DevOps

Hands-On Python for DevOps

4.3 (7)
By: Roy

Overview of this book

Python stands out as a powerhouse in DevOps, boasting unparalleled libraries and support, which makes it the preferred programming language for problem solvers worldwide. This book will help you understand the true flexibility of Python, demonstrating how it can be integrated into incredibly useful DevOps workflows and workloads, through practical examples. You'll start by understanding the symbiotic relation between Python and DevOps philosophies and then explore the applications of Python for provisioning and manipulating VMs and other cloud resources to facilitate DevOps activities. With illustrated examples, you’ll become familiar with automating DevOps tasks and learn where and how Python can be used to enhance CI/CD pipelines. Further, the book highlights Python’s role in the Infrastructure as Code (IaC) process development, including its connections with tools like Ansible, SaltStack, and Terraform. The concluding chapters cover advanced concepts such as MLOps, DataOps, and Python’s integration with generative AI, offering a glimpse into the areas of monitoring, logging, Kubernetes, and more. By the end of this book, you’ll know how to leverage Python in your DevOps-based workloads to make your life easier and save time.
Table of Contents (19 chapters)
close
close
Lock Free Chapter
1
Part 1: Introduction to DevOps and role of Python in DevOps
6
Part 2: Sample Implementations of Python in DevOps
12
Part 3: Let’s Go Further, Let’s Build Bigger

Python 101

Python is – as I have said before – a simple language to pick up. It is meant to be readable by the layperson and the logic of its code is meant to be easily understandable. It is because of this fact that everything from installing Python to configuring it in your OS is probably the smoothest installation process out of any of the major programming languages. The barrier of entry is next to zero.

So, if you want to declare a variable and other basic stuff, start from the following figure and figure it out:

Figure 2.1 – Declaring and manipulating variables

Figure 2.1 – Declaring and manipulating variables

This section will be focused on the philosophy of Python because that is what will be important in your journey toward using Python in DevOps. Once you understand the underlying philosophies, you will understand why Python and DevOps are such a perfect match.

In fact, we can find that similarity in the Zen of Python. The Zen is a series of principles that have come...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Hands-On Python for DevOps
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon