Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Python for DevOps

You're reading from   Hands-On Python for DevOps Leverage Python's native libraries to streamline your workflow and save time with automation

Arrow left icon
Product type Paperback
Published in Mar 2024
Publisher Packt
ISBN-13 9781835081167
Length 220 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Ankur Roy Ankur Roy
Author Profile Icon Ankur Roy
Ankur Roy
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1: Introduction to DevOps and role of Python in DevOps
2. Chapter 1: Introducing DevOps Principles FREE CHAPTER 3. Chapter 2: Talking about Python 4. Chapter 3: The Simplest Ways to Start Using DevOps in Python Immediately 5. Chapter 4: Provisioning Resources 6. Part 2: Sample Implementations of Python in DevOps
7. Chapter 5: Manipulating Resources 8. Chapter 6: Security and DevSecOps with Python 9. Chapter 7: Automating Tasks 10. Chapter 8: Understanding Event-Driven Architecture 11. Chapter 9: Using Python for CI/CD Pipelines 12. Part 3: Let’s Go Further, Let’s Build Bigger
13. Chapter 10: Common DevOps Use Cases in Some of the Biggest Companies in the World 14. Chapter 11: MLOps and DataOps 15. Chapter 12: How Python Integrates with IaC Concepts 16. Chapter 13: The Tools to Take Your DevOps to the Next Level 17. Index 18. Other Books You May Enjoy

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime