Everything is pip 1.4+ all downloads starting 2014-01-02 and ending with 2014-04-13.
SELECT python_type, array_to_string(python_release[0:2], '.') AS python_release, COUNT(*)
FROM (
SELECT
python_type,
string_to_array(
(
CASE WHEN (python_release IS NULL OR python_release = '')
THEN python_version ELSE python_release END
),
'.'
) AS python_release
FROM downloads
WHERE installer_type = 'pip' AND installer_version != '' AND package_name = 'Flask'
) AS d
GROUP BY python_type, array_to_string(python_release[0:2], '.')
ORDER BY COUNT(*) DESC;
python_type | python_release | count
-------------+----------------+--------
cpython | 2.7 | 348209
cpython | 2.6 | 47082
cpython | 3.3 | 19629
cpython | 3.4 | 3630
pypy | 2.2 | 2717
cpython | 3.2 | 1143
pypy | 2.0 | 124
pypy | 1.9 | 24
pypy | 2.1 | 21
pypy | 1.8 | 16
pypy | 2.3 | 12
cpython | 3.5 | 4
cpython | 3.1 | 1
(13 rows)