Skip to content

pystorage/pydownloads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyDownloads

PyPI Downloads GitHub

Installation

pip install pydownloads

Documentation

Download statistics

Parameters:

  • package_name (string) - python package name
Code
from pydownloads import Stats


stats = Stats('pykeyboard')

Total downloads

Code
from pydownloads import Stats


stats = Stats('pykeyboard')
print(stats.total)
Result

1419

Total 7 days

Code
from pydownloads import Stats


stats = Stats('pykeyboard')
print(stats.week)
Result

240

Total 30 days

Code
from pydownloads import Stats


stats = Stats('pykeyboard')
print(stats.month)
Result

1068

Custom count

Parameters:

  • days (integer) - amount of days. No more than 30 days
  • version (string, default None) - package version
Code
from pydownloads import Stats


stats = Stats('pykeyboard')
print(stats.custom_count(3, '0.1.0'))
Result

127

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages