You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by anthony shaw <an...@gmail.com> on 2018/01/18 03:11:59 UTC

[dev] Re: Download stats

And then which version of libcloud was used, grouped by Python version

This is the query for the pypi bigtable
https://bigquery.cloud.google.com/table/the-psf:pypi.downloads

SELECT
  file.version,
  REGEXP_EXTRACT(details.python, r"^([^\.]+\.[^\.]+)") as python_version,
  COUNT(*) as download_count,
FROM
  TABLE_DATE_RANGE(
    [the-psf:pypi.downloads],
    DATE_ADD(CURRENT_TIMESTAMP(), -31, "day"),
    DATE_ADD(CURRENT_TIMESTAMP(), -1, "day")
  )
WHERE
  file.project = 'apache-libcloud'
GROUP BY
  file.version,
  python_version
ORDER BY
  download_count DESC
LIMIT 100



On Thu, Jan 18, 2018 at 2:06 PM, anthony shaw <an...@gmail.com>
wrote:

> Since this recently came up, here is the Python version used in
> downloading libcloud in the past month.
>
> We could almost safely deprecate 2.6 support
>
> Row python_version download_count
> 1 2.7 29200
> 2 null 8670
> 3 3.5 3836
> 4 3.6 1804
> 5 3.4 856
> 6 2.6 490
> 7 1.17 93
> 8 3.3 21
>

Re: [dev] Re: Download stats

Posted by Quentin Pradet <qu...@gmail.com>.
Thanks Anthony!

> We could almost safely deprecate 2.6 support

Well, I did remove support for 2.6 and 3.3
<https://github.com/apache/libcloud/commit/25c4d99b50017e4fd233ad03fa56d337e99ef451>,
even though they still probably work correctly for now. I have to admit
that it's surprising to see that most 2.6 users are using the latest
version.