Thank you James. Appreciate it. Created my first python package with your help. For people reading this, the install url has a space between simple/ and your package name. Good luck and have a great day/night everyone.
@bosra112 жыл бұрын
This is a brilliant tutorial. This is a must watch for anyone thinking about being a Python developer!
@uliuphoff1470 Жыл бұрын
Thanks for this great tutorial. After being a simple user of packages for a long time I now get the the pieces of the puzzle together how to create usable python packages. Everything is well explained and due to the step by step approach I can now try to program, setup, built and upload my own packages.
@frodethorsenbrseth50142 жыл бұрын
I've been trying to get my head around this stuff the past couple of days, and found this video very helpful, especially about which files are uploaded to pypi and how to. The only thing I would add here is that, I read about PEP-621, where it seems that the community now has chosen the pypackage.toml file to contain all metadata. I was surprised to see the setup.cfg file in this. Could the contents of setup.cfg be slightly reformatted and instead put inside pypackage.toml?
@aavvironalex Жыл бұрын
Awesome video, made one of my goals for the summer of 2023 true! Thanks a lot!
@alphonseinbaraj76023 жыл бұрын
I will do by following your procedure to create package soon. Thank you very much
@jamesbriggs3 жыл бұрын
that's awesome, feel free to share it here or on discord :) discord.gg/7t2CGNJdZm
@CrossK63 жыл бұрын
Thank you for this video ! I love you VS Code thème 😍 Which one are you using ? Thank you very much !
@jamesbriggs3 жыл бұрын
Synthwave 84 x Flouromachine - find it here marketplace.visualstudio.com/items?itemName=webrender.synthwave-x-fluoromachine :)
@JoshvsData3 жыл бұрын
This was a great tutorial! Hopefully I'll be able to share my first python package soon
@jamesbriggs3 жыл бұрын
hey John yes please do that'd be awesome to see, we have a discord chat too so if you like you can share it there :) discord.gg/c5QtDB9RAP
@Stopinvadingmyhardware Жыл бұрын
Josh? This isn’t Texas. I’m not that girls Uncle.
@Diffyemo2 жыл бұрын
Thank you. I really needed this video. I had been trying to figure out why my relative paths break on install. Instead of using resources and io I used import os. I made a simple function: def get_dir() -> str: return os.path.dirname(os.path.realpath(__file__)) Then used that to get the path needed to retrieve any files (in this case .sql files). Do you see any disadvantage to this approach compared to the approach you use?
@baldmancodes98242 жыл бұрын
Great job on this tutorial. I tried some other tuts on KZbin. This one was by far the most clear on the subject.
@titusfx2 жыл бұрын
Hi thanks for the video. What about the dependencies? How we specify that? Also what if we want to install it locally? Thanks
@foreach13 жыл бұрын
Thanks! I just post so that you can have more visibility ;-) #python #tutorial #Pip #Packages
@jamesbriggs3 жыл бұрын
Awesome thankyou!
@yawofori-addae38883 жыл бұрын
First off, super great tutorial. It’s made creating packages really easy for me. A question I had was, if I wanted to include a whole folder that had things I needed for my package, how would I do this? I tried using the approach you used for the images, but maybe I am doing it wrong because I keep getting errors when I do a ‘pip install .’ to test things before building the wheel. I have a folder with files needed for an ML package I am building, but I’m having problems including the folder as a whole in the wheel package, so I can easily point a function to the folder
@davidxcohen2 жыл бұрын
Thank you James, Super digest How to ... video. Appreciated ....
@fabianabarca2 жыл бұрын
Thanks! Very helpful and detailed
@platano58053 жыл бұрын
Great video! .....But I must know.... Where did you get those desktop wallpapers?!?
@jamesbriggs3 жыл бұрын
Haha, I don't remember these exact pictures but a google search for something like '4K landscapes', '4K desktop backgrounds', or '4K desktop backgrounds abstract' is probably the source :)
@andrewdavies57222 жыл бұрын
how do you add requirements.txt file for larger projects?
@lethong53482 жыл бұрын
Thank you very much!. I love you.
@snipzmattio58872 жыл бұрын
16:17 I cant do python -m build It says that /usr/bin/python: No module named build.__main__; 'build' is a package and cannot be directly executed
james! i have my import nltk in my main.py file ... when i try i to build my package i get the error saying that no module named nltk.. how to resolve this please help
@jamesbriggs3 жыл бұрын
Do you have NLTK installed on your machine? You will need to specify NLTK in the setup.cfg file under the 'install_requires' parameter - there's an example here: setuptools.readthedocs.io/en/latest/userguide/declarative_config.html Hope that helps!
@willborucki4530 Жыл бұрын
great video!
@mrj19973 жыл бұрын
Thanks, great content.
@jamesbriggs3 жыл бұрын
glad you enjoyed
@snipzmattio58872 жыл бұрын
Thank you
@kartikkumarsrivastava32883 жыл бұрын
Awesome thanks
@Meowmeowcat3122 жыл бұрын
HTTPError: 403 Forbidden from upload.pypi.org/legacy/ Invalid or non-existent authentication information. See pypi.org/help/#invalid-auth for more information. PyPI upload failed
@ianyourgod2 жыл бұрын
i got this too and nothing is helping.
@Meowmeowcat3122 жыл бұрын
@@ianyourgod its worked for me whenbi changed name
@ianyourgod2 жыл бұрын
@@Meowmeowcat312yeah i managed to fix it by using a script to write the token for me
@PrivateKero Жыл бұрын
@@Meowmeowcat312 What name did you change? From the repository or the username?