Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Create Your Own Python Library and Publish It on PyPI - Step by Step Tutorial

Python Simplified via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to develop and publish a custom Python library on the Python Package Index (PIP) in this 18-minute step-by-step tutorial. Master the complete process of creating necessary files, generating Python wheels, and deploying to the official Python module repository. Explore essential concepts including directory structure setup, license implementation, README creation, and pyproject.toml configuration. Follow along to understand PyPi classifiers, API key generation, package uploading procedures, and troubleshooting common errors like HTTP upload restrictions. Discover techniques for updating published packages and organizing code into multiple modules for improved accessibility. Gain practical experience with package naming conventions and learn how to make your code available globally through PIP installation.

Syllabus

⭐ - Humans library:
⭐ - General Public License Version 3:
⭐ - pyproject.toml:
⭐ - PyPi classifiers:
⭐ 09:24 - What is API explained at minute in the time stamps:
⭐ - Test PyPi Index and Instructions:
⭐ - Anaconda Tutorial:
- local Python file overview
- src directory and __init__
- LICENSE
- README
- pyproject.toml
- Build backend
- PyPi classifiers
- Create Python wheel
- Install Python wheel
- Generate a PyPI API key
- Upload Python wheel into PyPI
- HTTPError: The user isn't allowed to upload to project
- Behavior of packages with "_" within their name
- Update Public Package
- Split Package Into Modules
- Thanks for Watching!

Taught by

Python Simplified

Reviews

Start your review of Create Your Own Python Library and Publish It on PyPI - Step by Step Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.