Skip to content

Instantly share code, notes, and snippets.

View davidtrem's full-sized avatar
🙂

David Trémouilles davidtrem

🙂
  • Toulouse France
View GitHub Profile
@dchaplinsky
dchaplinsky / pypistats.py
Created September 18, 2011 10:20
PyPI Download Stats (found here: http://www.codekoala.com/blog/2010/pypi-download-stats/, (c) by CodeKoala)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Calculates the total number of downloads that a particular PyPI package has
received across all versions tracked by PyPI
"""
from datetime import datetime
import locale