Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am skettler on github.
  • I am skettler (https://keybase.io/skettler) on keybase.
  • I have a public key ASD5u29HBGfM_d4a-Y8VogwqbDU59n1lX0aN4Pkx_-6CDwo

To claim this, I am signing this object:

@skettler
skettler / ppa_stats.py
Created October 2, 2011 20:32 — forked from rgl/ppa_stats.py
outputs the download count of a PPA
# this outputs the download count of a PPA
#
# See https://api.launchpad.net/+apidoc/devel.html#binary_package_publishing_history
# See https://help.launchpad.net/API/launchpadlib
from launchpadlib.launchpad import Launchpad
cachedir = '/home/rgl/.launchpadlib/cache/'
launchpad = Launchpad.login_anonymously('just testing', 'production', cachedir)