← 输入框|github.com|刷新
Skip to content

Compare package downloads #5

Open

Description

@hadley

Activity

  1. rgbkrk commented on Nov 26, 2013

    @rgbkrk
    Contributor

    The pypstats package pulls from PyPI's published stats which is out of date ever since PyPI switched to using a CDN.

  2. rgbkrk commented on Nov 26, 2013

    @rgbkrk
    Contributor

    Actually, there's a JSON API! However, the results seem to only give about as much data as scraping the package pages:

    >>> resp = requests.get("http://pypi.python.org/pypi/numpy/json")
    >>> resp.json()
    {
    ...
      u'downloads': {
       u'last_day': 7634,
       u'last_month': 173916,
       u'last_week': 41854},
    ...
    }

    Domain specific thing to think about though -- deployments of python applications will install these packages in automation which doesn't tell you about folks doing hands on analysis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions