Skip to content

inovizz/python-for-devops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python for DevOps

This training content is primarily developed for engineers who are working in DevOps & Cloud domain and want to learn Python. That may help them to either automate lot of the stuff they work on in their respective domain or give them new opportunies in their career.

Pre-requisites

Basic understanding of any programming language

What we'll cover in this training

  • Session 1

    • Data types
    • Data Structures (Collection Objects)
    • Namespaces
    • Mutable and Immutable objects
  • Session 2

    • If/else (Control Flow)
    • Loops
    • Functions
  • Session 3 & CLI App - Demo

    • Input/Output
    • File Handling
    • Developing a CLI App in Python
  • Session 4

    • Import
    • Exception handling
    • File handling
  • Session 5

    • More on functions
    • Arbitrary Arguments
    • Keyword Arguments
    • Positional Arguments
  • Session 6

    • Lambda Functions
    • Map, Filter & Redume
    • Comprehensions
    • Scope - (Global, Local & Nonlocal)
  • Session 7

    • Understanding __name__ builtin
    • Use of __name__ == "__main__"
    • Modules & Packages
    • How import works
  • Session 8

    • Decorators
    • Iterators
    • Generators
    • PDB module
  • Session 9

    • PyPi & pip
    • How pip install works?
    • What is virtualenv
    • Creating your own Package
  • Session 10

    • Class
    • Objects
    • Instance & Class Attributes
    • Self keyword
    • __init__ & __new__ methods
    • classmethod, staticmethod & instance methods
    • Practical usage of @classmethod
    • Inheritance
    • Super Method
    • What super method can do for you?
    • Encapsulation
    • Multiple Inheritance
    • MRO
    • Polymorphism
  • Session 10 (TBA)

    • Working with command line (sys module)
    • Working with os module
    • Working with datetime and time module
    • Working with re module
    • Http.server (small intro)
    • Urllib (small intro)
    • XML parser (small intro)
  • Session 11 (TBA)

    • REST API
    • Introduction to flask (APIs)
    • Introduction to Requests library
    • Intro to Authentication & Authorization
  • Sesseion 12 (TBA)

    • Unit testing
    • Logging
    • Mocking
    • Fixtures
  • Session 13 (TBA)

    • Ftplib (for FTP)
    • Subprocess module
    • Paramiko
  • Session 14 (TBA)

    • Cron jobs using Python
    • Health check and alerts using Python
    • Intro to CLI frameworks (cement)
  • Session 15 (TBA)

    • Intro to multithreading
  • Session 16 (TBA)

    • Multiprocessing library

Credits & Reference:

About

"Python for DevOps" Workshop codebase and examples.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published