Make sure that the unofficial artist data is generated as detailed here.

Once you have the data ready for use, simply run the top-artists.py script from the Unofficial folder. It will print out a sorted list of artists and their monthly listeners sorted in descending order.