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 CI/CD essentials – automating a basic task

A big yet understated part of DevOps is the thoroughness of the documentation that the process forces you to produce. The documentation does not have to be large; it does not have to be so comprehensive that it confuses people and makes them think twice about ever reading or writing documentation. It must be clear, concise, and to the point. And most of all, it must exist. Seriously, that last part is rarer than you think.

So, how do we use Python to facilitate the documentation process? Well, for this we can use a little library called Sphinx. Sphinx is a library written in Python that can be used to generate explicit documentation on a number of code bases, even those not written in Python. Sphinx is one of the most prominent tools for documentation. Most Python frameworks have their documentation written in it. You can install Sphinx through a lot of avenues in all available operating systems, but the one that we are going...

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