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:
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
- hashin 0.7.0 and multiple packages 30 August 2016
- hashin 0.5.0 bug fix 17 May 2016
- Whatsdeployed on only one site 26 February 2016
- Related by Text:
- jQuery and Highslide JS 08 January 2008
- I'm back! Peterbe.com has been renewed 05 June 2005
- Anti-McCain propaganda videos 12 August 2008
- Ever wondered how much $87 Billion is? 04 November 2003
- Guake, not Yakuake or Yeahconsole 23 January 2010