Giter Site home page Giter Site logo

paiml / python_devops_book Goto Github PK

View Code? Open in Web Editor NEW
448.0 32.0 325.0 2.72 MB

[Book-2020] Python For DevOps: Learn Ruthlessly Effective Automation

Home Page: https://paiml.github.io/python_devops_book/

License: MIT License

Makefile 0.11% Jupyter Notebook 89.33% Dockerfile 0.16% Python 5.82% Shell 0.31% TypeScript 1.41% HTML 0.45% HCL 0.49% Mako 0.06% CSS 0.06% JavaScript 0.37% Mustache 1.43% Procfile 0.01%
python devops book ruthless automation oreilly

python_devops_book's Introduction

Python For DevOps: Learn Ruthlessly Effective Automation

Publisher: O'Reilly Media

Release Date: December 31st, 2019

Python for Unix and Linux System Administration

Build Status

CircleCI

Abstract

Much has changed in technology over the past decade. Data is hot, the cloud is ubiquitous, and many organizations need some form of automation. Throughout these transformations, Python has become one of the most popular languages in the world. This practical resource shows you how to use Python for everyday Linux systems administration tasks with today’s most useful DevOps tools, including Docker, Kubernetes, and Terraform.

Learning how to interact and automate with Linux is essential for millions of professionals. Python makes it much easier. With this book, you’ll learn how to develop software and solve problems using containers, as well as how to monitor, instrument, load-test, and operationalize your software. Looking for effective ways to "get stuff done" in Python? This is your guide.

Python foundations, including a brief introduction to the language How to automate text, write command-line tools, and automate the filesystem Linux utilities, package management, build systems, monitoring and instrumentation, and automated testing Cloud computing, infrastructure as code, Kubernetes, and serverless Machine learning operations and data engineering from a DevOps perspective Building, deploying, and operationalizing a machine learning project

Book Outline

Chapter 1: Python Essentials for DevOps

Chapter 2: Automating Files and the Filesystem

Chapter 3: Working with the Command Line

Chapter 4: Useful Linux Utilities

Chapter 5: Package Management

Chapter 6: Continuous Integration and Continuous Deployment

Chapter 7: Monitoring and Logging

Chapter 8: Pytest for DevOps

Chapter 9: Cloud Computing

Chapter 10: Infrastructure as Code

Chapter 11: Container Technologies: Docker and Docker Compose

Chapter 12: Container Orchestration: Kubernetes

Chapter 13: Serverless Technologies

Chapter 14: MLOps and Machine learning Engineering

Chapter 15: Data Engineering

Chapter 16: DevOps War Stories and Interviews

Got Feedback?

If you have any suggestions as the book is being developed please create a ticket and let us know! Thanks for helping make this an incredible book.

FAQ

A list of Frequently Asked Questions about the book:

Addendum

Updates on new material post book release.

Contact Authors

Noah Gift

📺 Latest YouTube Videos

YouTube Channel Subscribers

Kennedy Behrman

Alfredo Deza

Grig Gheorghiu

python_devops_book's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

python_devops_book's Issues

Supplemental files from /Users/kbehrman/Downloads

Greetings,
Is there a source or repo with the various files referenced from /Users/kbehrman/Downloads? For example, in Chapter 2 there are various xml, yaml, and csv files that are used but without the full version shown in the book.

Example 2-3. os_path_walk.py

Example 2-3. os_path_walk.py
It uses import fire and fire.Fire()
There is no mention or explanation about the fire module in Chapter 2
There should be a reference to explaining fire module in Chapter 3

Cython, SWIG

A second suggestion for 2nd edition -- include mention of exposing C/C++ libs in Python via wrapping tools like Cython, SWIG etc. Many times I've only got a Python project to the end by wrapping a C lib.

Chapter 1/2 examples

Like others, I've purchased the book and pulled the github repo, but can't find any of the CSV or code examples for chapters 1 + 2.
I see some closed issues regarding this but no answer to where these documents are.

MIA Supplemental Code Examples

I am unable to locate the supplemental code examples using the instructions and link to pythondevops.com that's mentioned in the book...

I go to the website and all I can do it register for the newsletter(Which I did.), go to the O'Reilly site, the book on Amazon, or right back here to the repo.

2020-04-08 23 45 30

Please advise.

Example 3-5. click_example.py

Example 3-5. click_example.py
Correction in the comment section.
Command-line tool using click (instead of argparse)

LXD/LXC

First bit of feedback -- it seems strange you haven't mentioned LXD/LXC containerisation as a Docker alternative. I looked at Docker, but went LXD/LXC for ease of setup, deployment, relocation. I know Docker suits many folks, but others will have their needs better met with LXD/LXC, so for your second edition, I could modestly recommend you give it a mention.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.