Python Packaging with pyproject.toml - Wheels, pip install, CLI Entry Points Tutorial #40
38views
1likes
012:05
T
Taught by Celeste AI - AI Coding Coach
View on YouTubeDescription
Learn Python packaging! In this tutorial, you will learn how to turn your Python code into a distributable package using modern tools and standards.
What you will learn:
- Creating a Python package with the src layout
- Writing __init__.py to define package exports
- Configuring pyproject.toml (build-system, project metadata, package discovery)
- Building wheel (.whl) and source distribution (.tar.gz) files
- Inspecting wheel contents with unzip
- Installing packages from local wheel files with pip
- Verifying installation with pip list and pip show
- Writing test scripts to validate installed packages
- Creating CLI entry points with [project.scripts]
- Using argparse to build command-line interfaces
- Rebuilding and reinstalling packages with --force-reinstall
Timestamps:
0:00 - Introduction
0:33 - Package Structure Explained
1:00 - Package Structure Demo
4:19 - Build & Install Explained
4:46 - Build & Install Demo
7:45 - CLI Entry Points Explained
8:12 - CLI Entry Points Demo
11:49 - Recap
12:29 - End
Source code: https://github.com/GoCelesteAI/python_packaging
Tags: Python, packaging, pyproject.toml, wheel, pip install, CLI, entry points, Python tutorial, setuptools, build, distribute, Python for beginners, learn Python,
coding tutorial, CelesteAI, argparse
Tags
Pythonpackagingpyproject.tomlwheelpip installCLIentry pointsPython tutorialsetuptoolsbuilddistributePython for beginnerslearn Pythoncoding tutorialCelesteAI
Back to tutorialsOpen in YouTube
Duration
12:05
Published
February 13, 2026
Added to Codegiz
March 15, 2026