entry_points={
'console_scripts':
['some=package.module']
}
entry_points={
'console_scripts':
['some=package.module:main']
}
with open('path') as f:
dct = dict(line.split(':') for line in f.readlines())
sorted(dct.items(), key=lambda d: d[1], reverse=True)[:10]