From 82c0a71e25490b930c4ad0616d6ef79e9ef7def2 Mon Sep 17 00:00:00 2001 From: Sanchit Balchandani Date: Sat, 25 Jul 2020 13:20:59 +0530 Subject: [PATCH 1/3] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fb174a2..ffccd31 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,9 @@ -# Python Training for Cloud & DevOps +# 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 -### Format of the Training -Online training (Casual - no formal stuff) - ### What we'll cover in this training - Session 1 @@ -103,4 +100,5 @@ Online training (Casual - no formal stuff) #### Credits & Reference: - https://realpython.com/ - https://gist.github.com/kenjyco/69eeb503125035f21a9d -- https://github.com/jerry-git/learn-python3 \ No newline at end of file +- https://github.com/jerry-git/learn-python3 +- https://www.programiz.com/python-programming From 41b6a202f272249a9733bf39381a585342b0d368 Mon Sep 17 00:00:00 2001 From: Sanchit Balchandani Date: Wed, 14 Oct 2020 17:04:02 +0530 Subject: [PATCH 2/3] Update README.md --- README.md | 76 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 45 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index ffccd31..cc7f7bf 100644 --- a/README.md +++ b/README.md @@ -6,59 +6,73 @@ Basic understanding of any programming language ### What we'll cover in this training -- Session 1 - - Jupyter Notebook +- [Session 1](https://github.com/inovizz/python-for-devops/blob/master/notebooks/1_funamentals_of_python.ipynb) - Data types - Data Structures (Collection Objects) - Namespaces - Mutable and Immutable objects -- Session 2 +- [Session 2](https://github.com/inovizz/python-for-devops/blob/master/notebooks/2_controlflow_loops_functions.ipynb) - If/else (Control Flow) - Loops - Functions -- Session 3 +- [Session 3](https://github.com/inovizz/python-for-devops/blob/master/notebooks/3_exceptions_filehandling.ipynb) & [CLI App - Demo](https://github.com/inovizz/python-for-devops/tree/master/apps/todo-cli) - Input/Output + - File Handling - Developing a CLI App in Python -- Session 4 +- [Session 4](https://github.com/inovizz/python-for-devops/blob/master/notebooks/3_exceptions_filehandling.ipynb) - Import - Exception handling - File handling -- Session 5 - - Use of __main__ function - - Map reduce and filter functions - - Lambda functions - - Comprehensions (list, dictionary, set) - - Modules & Packages - -- Session 6 - - Creting a CLI app in Python continued - - Use of argparse library - - Use database instead of file operatoons - -- Session 7 +- [Session 5](https://github.com/inovizz/python-for-devops/blob/master/notebooks/4_more_on_functions.ipynb) + - More on functions + - Arbitrary Arguments + - Keyword Arguments + - Positional Arguments + +- [Session 6](https://github.com/inovizz/python-for-devops/blob/master/notebooks/5_map_reduce_filter_lambda_scoping.ipynb) + - Lambda Functions + - Map, Filter & Redume + - Comprehensions + - Scope - (Global, Local & Nonlocal) + +- [Session 7](https://github.com/inovizz/python-for-devops/blob/master/notebooks/6_imports_module_packages.ipynb) + - Understanding \_\_name_\_ builtin + - Use of \_\_name_\_ == "\_\_main_\_" + - Modules & Packages + - How import works + +- [Session 8](https://github.com/inovizz/python-for-devops/blob/master/notebooks/7_decorators_generators_iterators.ipynb) - Decorators - Iterators - Generators - - Debugging (pdb module) + - PDB module -- Session 8 - - Intro to PyPi and Pip - - Virtual Environments - - How to package your Python App +- [Session 9](https://github.com/inovizz/python-for-devops/blob/master/notebooks/8_packaging_vnenv.ipynb) + - PyPi & pip + - How pip install works? + - What is virtualenv + - Creating your own Package -- Session 9 - - Classes +- [Session 10](https://github.com/inovizz/python-for-devops/blob/master/notebooks/9_object_oriented_programming.ipynb) + - Class - Objects - - Instance variable & class variable - - Class method, static method and instance method - - Inheritance and multiple inheritance - - Setters and Getters - - Intro to Data Classes - + - 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 - Working with command line (sys module) - Working with os module From 526c87b5c457ee5c32cb5c6bd22e0e19940a9db1 Mon Sep 17 00:00:00 2001 From: Sanchit Balchandani Date: Wed, 14 Oct 2020 17:04:57 +0530 Subject: [PATCH 3/3] Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index cc7f7bf..d85a99f 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Basic understanding of any programming language - MRO - Polymorphism -- Session 10 +- Session 10 (TBA) - Working with command line (sys module) - Working with os module - Working with datetime and time module @@ -82,32 +82,32 @@ Basic understanding of any programming language - Urllib (small intro) - XML parser (small intro) -- Session 11 +- Session 11 (TBA) - REST API - Introduction to flask (APIs) - Introduction to Requests library - Intro to Authentication & Authorization - -- Sesseion 12 + +- Sesseion 12 (TBA) - Unit testing - Logging - Mocking - Fixtures -- Session 13 +- Session 13 (TBA) - Ftplib (for FTP) - Subprocess module - Paramiko -- Session 14 +- Session 14 (TBA) - Cron jobs using Python - Health check and alerts using Python - Intro to CLI frameworks (cement) -- Session 15 +- Session 15 (TBA) - Intro to multithreading -- Session 16 +- Session 16 (TBA) - Multiprocessing library ----------------------------------------------------