Pypi download

Le nombre de téléchargements peut être obtenu en exécutant la requête suivante sur Google BigQuery.

    
        #standardSQL
        SELECT
          file.project as Project,
          COUNT(*) AS num_downloads,
          SUBSTR(_TABLE_SUFFIX, 1, 6) AS `month`
        FROM `the-psf.pypi.downloads*`
        WHERE
          file.project = 'pyquickhelper' OR file.project = 'jyquickhelper' OR file.project = 'python3_module_template' OR file.project = 'pymmails' OR file.project = 'pymyinstall' OR file.project = 'pyensae' OR file.project = 'pyrsslocal' OR file.project = 'pysqllike' OR file.project = 'ensae_projects' OR file.project = 'ensae_teaching_cs' OR file.project = 'code_beatrix' OR file.project = 'actuariat_python' OR file.project = 'mlstatpy' OR file.project = 'jupytalk' OR file.project = 'teachpyx' OR file.project = 'tkinterquickhelper' OR file.project = 'cpyquickhelper' OR file.project = 'pandas_streaming' OR file.project = 'lightmlboard' OR file.project = 'lightmlrestapi' OR file.project = 'mlinsights' OR file.project = 'pyenbc' OR file.project = 'mlprodict' OR file.project = 'papierstat' OR file.project = 'sparkouille' OR file.project = 'manydataapi' OR file.project = 'csharpy' OR file.project = 'csharpyml' OR file.project = 'ensae_teaching_dl' OR file.project = 'machinelearningext' OR file.project = 'mathenjeu' OR file.project = 'lecture_citation' OR file.project = 'botadi'
          -- Only query the last 6 months of history
          AND _TABLE_SUFFIX
            BETWEEN FORMAT_DATE(
              '%Y%m01', DATE_SUB(CURRENT_DATE(), INTERVAL 12 MONTH))
            AND FORMAT_DATE('%Y%m%d', CURRENT_DATE())
        GROUP BY `month`, `Project`

(Source code, png, hires.png, pdf)

_images/ci_status_download-1.png