hands-on lab

Python: Packaging

Advanced
Up to 2h
31
5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Learn the current method for creating Python packages.

Packaging Python-based applications has evolved over time. Up until Python 3.12 the standard library included a packaging library called distutils. The distutils package is being deprecated in favor of third-party options such as build and setuptools. This lab explores Python packaging through hands-on learning.

Learning Objectives:

  • Creating source and distribution packages
  • The pyproject.toml file.
  • The third-party modules:
    • build
    • setuptools

Prerequisites:

  • Proficient with:
    • The Python runtime
    • The Python language syntax
    • The package installer for Python (pip)
About the author
Students
111,127
Labs
37
Courses
50
Learning paths
58

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered topics
Lab steps
Web IDE Review
Python Packaging