How To Create Your First PyPI Package
summary
Walks through creating and publishing a real PyPI package called a simple CLI that prints a Taylor Swift lyric, using virtualenv, pip install, a top-level package with tests, setup.py and a .pypirc file, then registering and running the two-line upload (register + upload) to push version 0.3 → 0.4 and get HTTP 200. Demonstrates pip installing the package from PyPI, shows the console entry point working, and notes having two packages live.
AI-written summary · about
chapters (13)
- 0:00Intro
- 0:40Why does it matter
- 1:25Prerequisites
- 1:52Steps
- 2:33Registration
- 2:51Project Layout
- 3:44Upload
- 4:09Example
- 4:36Demo
- 5:17Updates
- 6:23Testing
- 7:47Updating
- 7:58Questions
related talks
24mShipping your first Python package and automating future publishing
28mModern Python packaging without pain
01h 51mWrite your first package using literate programming
47mPublishing & Maintaining Opensource Python Packages in PyPI
22mPublishing well formed Python packages
36mPython Packaging from Init to Deploy
25mPublishing well-formed Python packages
02h 36mPython Packaging Demystified
