Yolk - a tool for querying python packages.

Yolk is an interesting little tool useful for listing packages on the pypi python package repository, and those 'eggs' installed with setup tools.

I've found it quite useful for seeing what stuff is installed on a machine, and to quickly look up packages from pypi.

Here's some of the things you can do with it:

yolk -H twisded
Launches your web browser at Twisted's home page

yolk -M Paste 1.0
Show all the metadata for Paste version 1.0

yolk -M Paste
Show all the metadata for each version of Paste listed on PyPi?

yolk -D cheesecake
Show all URL's for cheesecake packages you can download

yolk -T source -D cheesecake
Show only source code releases for cheesecake

Melbourne Web Developer Written by a Melbourne web developer. Available for your projects - php, mysql, e commerce, javascript, CMS, css, flash, actionscript, python, games, postgresql, xml.


kumar said…
Good find; thanks for posting. Although it should be part of setuptools, this is excellent!
Maris said…
I created some utilities based on debian's 'apt' command that can perform similar tasks. They are in a package called PythonEggTools.

The tools wrap easy_install and simplify some common tasks. Here are a few examples:

Install Paste 1.0
pet-get install Paste==1.0

Install an editable source version of Mako
pet-get source Mako

Show the metadata for Pylons
pet-cache showpkg Pylons

List all of the packages on the system that start with 'm' or 'M'
pet-cache pkgnames m

Have fun!

Popular posts from this blog

Is PostgreSQL good enough?

Experiments with new low latency PyPy garbage collector in a thread.

🐱‍🏍 — the first pygame 2 community game. Starting now! Are you in?