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

Introducing API calls

To define API calls, let’s start with what an Application Programming Interface (API) is. An API is a software interface that offers your application access to functions and processes from other applications. Think of it like this: when a user tries to get information from an application, they do so through the user interface (UI). The API has a similar function for software, so you could call API the UI of software.

Now, API calls are made for a number of reasons:

  • You don’t want to write the underlying logic for a big feature yourself (trust me, a lot of the time, you don’t.
  • The API gives access to resources that you ordinarily would not have (i.e., creating a Virtual Machine using the API of a cloud provider)
  • You just want to get some information into your application (public APIs are very good for this)

Any coding library that you use for code is technically an API. You pull the library in and you call it to perform...

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