Why Python Packages?


Figure 1

image Ref : https://xkcd.com/1987/


Figure 2

image

Figure 3

image

Why choose Pixi for Python Packaging ?


Set up a project directory


Figure 1

image

Figure 2

image

Figure 3

Please note, in VSCode inside GitHub codepsaces, you mabe be prompted for below, when creating a python file. So just Install it. image


Figure 4

image

Metadata for Python packging


How to publish your Python project


Figure 1

image

Figure 2

image

Figure 3

image

Extra


Figure 1

Click on the your Projects from the top right location under your user-name. image


Figure 2

Select the right project /package from the options shown and click on the Manage button. image


Figure 3

Select the version you wish to yank and choose that option by clicking on the Options button and select Yank. image


Figure 4

You will be shown a pop-up. Fill the version nos and your releace will not be yanked. image


Figure 5

Once your release is yanked, it be be shown like below. image


Figure 6

You can also un-yank it, by clicking on the Options and clicking on Un-yank. image


Figure 7

When you do a pip install without stating an explicit verion and no un-yanked versions are available. You may get an error as shown below : image