Preface
1. Python Essentials for DevOps
Installing and Running Python
The Python Shell
Jupyter Notebooks
Procedural Programming
Variables
Basic Math
Comments
Built-in Functions
Print
Range
Execution Control
if/elif/else
for Loops
while Loops
Handling Exceptions
Built-in Objects
What Is an Object?
Object Methods and Attributes
Sequences
Functions
Anatomy of a Function
Functions as Objects
Anonymous Functions
Using Regular Expressions
Searching
Character Sets
Character Classes
Groups
Named Groups
Find All
Find Iterator
Substitution
Compiling
Lazy Evaluation
Generators
Generator Comprehensions
More IPython Features
Using IPython to Run Unix Shell Commands
Exercises
2. Automating Files and the Filesystem
Reading and Writing Files
Using Regular Expressions to Search Text
Dealing with Large Files
Encrypting Text
Hashing with Hashlib
Encryption with Cryptography
The os Module
Managing Files and Directories Using os.path
Walking Directory Trees Using os.walk
Paths as Objects with Pathlib
3. Working with the Command Line
Working with the Shell
Talking to the Interpreter with the sys Module
Dealing with the Operating System Using the os Module
Spawn Processes with the subprocess Module
Creating Command-Line Tools
Using sys.argv
Using argparse
Using click
……
4. Useful Linux Utilities
5. Package Management
6. Continuous Integration and Continuous Deploymen
7. Monitoring and Logging
9. Cloud Computing
10. Infrastructure as Code
11. Container Technologies: Docker and Docker Compose
12. Container Orchestration: Kubernetes
13. Serverless Technoloaies
14. MLOps and Machine learning Engineering
15. Data Engineering
16. DevOps War Stories and Interviews
Index