Skip to main content

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",
}

Metadata

Release files for download-stats 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for download-stats 2.0.1
File Size Uploaded Provenance
download_stats-2.0.1.tar.gz 87.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for download-stats 2.0.1
File Interpreter ABI Platform
download_stats-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 96.8 kB

Release files / download_stats-2.0.1.tar.gz

Download URL download_stats-2.0.1.tar.gz
Size 87.1 kB
Tags Source
SHA-256 checksum
How to use checksums
319c502f8cfd504e0477e6a2eb9f291bdc9bd59105b8b5a44324d64fe226410f
BLAKE2b-256 checksum
How to use checksums
3e6525cf57cecab76293ebc71e4177ff04c521d32720c5afcc3137b558162889
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / download_stats-2.0.1-py3-none-any.whl

Download URL download_stats-2.0.1-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7899dbbbc1e5aa6fd3b73c726f260c6aca4df62e6c6551ad00c49e72361b919b
BLAKE2b-256 checksum
How to use checksums
799d0c058a578306cf24225f636f8e4cd83953af3227ad848cefc8eb816b1e18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Security for download-stats 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page