tl;dr Stop using peepin. Start using hashin
Today I proudly release hashin (on PyPI). It's a replacement of peepin (on PyPI
). Yes, I know that's confusing.
A couple of days ago my friend Erik Rose gloriously took his peep project and got it embedded in pip 8.0 proper so, as of that, the right thing to do is to upgrade to pip 8 and delete your peep.py.
With that change, it no longer makes sense to use
peepin. It had a good run. Bye bye.
But much of the code lives on in
hashin. It's basically a fork but with different logics on A) how it gets the hash and B) how it renders the automatic changes to your requirements file.
First, if you haven't already done so:
$ pip install -U peep pip
$ pip --version # version 8 right?
$ peep port requirements.txt
$ pip uninstall peep
$ pip install --require-hashes -r requirements.txt
Check out Erik's guide.
Now, you can deal with the companion.
$ pip uninstall peepin
$ pip install hashin
$ touch /tmp/test.txt
$ hashin --verbose html2text simplejson /tmp/test.txt
If Erik managed to get
pip, surely I can get
pip. Hoping for some encouragement from @dstufft and @jezdez :)
- How I installed letsencrypt for Nginx 26 January 2016
- A quicksearch for Bugzilla using Autocompeter 27 January 2016
- Related by Keyword:
- "ld: library not found for -lssl" trying to install mysqlclient in Python on macOS 05 February 2020
- hashin 0.14.5 and canonical pip hashes 31 January 2019
- Concurrent download with hashin without --update-all 18 December 2018
hashin 0.14.0 with --update-all and a bunch of other features 13 November 2018
- hashin 0.12.0 is much much faster 20 March 2018