# NPS Automation

## 🐍 Use [pyenv](https://github.com/pyenv/pyenv) to manage your python versions/install python
```
brew update
brew install pyenv
alias brew='env PATH="${PATH//$(pyenv root)\/shims:/}" brew'
pyenv install 3.9.6
pyenv global 3.9.6
```

## 📦 Install and use [pipenv](https://pipenv.pypa.io/en/latest/basics/) to do convenient package management for your python projects. This step automatically creates a virtualenv behind the scenes so no more dependency hell
```
# (1) Get the latest version of pipenv

pip install pipenv --upgrade

# (2) Install the packages outlined in the Pipfile and Pipfile.lock

pipenv install --dev

# or if your python does not recognize the pipenv command yet
# restarting your terminal may fix this

python -m pipenv install --dev

# (3) Enter your configured python environment with all the needed packages installed
pipenv shell

# or if your python does not recognize the pipenv command yet
# restarting your terminal may fix this

python -m pipenv shell
```