Core Python: Organizing Larger Programs

Core Python: Organizing Larger Programs

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 1h 05m | 103 MB

This course is an introduction to features of the Python language which will help you structure your code once your needs move beyond a few Python modules. You’ll learn where to start plus the patterns you should follow to grow your Python projects.

As your Python programs grow, or you contribute to existing, larger Python-based systems, you’ll need some techniques to help you manage the inevitable growth of complexity. In this course, Core Python: Organizing Larger Programs, you’ll learn foundational knowledge to structure your Python programs to facilitate their growth and maintenance. First, you’ll learn how to implement packages. Next, you’ll discover namespace and executable packages. Finally, you’ll explore a structure for your projects that support everything from code to tests to documentation. When you’re finished with this course, you’ll have the skills and knowledge of Python program organization needed to grow and nurture your Python projects.

Table of Contents

1 Course Overview
2 Prerequisites
3 Introduction to Packages
4 Locating Modules
5 Summary
6 Creating Packages
7 Creating a Subpackage
8 Relative Imports
9 Using all
10 Namespace Packages
11 Executable Directories
12 Executable Zip Files
13 Executable Packages
14 Python Project Structure
15 A Concrete Example – demo reader
16 Implementing Plugins with Namespace Packages
17 Implementing Plugins with setuptools
18 Source Distributions
19 Built Distributions
20 Uploading Packages to a Package Server
21 Summary