Skip to content

Instantly share code, notes, and snippets.

@Abdur-rahmaanJ
Created September 24, 2024 22:19
Show Gist options
  • Save Abdur-rahmaanJ/17a89802323e74cf3d29f30b6d0e2574 to your computer and use it in GitHub Desktop.
Save Abdur-rahmaanJ/17a89802323e74cf3d29f30b6d0e2574 to your computer and use it in GitHub Desktop.
'''
pip install download-stats
get your API key from https://pepy.tech
'''
import os
from download_stats import stats
os.environ['PEPY_API_KEY'] = 'yOuRkeYHeRE'
to_check = ['shopyo', 'download_stats', 'hooman', 'pythoncms', 'shopcube',
'jamstack', 'phoning-home', 'honeybot', 'newsmoris', 'termcharts',
'greenberry', 'meteomoris']
total = 0
for p in to_check:
total += int(stats(p)['total'])
print(total)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment