Nat TaylorBlog, Product Management & Tinkering

pip-chill for clean diffs of requirements.txt

Published on . Updated on

pip-chill (https://pypi.org/project/pip-chill/) makes requirements.txt just show the packages you explicitly import, which I prefer to the default behavior of pip freeze since it makes diffs cleaner.

Just run pip-chill --no-version --no-chill and you’ll get a minimal list like this, instead of like the long list below the first list. It might be a little risky to omit version numbers… so sue me.

pip-chill --no-version --no-chillgspread
multiprocess
requests-mock
snowflake-connector-python
tqdm
pip freeze
asn1crypto==1.5.1
cachetools==5.2.0
certifi==2022.9.24
cffi==1.15.1
charset-normalizer==2.1.1
cryptography==38.0.3
dill==0.3.6
filelock==3.8.0
google-auth==2.14.1
google-auth-oauthlib==0.7.1
gspread==5.6.2
idna==3.4
multiprocess==0.70.14
oauthlib==3.2.2
oscrypto==1.3.0
pip-chill==1.0.1
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.21
pycryptodomex==3.15.0
PyJWT==2.6.0
pyOpenSSL==22.1.0
pytz==2022.6
requests==2.28.1
requests-mock==1.10.0
requests-oauthlib==1.3.1
rsa==4.9
six==1.16.0
snowflake-connector-python==2.8.1
tqdm==4.64.1
typing_extensions==4.4.0
urllib3==1.26.12

Popular Posts

Post Navigation

«
»