Modern Python Solutions - Part 3

Course

Online

£ 150 + VAT

Description

  • Type

    Course

  • Methodology

    Online

  • Start date

    Different dates available

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.About The AuthorSteven F. Lott has been programming since the 70s, when computers were large, expensive, and rare. As a contract software developer and architect, he has worked on hundreds of projects, from very small to very large. He's been using Python to solve business problems for over 10 years. He’s currently leveraging Python to implement microservices and ETL pipelines. His other titles with Packt Publishing include Python Essentials, Mastering Object-Oriented Python, Functional Python Programming, and Python for Secret Agents. Steven is currently a technomad who lives in various places on the east coast of the U.S. His technology blog is and his LinkedIn address is

Facilities

Location

Start date

Online

Start date

Different dates availableEnrolment now open

About this course

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

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Emagister S.L. (data controller) will process your data to carry out promotional activities (via email and/or phone), publish reviews, or manage incidents. You can learn about your rights and manage your preferences in the privacy policy.

Reviews

This centre's achievements

2021

All courses are up to date

The average rating is higher than 3.7

More than 50 reviews in the last 12 months

This centre has featured on Emagister for 6 years

Subjects

  • Programming
  • Global
  • Testing
  • Programme Planning
  • Programming Application
  • Information Systems
  • Information Systems management
  • IT
  • IT Management
  • Management

Course programme

