
Explore Python basics within main method, covering indentation, variables, data type inference, lists, loops, functions, string handling, and file writing with open, write mode, append mode, and overwrite.
Learn Python error handling by using a try block in the store data function, handling exceptions with an accept block and logger.error to log division by zero.
Build a rest web service with python and learn what a web service is, how rest enables data exchange via json or xml over http.
Expose read and write access to your database through restful endpoints over http without exposing credentials, and learn to use get and post methods for secure Python APIs.
Write unit tests for the read from pg function by importing persist, creating a purchase data object, and asserting the tuple length or undefined table errors.
Learn to unit test a Python application with pytest, including configuring PyCharm, writing simple pytest tests with assert, converting from unittest, and running all tests successfully.
Master data pipelines with Hadoop and Spark using Python and Scala in free cloud environments, and validate Spark apps with unit testing while preparing data from raw sources to HDFS.
Learn how to code and unit test Python applications in a real world project. Go beyond the basics by solving a practical use case step by step. This course is designed for Python beginners who want to transition for academic background to a real world developer role !
Course Project :
You will be building a Python application to read data from files and store the data into PostgreSQL database. You will be creating REST endpoints using which external users will interact with your application data. All the industry standard best practices in terms of logging, error handling, config file, code structuring will be used in the application.
Course structure :
Python (3.9) and PyCharm IDE installation
Python basics - Get started with basic Python data types including List, Tuple and Dictionary
Organizing code with Classes and Modules - Understand core concepts of classes and packages
Python logging - Implement logging using basic config and file config
Python error handling - Learn how to handle exceptions.
Python PostgreSQL database interaction - Understand how to read and write to PostgreSQL using psycopg2
Create REST API using Python - Learn to create APIs using Python Flask framework
Reading configuration from property file - Learn how to avoid hardcoding of configurable properties
Unit testing - Learn to test your application using unittest package
Unit testing - Learn to test your application using PyTest package
You will learn the above concepts by building a real world file processing application. No prior Python knowledge required.
Prerequisites :
Basic programming skills
Basic knowledge of SQL queries
This course uses high-quality AI-generated text-to-speech narration to complement the powerful visuals and enhance your learning experience.