Skip to main content

Download stats for Python packages

Project description

download-stats

View your pypi download stats

Note: Please register for a pepy.tech api key. Add it to the environemnt variable PEPY_API_KEY.

cli

$ download-stats shopyo

$ download-stats --compare flask django fastapi

$ download-stats --self # same as `download-stats download-stats`

Total downloads

$ download-stats --total hooman shopyo download-stats meteomoris newsmoris shopcube honeybot jamstack

general

>>> from download_stats import stats 
>>> stats('shopyo')
{
    "total": "41327",
    "30_days": "1484",
    "7_days": "506",
    "by_version": [
        ["Date", "4.5.7", "4.5.8", "4.6.0", "Sum", "Total"],
        ["2022-09-01", "0", "1", "3", "4", "24"],
        ["2022-08-31", "2", "1", "17", "20", "126"],
        ...
        ["2022-06-04", "0", "0", "0", "0", "9"],
    ],
}

recent

>>> from download_stats import recent                                                                          
>>> recent('shopyo') 
{
    "data": {"last_day": 23, "last_month": 454, "last_week": 142},
    "package": "shopyo",
    "type": "recent_downloads",
}

version

>>> from download_stats import version
>>> version('shopyo')
{
    "data": [
        {"category": "3", "date": "2022-03-06", "downloads": 1},
        ...
        {"category": "null", "date": "2022-08-31", "downloads": 55},
    ],
    "package": "shopyo",
    "type": "python_major_downloads",
}
>>> version('shopyo', version=3.9)
{
    "data": [
        {"category": "3.9", "date": "2022-03-12", "downloads": 1},
        {"category": "3.9", "date": "2022-03-18", "downloads": 15},
        ...
        {"category": "3.9", "date": "2022-08-29", "downloads": 2},
    ],
    "package": "shopyo",
    "type": "python_minor_downloads",
}

system

>>> from download_stats import system
>>> system('shopyo')
{
    "data": [
        {"category": "Darwin", "date": "2022-03-21", "downloads": 1},
        ...
        {"category": "Windows", "date": "2022-08-22", "downloads": 2},
    ],
    "package": "shopyo",
    "type": "system_downloads",
}
>>> system('shopyo', name='linux')
{
    "data": [
        {"category": "Linux", "date": "2022-03-08", "downloads": 1},
        ...
        {"category": "Linux", "date": "2022-08-31", "downloads": 3},
    ],
    "package": "shopyo",
    "type": "system_downloads",
}

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

download_stats-2.0.1.tar.gz (87.1 kB view details)

Uploaded Source

Built Distribution

download_stats-2.0.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file download_stats-2.0.1.tar.gz.

File metadata

  • Download URL: download_stats-2.0.1.tar.gz
  • Upload date:
  • Size: 87.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for download_stats-2.0.1.tar.gz
Algorithm Hash digest
SHA256 319c502f8cfd504e0477e6a2eb9f291bdc9bd59105b8b5a44324d64fe226410f
MD5 8915f9d968dc86e7ffaa6b066a0e94f1
BLAKE2b-256 3e6525cf57cecab76293ebc71e4177ff04c521d32720c5afcc3137b558162889

See more details on using hashes here.

File details

Details for the file download_stats-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for download_stats-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7899dbbbc1e5aa6fd3b73c726f260c6aca4df62e6c6551ad00c49e72361b919b
MD5 fa810b0d4eda9b9323d2b04ff741ebc3
BLAKE2b-256 799d0c058a578306cf24225f636f8e4cd83953af3227ad848cefc8eb816b1e18

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