Testing 9 lectures 59:19 The Course Overview This video provides an overview of the entire course. Using docstring for Testing Good Python includes docstrings inside every module, class, function, and method. Many tools can create useful, informative documentation from the docstrings. How can we turn examples into proper test cases? Let's explore this question. • Put examples into docstrings and run the doctest module as a program • Write examples for the Stateless and stateful functions Testing Functions that Raise Exceptions This video will show you how to turn exception processing and the resulting traceback messages into proper test cases. • Create a global __test__ variable in the module • Include the invocation with a doctest directive comment, IGNORE_EXCEPTION_DETAIL • Include an actual traceback message and test the entire module's features Handling Common doctest Issues Doctest examples require an exact match with the text. How can we write doctest examples that handle hash randomization or floating-point implementation details appropriately? This video will enable you to answer this question. • Write Doctest examples to map or set values • Write Doctest examples for floating point values Creating Separate Test Modules and Packages This video will show you how you could create more sophisticated tests. • Define a setUp() method in this class to handle the Given aspect of the test • Define a runTest() method to handle the When aspect of the test • Add assertions to implement the Then aspect of the test Combining the unittest and doctest Tests This video shows how we can combine all of the various tests into one tidy package. • Import the module which is being tested • Implement the load_tests protocol • Use the doctest.DocTestSuite class to create a suite Testing Things that Involve Dates and Time Many applications rely on datetime.datetime.now() to create a timestamp. When we use this with a unit test, the results are essentially impossible to predict. How can we work with datetime stamps? Let's look into this. • Include the code to be tested and create the skeleton for testing • Use the setup() and runTest() methods Testing Things That Involve Randomness Many times we create random values or put values into random order. In many statistical tests, repeated random shuffling or random subset calculations are done. Let's see how we can unit test algorithms that involve randomness. • Define an outline of the overall test class and a mock version of the random.choice() function • Define the When and Then aspects of the test Mocking External Resources How can we create more sophisticated mock objects that have internal state and make their own internal state changes? Let's dive into these questions. • Use the create_response() helper method that builds response-like objects • Define a load_tests() function to combine the unittest suite with test examples found docstrings of sec11_v08_load • Provide the overall main program to run the complete suite Testing. 9 lectures 59:19 The Course Overview This video provides an overview of the entire course. Using docstring for Testing Good Python includes docstrings inside every module, class, function, and method. Many tools can create useful, informative documentation from the docstrings. How can we turn examples into proper test cases? Let's explore this question. • Put examples into docstrings and run the doctest module as a program • Write examples for the Stateless and stateful functions Testing Functions that Raise Exceptions This video will show you how to turn exception processing and the resulting traceback messages into proper test cases. • Create a global __test__ variable in the module • Include the invocation with a doctest directive comment, IGNORE_EXCEPTION_DETAIL • Include an actual traceback message and test the entire module's features Handling Common doctest Issues Doctest examples require an exact match with the text. How can we write doctest examples that handle hash randomization or floating-point implementation details appropriately? This video will enable you to answer this question. • Write Doctest examples to map or set values • Write Doctest examples for floating point values Creating Separate Test Modules and Packages This video will show you how you could create more sophisticated tests. • Define a setUp() method in this class to handle the Given aspect of the test • Define a runTest() method to handle the When aspect of the test • Add assertions to implement the Then aspect of the test Combining the unittest and doctest Tests This video shows how we can combine all of the various tests into one tidy package. • Import the module which is being tested • Implement the load_tests protocol • Use the doctest.DocTestSuite class to create a suite Testing Things that Involve Dates and Time Many applications rely on datetime.datetime.now() to create a timestamp. When we use this with a unit test, the results are essentially impossible to predict. How can we work with datetime stamps? Let's look into this. • Include the code to be tested and create the skeleton for testing • Use the setup() and runTest() methods Testing Things That Involve Randomness Many times we create random values or put values into random order. In many statistical tests, repeated random shuffling or random subset calculations are done. Let's see how we can unit test algorithms that involve randomness. • Define an outline of the overall test class and a mock version of the random.choice() function • Define the When and Then aspects of the test Mocking External Resources How can we create more sophisticated mock objects that have internal state and make their own internal state changes? Let's dive into these questions. • Use the create_response() helper method that builds response-like objects • Define a load_tests() function to combine the unittest suite with test examples found docstrings of sec11_v08_load • Provide the overall main program to run the complete suite The Course Overview This video provides an overview of the entire course. The Course Overview This video provides an overview of the entire course. The Course Overview This video provides an overview of the entire course. The Course Overview This video provides an overview of the entire course. This video provides an overview of the entire course. This video provides an overview of the entire course. Using docstring for Testing Good Python includes docstrings inside every module, class, function, and method. Many tools can create useful, informative documentation from the docstrings. How can we turn examples into proper test cases? Let's explore this question. • Put examples into docstrings and run the doctest module as a program • Write examples for the Stateless and stateful functions Using docstring for Testing Good Python includes docstrings inside every module, class, function, and method. Many tools can create useful, informative documentation from the docstrings. How can we turn examples into proper test cases? Let's explore this question. • Put examples into docstrings and run the doctest module as a program • Write examples for the Stateless and stateful functions Using docstring for Testing Good Python includes docstrings inside every module, class, function, and method. Many tools can create useful, informative documentation from the docstrings. How can we turn examples into proper test cases? Let's explore this question. • Put examples into docstrings and run the doctest module as a program • Write examples for the Stateless and stateful functions Using docstring for Testing Good Python includes docstrings inside every module, class, function, and method. Many tools can create useful, informative documentation from the docstrings. How can we turn examples into proper test cases? Let's explore this question. • Put examples into docstrings and run the doctest module as a program • Write examples for the Stateless and stateful functions Good Python includes docstrings inside every module, class, function, and method. Many tools can create useful, informative documentation from the docstrings. How can we turn examples into proper test cases? Let's explore this question. • Put examples into docstrings and run the doctest module as a program • Write examples for the Stateless and stateful functions Good Python includes docstrings inside every module, class, function, and method. Many tools can create useful, informative documentation from the docstrings. How can we turn examples into proper test cases? Let's explore this question. • Put examples into docstrings and run the doctest module as a program • Write examples for the Stateless and stateful functions Testing Functions that Raise Exceptions This video will show you how to turn exception processing and the resulting traceback messages into proper test cases. • Create a global __test__ variable in the module • Include the invocation with a doctest directive comment, IGNORE_EXCEPTION_DETAIL • Include an actual traceback message and test the entire module's features Testing Functions that Raise Exceptions This video will show you how to turn exception processing and the resulting traceback messages into proper test cases. • Create a global __test__ variable in the module • Include the invocation with a doctest directive comment, IGNORE_EXCEPTION_DETAIL • Include an actual traceback message and test the entire module's features Testing Functions that Raise Exceptions This video will show you how to turn exception processing and the resulting traceback messages into proper test cases. • Create a global __test__ variable in the module • Include the invocation with a doctest directive comment, IGNORE_EXCEPTION_DETAIL • Include an actual traceback message and test the entire module's features Testing Functions that Raise Exceptions This video will show you how to turn exception processing and the resulting traceback messages into proper test cases. • Create a global __test__ variable in the module • Include the invocation with a doctest directive comment, IGNORE_EXCEPTION_DETAIL • Include an actual traceback message and test the entire module's features This video will show you how to turn exception processing and the resulting traceback messages into proper test cases. • Create a global __test__ variable in the module • Include the invocation with a doctest directive comment, IGNORE_EXCEPTION_DETAIL • Include an actual traceback message and test the entire module's features This video will show you how to turn exception processing and the resulting traceback messages into proper test cases. • Create a global __test__ variable in the module • Include the invocation with a doctest directive comment, IGNORE_EXCEPTION_DETAIL • Include an actual traceback message and test the entire module's features Handling Common doctest Issues Doctest examples require an exact match with the text. How can we write doctest examples that handle hash randomization or floating-point implementation details appropriately? This video will enable you to answer this question. • Write Doctest examples to map or set values • Write Doctest examples for floating point values Handling Common doctest Issues Doctest examples require an exact match with the text. How can we write doctest examples that handle hash randomization or floating-point implementation details appropriately? This video will enable you to answer this question. • Write Doctest examples to map or set values • Write Doctest examples for floating point values Handling Common doctest Issues Doctest examples require an exact match with the text. How can we write doctest examples that handle hash randomization or floating-point implementation details appropriately? This video will enable you to answer this question. • Write Doctest examples to map or set values • Write Doctest examples for floating point values Handling Common doctest Issues Doctest examples require an exact match with the text. How can we write doctest examples that handle hash randomization or floating-point implementation details appropriately? This video will enable you to answer this question. • Write Doctest examples to map or set values • Write Doctest examples for floating point values Doctest examples require an exact match with the text. How can we write doctest examples that handle hash randomization or floating-point implementation details appropriately? This video will enable you to answer this question. • Write Doctest examples to map or set values • Write Doctest examples for floating point values Doctest examples require an exact match with the text. How can we write doctest examples that handle hash randomization or floating-point implementation details appropriately? This video will enable you to answer this question. • Write Doctest examples to map or set values • Write Doctest examples for floating point values Creating Separate Test Modules and Packages This video will show you how you could create more sophisticated tests. • Define a setUp() method in this class to handle the Given aspect of the test • Define a runTest() method to handle the When aspect of the test • Add assertions to implement the Then aspect of the test Creating Separate Test Modules and Packages This video will show you how you could create more sophisticated tests. • Define a setUp() method in this class to handle the Given aspect of the test • Define a runTest() method to handle the When aspect of the test • Add assertions to implement the Then aspect of the test Creating Separate Test Modules and Packages This video will show you how you could create more sophisticated tests. • Define a setUp() method in this class to handle the Given aspect of the test • Define a runTest() method to handle the When aspect of the test • Add assertions to implement the Then aspect of the test Creating Separate Test Modules and Packages This video will show you how you could create more sophisticated tests. • Define a setUp() method in this class to handle the Given aspect of the test • Define a runTest() method to handle the When aspect of the test • Add assertions to implement the Then aspect of the test This video will show you how you could create more sophisticated tests. • Define a setUp() method in this class to handle the Given aspect of the test • Define a runTest() method to handle the When aspect of the test • Add assertions to implement the Then aspect of the test This video will show you how you could create more sophisticated tests ) to create a timestamp. When we use this with a unit test, the...

Additional information

Basic Knowledge of Python programming

Modern Python Solutions - Part 3

£ 150 + VAT