Description
In this course, you will learn :
- Python basics and real world coding framework - organizing code, logging, error handling, config file, unit testing
Syllabus :
1. Python getting started
- Python basics
- Python dictionary
- Python List and Tuple
2. Organizing code, logging and error handling
- Structuring code with classes and functions
- Initializing variables with a constructor
- Logging using basic config
- Logging using file config
- Having multiple loggers in an application
- Error handling with try and except blocks
3. Reading configuration and database interaction
- Reading properties from a configuration file
- Installing PostgreSQL
- Reading from and writing to Postgres
- Organizing code further
- Handling the unique key constraint error
4. Reading data from a JSON file and storing it in database
- Reading data from a JSON file
- Writing JSON file data to PostgreSQL
5. Creating REST APIs
- What is REST?
- Understanding how REST will be used in the application
- Creating a REST API to fetch course list
- Creating a REST API to store course information
6. Unit testing
- Python unittest package
- Data and error testing
- Unit testing with PyTest