Vorostat is a project mainly written in Python, it's free.
Advanced IRC statistics bot
Amazing Vorostat IRC stats bot and django setup By: King Voronoi I (c) 2011
YES - I know I am probably using github like an idiot, but shroud made me to. NO - I donut care. Maybe in the future.
Installation instructions: The files provided here are incomplete and do not work on their own. For now: contact me if you actually want to try and install anything.