Create Your Own Python Library and Publish it on PIP - Step by Step Tutorial

preview_player
Показать описание
Hi Everyone! Today we will create our very own Python library, and we will deploy it to the Python Package Index, also known as PIP. We will learn how to generate the required files, how to turn them into a Python wheel, and how to publish your wheel on the official Python module repository.
Additionally, once the package is public, we will update it to a new version and we will learn how to split it into different modules such that:
from my_package import module1
from my_package import module2

The best part is, by the end of this video, everyone on Earth will be able to pip install your beautiful, organized and super useful code!! 🤩🤩🤩

🐍 TUTORIAL LINKS 🐍

⭐ 01:13 - Humans library:
⭐ 03:45 - General Public License Version 3:
⭐ 05:44 - PyPi classifiers:
⭐ 09:24 - What is API (explained at minute 03:11 in the time stamps):
⭐ 11:42 - Test PyPi Index and Instructions:
⭐ 13:23 - Anaconda Tutorial:

⏰ TIME STAMPS ⏰

00:48 - local Python file overview
02:37 - src directory and __init__
03:22 - LICENSE
04:02 - README
04:46 - Build backend
05:35 - PyPi classifiers
06:24 - Create Python wheel
08:04 - Install Python wheel
08:53 - Generate a PyPI API key
09:54 - Upload Python wheel into PyPI
10:39 - HTTPError: The user isn't allowed to upload to project
13:10 - Behavior of packages with "_" within their name
14:41 - Update Public Package
15:47 - Split Package Into Modules
17:54 - Thanks for Watching!

🤝 LET'S CONNECT 🤝

🔗 Github:
🔗 X:
🔗 LinkedIn:
🔗 Blog:
🔗 Discord:

💳 Credits 💳

⭐ Beautiful titles, transitions, sound FX:
⭐ Icons and Graphics:

#python #pythonprogramming #pip #python3 #pythonforbeginners #pythontutorial #pypi #programming #programmingtutorial #tutorial #module #package #coding #github #learning #learnpython #beginner #beginners #twine
Рекомендации по теме
Комментарии
Автор

Finally a user-friendly how-to, thank you so much 🤗
Happy New Year Mariya🎆

ATAG-ynpd
Автор

Great knowledge and good presentation !

chhutur
Автор

This was much needed Mariya! It's going to help me implement some ideas and practice oop as well. ❤

smalirizvi
Автор

She is back, as always during my exam 🤧

diwakar_tsn
Автор

Hello, I'm from VN - nice to meet u 😊

khoang
Автор

Happy New Year Mariya and happy... "piping"? 🎉

paulocoelho
Автор

Well Shazow should watch this video.😄😃😀
Isn't there a way the useless libraries can be deleted if not in use especially by the engineers who manage the program

okotpascal
Автор

what about the funding thing i seen funding messages how do we add that so we get paid?

JNET_Reloaded
Автор

Nice video. But I think it is easier to use poetry. It can build and upload wheels. Could you maybe show how to make an organisation in pypi?

tct-private
Автор

Hi Maria. Do you know about the new package manager named "UV"?

vasylpavuk
Автор

Hi There 👋
I have just found Your Channel & Subscribe 🔔

Can you please entertain my Request 🙏

How I can integrate all the popular Search 🔍 Engine on My Website with Only a Search Bar and right drop down option to select the desired search engine and Search 🔎 like it used to be 😊

God Bless You 🙏

iYTSocial
Автор

Fun fact in new testament when it says david begot isaac who begot the way to Jesus its a prophecy being fulfilled because in old testament it says the messiah will be a descendant of king david and that links Jesus to king David proving Jesus is really the Christ

MowiWowi
Автор

What about the other son, Brian. 🤣🤣🦘🦘

alexandermuir