Monday, March 25, 2013

More HS experiments

Continued last weekends experiment.

I found a simple utility called pipdiff that is checking for all your installed python packages and displays whether they are available with pip and if they are wether they are at a diff version from the archive. I wanted to run it once against my system... but unfortunately the author had just posted it as a gist ... the util that test your pip installs is not itself pip installable.,
At that point I thought, "if HS were to exist" I would say, "I wish that this utility (url) to be installable with pip",


hit my magic wand and I guess within 24 hours I would get a notification "Your wish was granted", I would run

> pip install pipdiff
> pipdiff ....
...
and everything would work as I would expect home.
So , I promise I did yesterday morning something along the lines of that wish (~30-60 mins), and today (no other communication), started writing this blog, stopped went back to shell and did (I was that confident!!)


ithaca:pipdiff odysseas$ pip install pipdiff
Downloading/unpacking pipdiff
  Downloading pipdiff-0.1.tar.gz
  Running setup.py egg_info for package pipdiff
    
Installing collected packages: pipdiff
  Running setup.py install for pipdiff
    
    Installing pipdiff script to /usr/local/share/python
Successfully installed pipdiff
Cleaning up...
ithaca:pipdiff odysseas$ pipdiff
Django==1.4.3                            PyPI:Django==1.5
Fabric==1.5.1                            PyPI:Fabric==1.6.0
Jinja2==2.6                              
....

I was that confident!!
I then went and searched google (24 hrs after I made my wish)


and there I can find already indexed the PyPI utility as the 2nd result that google serves for the pipdiff keyword. (I actually find the corresponding github repo of mine that was used for the job as the 3rd result)

Here are the relevant links:

- Original repository issue - https://github.com/ogt/pipdiff/issues/1
  +  cloned issue above as oDesk job post : https://www.odesk.com/jobs/Register-python-utility-PyPI_~~35eac626ce139e45
- Python module : https://pypi.python.org/pypi/pipdiff/

- Pull request : https://github.com/ogt/pipdiff/pull/2


No comments:

Post a Comment