Skip to content

Instantly share code, notes, and snippets.

@hpk42
Created June 4, 2013 21:56
Show Gist options
  • Save hpk42/5709973 to your computer and use it in GitHub Desktop.
Save hpk42/5709973 to your computer and use it in GitHub Desktop.
>>> ServerProxy("https://pypi.python.org/pypi/").list_packages_with_serial()["dddttt"]
751356
>>> requests.get("http://pypi.python.org/simple/dddttt").headers["x-pypi-last-serial"]
'717877'
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment