10 Million Photos Flickr group stats
This set of scripts scans the 10 Million Photos Flickr group and generates leaderboards showing the top posters within the last day, within the last week, and overall.
These scripts are written in Perl. The overall stats script keeps track of when it was last run and only needs to scan the Flickr group from that point onwards. User stats will be accurate even if the script misses any photo additions or deletions because it calls flickr.groups.pools.getPhotos to adjust photo counts for each user.
The trailing week stats script uses a binary search to find out where to start scanning the group photostream. The same script also generates trailing day stats.