from logs import USAGE_LOGS def top_users(): return sorted( USAGE_LOGS.items(), key=lambda x: len(x[1]), reverse=True )