Modern Python Solutions - Part 3
0.0 (0 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
27 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Modern Python Solutions - Part 3 to your Wishlist.

Add to Wishlist

Modern Python Solutions - Part 3

The latest in modern Python recipes for the busy programmer
0.0 (0 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
27 students enrolled
Created by Packt Publishing
Last updated 5/2017
English
Curiosity Sale
Current price: $10 Original price: $125 Discount: 92% off
30-Day Money-Back Guarantee
Includes:
  • 3.5 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I 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
View Curriculum
Requirements
  • Basic knowledge of Python programming is assumed.
Description

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 Authors

Steven 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.

Who is the target audience?
  • The videos will benefit everyone ranging from beginner to an expert. The course is for web developers, programmers, enterprise programmers, engineers, big data scientist, and so on. If you are experienced, it will expand your knowledge base.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
23 Lectures
03:24:07
+
Testing
9 Lectures 59:16

This video provides an overview of the entire course.

Preview 03:25

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.

Using docstring for Testing
10:17

This video will show you how to turn exception processing and the resulting traceback messages into proper test cases.

Testing Functions that Raise Exceptions
04:09

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.

Handling Common doctest Issues
06:11

This video will show you how you could create more sophisticated tests.

Creating Separate Test Modules and Packages
04:34

This video shows how we can combine all of the various tests into one tidy package.

Combining the unittest and doctest Tests
04:39

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.

Testing Things that Involve Dates and Time
05:41

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.

Testing Things That Involve Randomness
06:07

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.

Mocking External Resources
14:13
+
Web Services
7 Lectures 01:26:33

Let's create applications that support layered composition following the WSGI standard.

Preview 18:35

How can we simplify all of the common web application programming and eliminate the boilerplate code? Let's explore these questions.

Using the Flask Framework for RESTful APIs
09:36

This video will show you a better way to handle a query string and have a more sophisticated structure that behaves like a dictionary with single values for the common case, and a more complex object for the rare cases where a field key is duplicated and has multiple values.

Parsing the Query String in a Request
04:59

There are several user stories that involve RESTful API clients written in Python. How can we create a Python program that is a client of RESTful web services? Let's see this.

Making REST Requests Using urllib
11:57

The path to a resource can be quite complex. It's common in RESTful web services to use the path information to identify groups of resources, individual resources, and even relationships among resources. How can we handle complex path parsing? Let's answer this question.

Parsing the URL Path
15:54

This video will teach you, how you can parse JSON inputs from web clients and what is an easy way to validate the input.

Parsing a JSON Request
10:47

This video will show a self-service application in which there is no defined set of users. This means that there must be a web service to create new users that doesn't require any authentication. All other services will require a properly authenticated user.

Implementing Authentications for Web Services
14:45
+
Application Integration
7 Lectures 58:18

Let's see how we can support a rich hierarchy of locations for configuration files.

Preview 10:37

Python offers a variety of ways to package application inputs and configuration files. Let's look at writing files in YAML notation because it's elegant and simple. This video will show you how you can represent configuration details in YAML notation.

Using YAML for Configuration Files
08:47

How can we represent configuration details in Python module notation? Let's find the solution to this problem.

Using Python for Configuration Files
07:16

Python offers the logging package, which can be used to direct the ancillary output to a separate file. It can also be used to format and filter that additional output. How can we use logging properly? Let's see this.

Using Logging for Control and Audit Output
07:10

This video will walk you through a design pattern that would allow several Python language components to be combined into a larger application. You will learn to combine applications to create a composite.

Combining Two Applications into One
08:07

This video will enable you to create families of closely related commands.

Combining Many Applications Using the Command Design Pattern
07:34

How can we combine these techniques effectively? Can we create longer, more complex sequences of operations using Python? This video will answer all these questions.

Controlling Complex Sequences of Steps
08:47
About the Instructor
Packt Publishing
3.9 Average rating
7,297 Reviews
52,252 Students
616 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.