Publish Your Own Python Package
ฝัง
- เผยแพร่เมื่อ 27 ก.ค. 2024
- In this video you learn how to publish your own first Python package on PyPi, so that other people can install it using pip.
Vidstream Repo: github.com/NeuralNine/vidstream
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
💻 The Algorithm Bible Book: www.neuralnine.com/books/
🐍 The Python Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
💻 Exclusive Content 💻
👥 Patreon: / neuralnine
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎵 Outro Music From: www.bensound.com/ - วิทยาศาสตร์และเทคโนโลยี
Nice tutorial! Something that might be helpful for others is there is a test instance of Pypi on a separate domain useful for testing uploading packages. That way you can test uploading packages without polluting the actual pypi namespace. Hope this helps
you really do the hard work... Good Job man, and i hope u have a huge success ^^
Cooles Video. Habe mich immer gefragt, wie so etwas geht. 👍👍👍
Your vids are super helpful and to the point. Appreciate it!
Quick and crisp explanation !
Great video. What if there are cython and C++ binaries in my python project? How do I put all these into one pip package? Thanks.
It would be nice if you could explain how to register a project on PyPI instead of just mentioning it. This is supposed to be a tutorial after all.
This is really useful, thanks!
Super. Ingenious man!
thank you, your work is very much appreciated please do more vids about this same topic
Great explanation. Thank you.
Thank you for making this video.
Very good man, thanks!
adding a way to put the vidstream window in a Tkinter widget would be really cool
sounds like a good idea. the package is still in the very very early alpha version ^^
@@NeuralNine I have some functions which are super cool but i have made pr for python but i was nervous and my pr is between for to merge can you help me? this was the pr :- github.com/python/cpython/pull/23210
Can you help me too for making a pr on python i have made a super cool function can you help me how to merge the function into the python repo. this is the pr :- github.com/python/cpython/pull/23210
Darauf hab ich gewartet!
:)
Great job!!
Epic video tutorial... Loved it... Awesome hard-work... Learning good stuff from your videos...
Can you show us how you made a package. for example the vidstream package.
As in how do you get a new feature in to python.
The only info I found was to build it in C and wrap it Python
But is there a better way to access certain elements of hardward/software (the camera in this example) and create something that didn't exist in Python before?
Hi, following this tutorial, I published a python package ( textbin==0.0.1) based on your video "convert text to binary", but when I import it in a script, I get this error. (" AttributeError: module 'textbin' has no attribute 'to_binary'") .how can I solve this??
yes a detailed video of how to create own library from scratch would be helpful.
I created a package helloaqib, it was successfully installed on my windows machine with pip command. Now after
from helloaqib import sayhello
Import "helloaqib" could not be resolved.
please help
Great tutorial! I'm however struggling with imports when the libdir contains multiple files. How should imports look like in the __init__.py and the other .py files of the library (say you want to import a class/function from the other file)?
Same here
YES exactly. Also relevant to things like a "log" directory/other directories relevant to the package at hand.
needed this
Good illustration
I NEEDED THIS :)
you here too???? Plusk here :)
@@plusk343 ello
Please make more videos on this topic
Great video, thanks. Quick question: Is it the same process to update/modify/make changes to the package after it has been published to pypi? Thanks
best vid yes, keep going
Thanks. How about another version of this tutuorial using the newer .toml file setup?
Hey, is it possible for you to make some automation videos on the features of VMware OS (ESXi 6.x and later) using pyvmomi package ??
I am still in search for a *one command* solution. Why are all this steps necessary? Is there a build tool which do this stuff automatically?
is it possible to make a library without using any library? (for image and audio processing)
your channel will gonna boom in few days mark my words
Ofcourse!
Thank you very much!!
Love the intro what is the song
I'm getting:
twine : The term 'twine' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ twine upload dist/*
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (twine:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
python -m twine
So helpful
Hello, does the anyone know what should I do if I've published application as an open python package in PyPI and after pip install I want to put the command "xxx" what should run the app window? How to formule entry_points={
'console_scripts': []
xxx -> running main.py what runs app window
Can you please show how you've set up your Website?
Hi! I love your videos!!
Please tell which terminal do you use.... Thanks
He uses WSL, to install it, you have to go to the Microsoft store and type Ubuntu and install the first.
Nice! At the final step, it ask for token instead of credential.
Can't import modules in python after installing them with pip . please help me
can we create a library with C to have better speed ?
Ich danke dir sehr!
Thanks man
Hi sir, I followed the steps, everything was fine.
But when I import mylibrary (after pip install mylibrary)
it gives me that no module found :
Traceback (most recent call last):
File "", line 1, in
import testingpypi
ModuleNotFoundError: No module named 'testingpypi
help plz
same, did you fix it?
same problem. how can this be fixed?
Anyone fixed it?
I had an issue were it said "error: invalid command 'bdist_wheel'" doing "pip install wheel" fixed it
Could you make a video about the most usefull python packages? Your video's are so interesting, I learn from every single one!
the part bdist_wheel is an invalid command for me... help !
I am on macOS
I had to install wheel
Cool!!! Love it Which browser do you use?
I think thats Brave Browser
Brave browser dark mode
Can You Make A Video of Screen Recording with Audio?
6:43 put long_description in capslock! :)
Thankyou 😊
Please! show us how to setup vim on windows machine
I too like this guy
Good Job
1:19 This that my teacher said about me to my parents
Please can you make a video with how to create video player with python
How do you import your package afterwards? I am struggling with the imports, pip list shows it as installed.
u fixed it?
Same issue. Fixed it??
@@cookieskush
how to update to second version?
error: invalid command 'bdist_wheel' I get this error
Thx for the vid! Amazing content btw :)
thank you :)
How to set requirements.txt instead of specifying it again
Thanks
It was not detailed, but really helpful for the go-getters
Whenever I use 'twine upload dist/*' even when I have used pip/pip3 to install twin, this error comes:
twine : The term 'twine' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ twine upload dist/*
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (twine:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I am on windows
@@programmer1012 you should do python3 -m twine upload dist/*
@@ms-vb9yf thanks so much man
what terminal did you use?
WSL (Windows Subsystem For Linux). I also have videos about it.
How would I update the package?
By changing the version in the setup.py file
Great
👍🏻
cant import vidstream
What's that terminal he is using?
linux subsystem (ubuntu)
Can u please make a video on how to deploy python project which contains images and another files
I don't understand the question
I mean how to convert python gui project to exe.
I create a simple notepad and it's contain images & another python files but when I converted in exe then only one files are in exe. images and other files are not attached.
love the vid
thanks :)
great
Hello Bro Can You Tell Me Your Name Terminal Your Pc And Links Send Me Thx.😊
epic
If you're going to make a tutorial, using literally the worst way to navigate is not the way to go.
first like!!!
Broke the 69 comments.
You are still a 5, I'll give you a 6 for effort
pythonpackege for hello world (i am doing that).
You are still a 5, i'll give you a 6 for effort
I'm early 😎
awesome :)
Is this still relevant...?
yes
more c++ pls
Could You repeat the tutorial without terminal?, I didnt understand a shit :(
1st view!!!
Great