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 category:
- fastest way to turn HTML into text in Python
08 January 2021
- How much faster is Redis at storing a blob of JSON compared to PostgreSQL?
28 September 2019
- Best practice with retries with requests
19 April 2017
- Fastest way to find out if a file exists in S3 (with boto3)
16 June 2017
- Interesting float/int casting in Python
25 April 2006
- Related by keyword:
- "ld: library not found for -lssl" trying to install mysqlclient in Python on macOS
05 February 2020
- Bestest and securest way to handle Python dependencies
01 February 2016
- hashin 0.15.0 now copes nicely with under_scores
15 June 2020
- hashin 0.12.0 is much much faster
20 March 2018
11 November 2015