Skip to main content
Loading page…
Python Mastery
Chapter 57
Lesson 5 of 6
Project: Publish a Python Package
Contents
Notes
Tutor
Concept
What You Will Build — a Published Utility Library
Loading activity…
Previous
1 / 11
Continue
Contents
Notes
Discussion
Tutor
130 min
11 activities
0 of 11 done
In this lesson
1
What You Will Build — a Published Utility Library
2
Capstone Context: Building on the CLI Tools Module
3
Skills Exercised by This Project
4
Project Details
5
Build Milestones
6
Reference Implementation + Complete pyproject.toml
7
Stretch Goals
8
Evaluation Criteria
9
Packaging Design Reflection
10
Key Pitfall: Version Conflicts on TestPyPI
11
Senior Lab: Build, Run, and Review Evidence
Objectives
Learner can structure a Python library with the src layout and a valid pyproject.toml
Learner can build a wheel and install a package in editable mode
Learner can add type hints, a test suite, and publish to TestPyPI
Learner can read and write a package README that makes the library usable by strangers
Further reading
Python Packaging User Guide
FastAPI documentation
SQLAlchemy documentation
Chapter 57 · Projects II: Going Professional
Project: A REST API (FastAPI)
Project: Database-Backed App
Project: Automation Tool
Project: Data Processing Pipeline
Project: Publish a Python Package
Senior Review Gate: Advanced Project Evidence
Previous: Project: Data Processing Pipeline
Next: Senior Review Gate: Advanced Project Evidence