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/
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 123

  • @themichaelw
    @themichaelw ปีที่แล้ว +11

    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

  • @PlexAlanche
    @PlexAlanche 3 ปีที่แล้ว +11

    you really do the hard work... Good Job man, and i hope u have a huge success ^^

  • @coderx8634
    @coderx8634 3 ปีที่แล้ว +20

    Cooles Video. Habe mich immer gefragt, wie so etwas geht. 👍👍👍

  • @kevon217
    @kevon217 ปีที่แล้ว

    Your vids are super helpful and to the point. Appreciate it!

  • @ananthakrishnanu9325
    @ananthakrishnanu9325 ปีที่แล้ว

    Quick and crisp explanation !

  • @hunarahmad
    @hunarahmad 3 ปีที่แล้ว +19

    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.

  • @jakegmnlo6411
    @jakegmnlo6411 2 ปีที่แล้ว +21

    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.

  • @sjoerdtilmans3583
    @sjoerdtilmans3583 2 ปีที่แล้ว

    This is really useful, thanks!

  • @betterbrained
    @betterbrained 2 ปีที่แล้ว +1

    Super. Ingenious man!

  • @Saboresdeli
    @Saboresdeli 2 ปีที่แล้ว

    thank you, your work is very much appreciated please do more vids about this same topic

  • @nazmul.cse48
    @nazmul.cse48 2 ปีที่แล้ว

    Great explanation. Thank you.

  • @angshumanbardhan3729
    @angshumanbardhan3729 3 ปีที่แล้ว

    Thank you for making this video.

  • @itec3247
    @itec3247 3 ปีที่แล้ว

    Very good man, thanks!

  • @antoine8125
    @antoine8125 3 ปีที่แล้ว +9

    adding a way to put the vidstream window in a Tkinter widget would be really cool

    • @NeuralNine
      @NeuralNine  3 ปีที่แล้ว +4

      sounds like a good idea. the package is still in the very very early alpha version ^^

    • @RajvirSingh1313
      @RajvirSingh1313 3 ปีที่แล้ว

      @@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

    • @RajvirSingh1313
      @RajvirSingh1313 3 ปีที่แล้ว

      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

  • @LukieHZX
    @LukieHZX 3 ปีที่แล้ว +5

    Darauf hab ich gewartet!

  • @betterbrained
    @betterbrained 2 ปีที่แล้ว +1

    Great job!!

  • @NarutoUzumaki-xn1pr
    @NarutoUzumaki-xn1pr 3 ปีที่แล้ว +1

    Epic video tutorial... Loved it... Awesome hard-work... Learning good stuff from your videos...

  • @ttkL0ngr4ng3
    @ttkL0ngr4ng3 3 ปีที่แล้ว +4

    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?

  • @comon928
    @comon928 ปีที่แล้ว

    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??

  • @trueindian03
    @trueindian03 3 ปีที่แล้ว

    yes a detailed video of how to create own library from scratch would be helpful.

  • @muhammadaqib5882
    @muhammadaqib5882 3 ปีที่แล้ว +1

    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

  • @jeremydeceuster6912
    @jeremydeceuster6912 3 ปีที่แล้ว +7

    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)?

    • @rudexred972
      @rudexred972 2 ปีที่แล้ว

      Same here

    • @dr.schlopp4089
      @dr.schlopp4089 2 ปีที่แล้ว

      YES exactly. Also relevant to things like a "log" directory/other directories relevant to the package at hand.

  • @minusharma1738
    @minusharma1738 3 ปีที่แล้ว

    needed this

  • @rithwikchhugani8117
    @rithwikchhugani8117 3 ปีที่แล้ว

    Good illustration

  • @ayaanp
    @ayaanp 3 ปีที่แล้ว +1

    I NEEDED THIS :)

    • @plusk343
      @plusk343 3 ปีที่แล้ว

      you here too???? Plusk here :)

    • @ayaanp
      @ayaanp 3 ปีที่แล้ว

      @@plusk343 ello

  • @harshdeepsingh9324
    @harshdeepsingh9324 3 ปีที่แล้ว +1

    Please make more videos on this topic

  • @FemiAdigun
    @FemiAdigun 3 หลายเดือนก่อน

    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

  • @nullcomputer114
    @nullcomputer114 3 ปีที่แล้ว

    best vid yes, keep going

  • @markchadwick77
    @markchadwick77 ปีที่แล้ว

    Thanks. How about another version of this tutuorial using the newer .toml file setup?

  • @bharathkoundinya3578
    @bharathkoundinya3578 3 ปีที่แล้ว

    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 ??

  • @alcar32sharif
    @alcar32sharif 3 ปีที่แล้ว

    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?

  • @berbatsuleiman
    @berbatsuleiman หลายเดือนก่อน

    is it possible to make a library without using any library? (for image and audio processing)

  • @neuron8186
    @neuron8186 3 ปีที่แล้ว

    your channel will gonna boom in few days mark my words

  • @thelearningstation88
    @thelearningstation88 ปีที่แล้ว

    Thank you very much!!

  • @malcox5218
    @malcox5218 3 ปีที่แล้ว +2

    Love the intro what is the song

  • @qwerty_qwerty
    @qwerty_qwerty ปีที่แล้ว +1

    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

    • @madi-s
      @madi-s 6 หลายเดือนก่อน

      python -m twine

  • @prod.ot5
    @prod.ot5 3 ปีที่แล้ว

    So helpful

  • @maks6998
    @maks6998 7 หลายเดือนก่อน

    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

  • @luciferchenmorningstar5399
    @luciferchenmorningstar5399 3 ปีที่แล้ว

    Can you please show how you've set up your Website?

  • @preetijain2396
    @preetijain2396 3 ปีที่แล้ว +1

    Hi! I love your videos!!
    Please tell which terminal do you use.... Thanks

    • @lookboy478
      @lookboy478 3 ปีที่แล้ว +1

      He uses WSL, to install it, you have to go to the Microsoft store and type Ubuntu and install the first.

  • @chieeyeoh6204
    @chieeyeoh6204 2 หลายเดือนก่อน

    Nice! At the final step, it ask for token instead of credential.

  • @ChengPhansivang
    @ChengPhansivang 2 ปีที่แล้ว

    Can't import modules in python after installing them with pip . please help me

  • @GustonExE
    @GustonExE 12 วันที่ผ่านมา

    can we create a library with C to have better speed ?

  • @erictovbin4200
    @erictovbin4200 3 ปีที่แล้ว

    Ich danke dir sehr!

  • @keisanng
    @keisanng ปีที่แล้ว

    Thanks man

  • @cmacompilation4649
    @cmacompilation4649 3 ปีที่แล้ว +2

    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

    • @temal32
      @temal32 2 ปีที่แล้ว +1

      same, did you fix it?

    • @KhalilYasser
      @KhalilYasser ปีที่แล้ว

      same problem. how can this be fixed?

    • @mayureshdharwadkar853
      @mayureshdharwadkar853 7 หลายเดือนก่อน

      Anyone fixed it?

  • @Heavy_Lvy
    @Heavy_Lvy หลายเดือนก่อน

    I had an issue were it said "error: invalid command 'bdist_wheel'" doing "pip install wheel" fixed it

  • @louisdesmet7972
    @louisdesmet7972 3 ปีที่แล้ว +1

    Could you make a video about the most usefull python packages? Your video's are so interesting, I learn from every single one!

  • @gauthierbassereau2936
    @gauthierbassereau2936 3 ปีที่แล้ว +2

    the part bdist_wheel is an invalid command for me... help !
    I am on macOS

  • @asphaltlegend9471
    @asphaltlegend9471 3 ปีที่แล้ว

    Cool!!! Love it Which browser do you use?

    • @TeaandTech.
      @TeaandTech. 3 ปีที่แล้ว

      I think thats Brave Browser

    • @GaithTalahmeh
      @GaithTalahmeh 3 ปีที่แล้ว

      Brave browser dark mode

  • @aprameyamandal4346
    @aprameyamandal4346 3 ปีที่แล้ว

    Can You Make A Video of Screen Recording with Audio?

  • @janubuilds
    @janubuilds 2 ปีที่แล้ว +1

    6:43 put long_description in capslock! :)

  • @cyretmobile8950
    @cyretmobile8950 ปีที่แล้ว

    Thankyou 😊

  • @asadullah-dal
    @asadullah-dal 3 ปีที่แล้ว

    Please! show us how to setup vim on windows machine

  • @LamsyTech
    @LamsyTech 3 ปีที่แล้ว

    I too like this guy

  • @AliErcanOzgokce
    @AliErcanOzgokce 3 ปีที่แล้ว

    Good Job

  • @usnaveen
    @usnaveen 7 หลายเดือนก่อน

    1:19 This that my teacher said about me to my parents

  • @semeremanchawi1228
    @semeremanchawi1228 3 ปีที่แล้ว

    Please can you make a video with how to create video player with python

  • @adriennekline5934
    @adriennekline5934 2 ปีที่แล้ว

    How do you import your package afterwards? I am struggling with the imports, pip list shows it as installed.

  • @James-fo3iy
    @James-fo3iy ปีที่แล้ว

    how to update to second version?

  • @pouriapmd6077
    @pouriapmd6077 2 ปีที่แล้ว

    error: invalid command 'bdist_wheel' I get this error

  • @addledanorak8297
    @addledanorak8297 3 ปีที่แล้ว +2

    Thx for the vid! Amazing content btw :)

  • @AtulKumarOfficial
    @AtulKumarOfficial 11 หลายเดือนก่อน

    How to set requirements.txt instead of specifying it again

  • @avanishcodes
    @avanishcodes 2 ปีที่แล้ว

    Thanks
    It was not detailed, but really helpful for the go-getters

  • @programmer1012
    @programmer1012 3 ปีที่แล้ว

    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

    • @programmer1012
      @programmer1012 3 ปีที่แล้ว

      I am on windows

    • @ms-vb9yf
      @ms-vb9yf 2 ปีที่แล้ว +2

      @@programmer1012 you should do python3 -m twine upload dist/*

    • @ThePilot4571
      @ThePilot4571 7 หลายเดือนก่อน

      @@ms-vb9yf thanks so much man

  • @ChingChingErm
    @ChingChingErm 5 หลายเดือนก่อน

    what terminal did you use?

    • @NeuralNine
      @NeuralNine  5 หลายเดือนก่อน

      WSL (Windows Subsystem For Linux). I also have videos about it.

  • @boom5935
    @boom5935 ปีที่แล้ว

    How would I update the package?

    • @antonygakuru4807
      @antonygakuru4807 ปีที่แล้ว

      By changing the version in the setup.py file

  • @aprameyamandal4346
    @aprameyamandal4346 3 ปีที่แล้ว +1

    Great

  • @Pwnedby
    @Pwnedby 2 ปีที่แล้ว

    cant import vidstream

  • @peschebichsu
    @peschebichsu 3 ปีที่แล้ว

    What's that terminal he is using?

  • @adarshraj9229
    @adarshraj9229 3 ปีที่แล้ว

    Can u please make a video on how to deploy python project which contains images and another files

    • @NeuralNine
      @NeuralNine  3 ปีที่แล้ว

      I don't understand the question

    • @adarshraj9229
      @adarshraj9229 3 ปีที่แล้ว

      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.

  • @matthijsdingemanse9632
    @matthijsdingemanse9632 3 ปีที่แล้ว +1

    love the vid

  • @noelgomariz3038
    @noelgomariz3038 ปีที่แล้ว

    great

  • @backevildoerxd5889
    @backevildoerxd5889 ปีที่แล้ว

    Hello Bro Can You Tell Me Your Name Terminal Your Pc And Links Send Me Thx.😊

  • @nullcomputer114
    @nullcomputer114 3 ปีที่แล้ว +1

    epic

  • @farrenzoroqueez
    @farrenzoroqueez 2 ปีที่แล้ว +2

    If you're going to make a tutorial, using literally the worst way to navigate is not the way to go.

  • @nullcomputer114
    @nullcomputer114 3 ปีที่แล้ว +1

    first like!!!

  • @frostiiify9505
    @frostiiify9505 3 ปีที่แล้ว

    Broke the 69 comments.

  • @ninosan6619
    @ninosan6619 10 หลายเดือนก่อน

    You are still a 5, I'll give you a 6 for effort

  • @nullcomputer114
    @nullcomputer114 3 ปีที่แล้ว +2

    pythonpackege for hello world (i am doing that).

  • @ninosan6619
    @ninosan6619 10 หลายเดือนก่อน

    You are still a 5, i'll give you a 6 for effort

  • @dxtrity
    @dxtrity 3 ปีที่แล้ว +1

    I'm early 😎

  • @rupsabasu4156
    @rupsabasu4156 ปีที่แล้ว

    Is this still relevant...?

  • @Jack-ht3fr
    @Jack-ht3fr 3 ปีที่แล้ว

    more c++ pls

  • @alanrichter8594
    @alanrichter8594 3 ปีที่แล้ว +1

    Could You repeat the tutorial without terminal?, I didnt understand a shit :(

  • @savithaiyer8017
    @savithaiyer8017 3 ปีที่แล้ว +1

    1st view!!!

  • @sumitkhattar9849
    @sumitkhattar9849 ปีที่แล้ว

    Great