pip install pydownloads
- package_name (string) - python package name
from pydownloads import Stats
stats = Stats('pykeyboard')
from pydownloads import Stats
stats = Stats('pykeyboard')
print(stats.total)
1419
from pydownloads import Stats
stats = Stats('pykeyboard')
print(stats.week)
240
from pydownloads import Stats
stats = Stats('pykeyboard')
print(stats.month)
1068
- days (integer) - amount of days.
No more than 30 days
- version (string, default None) - package version
from pydownloads import Stats
stats = Stats('pykeyboard')
print(stats.custom_count(3, '0.1.0'))
127