Putting PyPI Download Counts on Your Webpage

I just uploaded a jQuery widget to allow the download counts for a PyPI package to be displayed on a webpage.

PypiStats Example Image

Place a tag like the following:

<div id="pypi-display-pysecure" data-package="pysecure"></div>

Invoke the “pypi” plugin:

$("#pypi-display-pysecure").pypi()

That’s it.