Modern Python Solutions – Part 3

Modern Python Solutions – Part 3

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 3h 24m | 647 MB

The latest in modern Python recipes for the busy programmer

Python is the preferred choice of developers, engineers, data scientists, and hobbyists everywhere. It is a great scripting language that can power your applications and provide great speed, safety, and scalability. By exposing Python as a series of simple recipes, you can gain insight into specific language features in a particular context. This video will arm you with the knowledge of creating applications with flexible logging, powerful configuration, and command-line options, automated unit tests, and good documentation. You will learn to use the Flask framework for Restful APIs. You will end the course equipped with the knowledge of testing, web services, and configuration and application integration tips and tricks.

What You Will Learn

  • Get acquainted with advanced programming techniques in Python
  • Equip yourself to work with web services
  • Write proper tests to be sure a program works as advertised
  • Integrate application software using Python
Table of Contents

Testing
Combining the unittest and doctest Tests
Creating Separate Test Modules and Packages
Handling Common doctest Issues
Mocking External Resources
Testing Functions that Raise Exceptions
Testing Things that Involve Dates and Time
Testing Things That Involve Randomness
The Course Overview
Using docstring for Testing

Web Services
Implementing Authentications for Web Services
Implementing Web Services with WSGI
Making REST Requests Using urllib
Parsing a JSON Request
Parsing the Query String in a Request
Parsing the URL Path
Using the Flask Framework for RESTful APIs

Application Integration
Combining Many Applications Using the Command Design Pattern
Combining Two Applications into One
Controlling Complex Sequences of Steps
Finding Configuration Files
Using Logging for Control and Audit Output
Using Python for Configuration Files
Using YAML for Configuration Files