Here I am, 24 y/o engineer watching a packaging tutorial by a middle schooler :D Keep the good work up bro, you rock!
@mikloslorinczi2273 жыл бұрын
Welp I'm a 38 y/o DevOps engineer and I'm here to learn too :) We just need to admit that in the 21th century the know-how is not necessarily comes from the old folks.
@swiveiproduction91923 жыл бұрын
hah same 20 here
@kestonsmith13543 жыл бұрын
To be honest, the older folks tend to overcomplicate the process. I find my classmates explaining better than the professor.
@krisculin96793 жыл бұрын
@@mikloslorinczi227 I got both of you beat. I just turned 43 yo.
@bmuraaz60243 жыл бұрын
He's in sixth form, probably
@atrumluminarium3 жыл бұрын
This is genuinely one of the best videos about packaging python modules on KZbin
@varunnagrare49124 жыл бұрын
You sir are amazing! I've been searching about this for 4 months and here it is simple and easy
@mohajeramir4 жыл бұрын
I followed these steps, and I could pip install the package, but I could not import it in python. The solution I found was to put the __init__.py in a subfolder, and in your setup.py, put packages='name_of_this_folder'
@divyareddy76222 жыл бұрын
Hii I really need help :) the import tensorflow and pip install statements aren't working in VS code when I try to convert my ipynb file to .py file to create a Library for it. Can you please help 🥺🥺😭
@عالمالبرمجةالعربي2 жыл бұрын
Thank you a lot to support the community by an information All Regards
@mohajeramir4 жыл бұрын
It was excellent. Thank you so much, but I could not help noticing the low ceiling. I would not survive that.
@agoraphobi80043 жыл бұрын
It's his bed
@papiangelus4 жыл бұрын
Awesome video! Quick question tho. So I finished the entire process of uploading my package but my package has the version number at the end which is less than ideal if someone wanted to install it. Here is what I'm talking about: "pip3 install twist-web==0.0.1" How would I get rid of the "==0.0.1" at the end of my pkg name?
@agator26603 жыл бұрын
Thank you for going full depth into module creation. For some reason this level of explaining is hard to find vs more introductory and basic concepts.
@TonyVu20012 жыл бұрын
When I write the command at 13:13 it said 'Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.' Please help me
@raymundoescobar98723 жыл бұрын
all my respect and admiration man, from an older brother of a guy being bully for born different
@jamestang17374 жыл бұрын
great video Josh! getting a "modulenotfounderror" when I try to import my sample calculator package from vscode. Not looking to publish to pypi as my aim is for usability to share code within my team
@dentonhess58104 жыл бұрын
James did you get this figured out?
@kakeergodt46093 жыл бұрын
install it?
@Elian-to6qq3 жыл бұрын
yea I have this same problem, I pip installed it and I see the files in site-packages folder but it still says module not found
@xeoplay19554 жыл бұрын
if anyone has problems with using your library after "import modulename" try "from modulename import *" (modulename being the name of your module) that has helped me
@strike66214 жыл бұрын
Whenever I try to publish the library it gives me an error saying : InvalidDistribution: Cannot find file (or expand pattern): 'dist/*' how do i fix this?
@gilbertenevoldsen44693 жыл бұрын
you need to put a space before dist (/ dist/*)
@trerobinson59872 жыл бұрын
This was very helpful and informative. Thank you for creating the easy-to-follow content!
@-DR1FT.4 жыл бұрын
hi when i try doing the last step (publishing it with twine) powershell gives me this error: Invalid value for classifiers. Error: Classifier 'License :: OSI Approved :: MIT Licence' is not a valid classifier. Why in the video you had the same and you didnt get this error please help me
@iimb-inventorsinventingmac43384 жыл бұрын
Check your spelling for License :-) Its "MIT License" not "MIT Licence" TYPO:-)
@python_by_abhishek3 жыл бұрын
Subscribed instantly as the video ended.
@datasciencesagemode56914 жыл бұрын
Superb explanation !!! I would love to have more videos like this. Thanks a lot.
@alaahoussen29143 жыл бұрын
Thanks very much for your tutorial Please Keep it up
@jarvistestingtutorials97464 жыл бұрын
I am new to python, In java we export our project as jar and give it to anyone for reuse of classes, so any similar technique available for python? where we just bind our all classes in single file to share with friends?
@colleagueriley84514 жыл бұрын
java is compiled to jar before run time while python gets interpreted at run time. More on this at www.freecodecamp.org/news/compiled-versus-interpreted-languages/
@gilililili3 жыл бұрын
I mean yeah I guess you can send someone a py file with some modules and if he puts it in the same folder as his python script he can use those modules For example: Modules.py: def hello_world(): print("hello world") And their python script could be: from Modules.py import hello_world hello_world() Output: hello world That's the idea of how it works
@ihssancanmturk38424 жыл бұрын
Me think: wonderful this super wonderful that video tutorial, thanks for presenting and sharing! ;)
@shivan24184 жыл бұрын
Great video. I made my own package today!
@gunjanshah34674 жыл бұрын
Hey, thanks for this video! Now, if I want to make changes, like adding a function of squaring the value may b, so how can I add those additional functions and update my published library??
@coolperson2132 жыл бұрын
Thanks a bunch dude! I'm learning python right now and can't wait to show this to my friends :D
@__shadow__4 жыл бұрын
what about updating our library?
@joshualowe10024 жыл бұрын
Make your changes, add to changelog, change version in setup & run the upload command again :)
@xeoplay19554 жыл бұрын
@@joshualowe1002 so that didn't work for me. luckily i found a solution. i needed to delete the files in the dust folder and run the python setup.py bdist_wheel command and then upload
@WysockiD3 жыл бұрын
amazing video, how would i go about updating a library afterwards?
@arshadsameemdeen3913 жыл бұрын
im getting a error when uploading the package to pypi 'twine' is not recognized as an internal or external command, operable program or batch file. Even though i have installed twine and it says requirement already satisfied. I even drive to add the site-packages path to PATH is environment variables. Can anyone help me with this?
@akkaraponchaiyana65203 жыл бұрын
I cannot file a module after I imported the package. Can anyone help me?
@DevOpsJourney4 жыл бұрын
How are you getting the nice colorful font in VSCode? Thanks!
@debjyotibanerjee77502 жыл бұрын
Really interesting man. Thanks for the video...
@abhijeet.ai_4 жыл бұрын
Hey i published my package but accidently gave it another name how to create new release/update the package already published
@alwayscubing82003 жыл бұрын
Wow! it really helped me in many ways while making large programs...impressed my friends
@yashyadav79273 жыл бұрын
Great video for beginners ...but when I tried to upload my lib there was an error plz help me to solve this
@coolperson2132 жыл бұрын
Yo im ur 1 thousandth sub!! congrats
@santiagobmx10004 жыл бұрын
Mad chill video. Well done man. thank you!
@joshualowe10024 жыл бұрын
Appreciate it!
@servercraft172 жыл бұрын
what if you dont have a documents folder?
@aaroldaaroldson7083 жыл бұрын
After I type my username in the command prompt it is not asking for password and hangs
@sunandsujai3 жыл бұрын
why am i getting an error that twine is not defined
@divakarrex95464 жыл бұрын
I have created a package and even hosted it but when i try to install it to another PC i'm not able to import the packages, Kindly advice
@d3vboi2 жыл бұрын
btw if the twine part isnt working for you, do python3 -m twine instead of just twine
@athcubesprogrammer65094 жыл бұрын
Published the Module, but when installing in cmd and import in python script, I get ModuleNotFoundError
@yantogaming18483 жыл бұрын
Why are all the functions written in the __init__ file instead of their own files????
@codinglemon57683 жыл бұрын
when I tried to installed it it showed me a ton of errors. Is there a way to fix it?
@chetana98022 жыл бұрын
this is so cool now can you help package a PyQT5 application the same way and make it QT license ?
@NicolasMichel-be3 жыл бұрын
Very good tuto in all aspects. Thanks.
@gilililili3 жыл бұрын
What if I used the package for this package for example a module that would turn nouns into adjectives in a certain language but I want to know if it's the right language so I use langdetect. Would I make them require installing langdetect beforehand Oh wait nevermind I saw it again 😂 and saw what to do
@jerrylin03122 жыл бұрын
How do you import it? I can’t seem to find a way
@basasairam17842 жыл бұрын
im getting an http connection error while uploading the package
@afroyed32954 жыл бұрын
what VS Code theme are u using ???
@afroyed32954 жыл бұрын
love the colors under the tab
@joshualowe10024 жыл бұрын
Synth wave 84
@punyashlokpurohit97344 жыл бұрын
@@joshualowe1002 thnx
@bhoopendragupta47822 жыл бұрын
Simple and easy to understand, keep up the good work 👍.
@_vuk.4 жыл бұрын
I cant find the library in the import list. Can someone help me?
@mrfrozen97-despicable3 жыл бұрын
Plz also tell, how to update those libraries?
@PawanMishra-zt3vb3 жыл бұрын
Its showing, -) Invalid or non-existent authentication information, While uploading the dist*
@giorgikuchava56233 жыл бұрын
Thank you very much for good explanation!
@bigbrainer96914 жыл бұрын
How do u import the module
@bionicman2854 жыл бұрын
Thank you so much, you saved my live :)
@python_by_abhishek3 жыл бұрын
Please make few more videos. 1. How the created package can work on all platforms (linux, android, etc.) 2. How to manage packages if some changes are done? 3. If I want to make more than 1 function under common package- like from package import * Then how this can be done. Kindly acknowledge.
@Survivor-xs9gv3 жыл бұрын
Can you please send GitHub link
@gabrielegatti23223 жыл бұрын
Very useful!! Thank you for this great tutorial!!
@neildatt91283 жыл бұрын
You are making such cool vids, you deserve more subscribers! BTW, can you please tell the VS code theme you are using
@silkybrain3 жыл бұрын
The theme is called SynthWave '84
@siddhant_yadav4 жыл бұрын
dude your color theme is amazing for vscode can u share the name so that I can have it too
@eshaangupta41014 жыл бұрын
Great video, thanks a lot Josh!
@shanvantharunmozhi4 жыл бұрын
Thank you SO MUCH It was very useful
@shanvantharunmozhi4 жыл бұрын
AWESOME
@kkrolley3 жыл бұрын
COPY AND PASTE THE SETUP: from setuptools import setup, find_packages classifiers = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Education', 'Operating System :: Microsoft :: Windows :: Windows 10, Linux, Darwin :: MACOSX', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3' ] setup( name='', version='0.0.1', description='', Long_description=open('README.txt').read() + ' ' + open('CHANGELOG.txt').read(), url='', author='', author_email='', license='MIT', classifiers=classifiers, keywords='ASCII, terminal, output', packages=find_packages(), install_requires=[''] )
@marinaanand61143 жыл бұрын
Thanks
@darkjohny2322 жыл бұрын
Really useful video thanks! :))))
@Boxing07153 жыл бұрын
We Need More Content!!!
@raghucharan52134 жыл бұрын
can make a video how to develop api using django-python
@AmalMathewTech3 жыл бұрын
Helpful tutorial ,Thank you
@leniedor7333 жыл бұрын
good video man, keep goin' !
@EduardoGarcia-tv2fc4 жыл бұрын
great video man, keep up with the awesome content!
@joshualowe10024 жыл бұрын
Thanks, will do!
@databridgeconsultants91634 жыл бұрын
very good work mate.
@tempura_edward43303 жыл бұрын
great video! thank you so much!!
@tmb23133 жыл бұрын
Can u share ur color theme pls :) And nice video too
@MohAmuza2 жыл бұрын
thank you so much very useful.
@DefaultGamingChannel3 жыл бұрын
One word: AMAZING!!!!!
@Atomx1j3 жыл бұрын
acually its 3 words: One word: AMAZING!!!!! 1 2 3 but YEA IT IS AMAZING
@michelmerheb18823 жыл бұрын
I haven’t even started learning Python. Idk why i’m here.
@Elian-to6qq3 жыл бұрын
L E A R N I T N O W
@serkratos12164 жыл бұрын
I prefer the WTFPL license :)
@learncomputersciencewithfaisal4 жыл бұрын
good tutorial explanation
@radeshf3 жыл бұрын
that was very useful thank you
@keshavsingh45224 жыл бұрын
awesome video
@warrenstevens49963 жыл бұрын
this dont work on linux
@tomte22834 жыл бұрын
My powershell doesnt know twine
@abhishekm49964 жыл бұрын
Me too
@tracey79364 жыл бұрын
When's next upload?
@joshualowe10024 жыл бұрын
Few weeks, need to find time to get back into this.
@tracey79364 жыл бұрын
@@joshualowe1002 alright
@gabot19834 жыл бұрын
Like a boss, clean, easy
@jeffreycuadros16854 жыл бұрын
Thanks! Great video
@mattiarigiroli4 жыл бұрын
Thanks man, very usefull!
@dr.dundun4 жыл бұрын
good tutorial, thanks
@Thenonspecialist2 жыл бұрын
if you need to package and you did not install python from Microsoft then type in python setup.py sdist bdist_wheel