Last Updated: August 01, 2023
·
328
· redclov3r

Quickly setup a new python package

I was repeating this over and over, so I made a little zsh function that already proved itself super helpful

Put this in your .zshrc (should also work in bash)

pyp() {
    mkdir $1
    cd $1
    touch __init__.py
}

Usage:

$ pyp my_package