Skip to main content

Statistics download python packages PiPy.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydownloads-0.1.2.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file pydownloads-0.1.2.tar.gz.

File metadata

  • Download URL: pydownloads-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for pydownloads-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8b6eaa96f7d5a0534d12fe9010f958763fd2ec0258fa5cb334d7774d57e2ab77
MD5 863ec6ee17f40f9e57ccf94536458b6d
BLAKE2b-256 9aa080da07b0014618df2dae07c0942ec1712a62485907f80124f42a2518425d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page