pipi='pip install --upgrade pip && pip install -r requirements.txt && pip freeze — local | grep -v ^-e | cut -d = -f 1 | xargs -n1 pip install -U && pip freeze > requirements.txt && git add requirements.txt && git commit -m "Updates all packages" && git push'
(Fonte: Hackernoon.)