Skip to content

Conversation

@amrit110
Copy link
Member

@amrit110 amrit110 commented Nov 26, 2025

This pull request introduces automated collection and tracking of PyPI download metrics for several Vector Institute Python packages. It updates the workflow to gather this data, adds new metadata fields to repository YAML files, and generates new JSON files with current and historical download statistics.

PyPI Metrics Collection and Data Integration:

  • Updated the deployment workflow (.github/workflows/deploy-catalog.yml) to install the requests library and add a new step that collects PyPI metrics via the collect_pypi_metrics.py script. This step is tolerant to errors to avoid failing the workflow if metric collection has issues.
  • Added two new JSON files in catalog/public/data/: pypi_metrics.json for current PyPI stats and pypi_metrics_history.json for historical snapshots, covering the packages pycyclops, fed-rag, vec-inf, fair-sense-ai, and fl4health. [1] [2]

Repository Metadata Enhancements:

  • Added the package_name field to the YAML files for each relevant repository (cyclops.yaml, fed-rag.yaml, vector-inference.yaml, fair-sense-ai.yaml, fl4health.yaml) to link repositories with their corresponding PyPI packages. [1] [2] [3] [4] [5]

@amrit110 amrit110 self-assigned this Nov 26, 2025
@amrit110 amrit110 added enhancement New feature or request github_actions Pull requests that update GitHub Actions code labels Nov 26, 2025
@amrit110 amrit110 merged commit d10fdeb into main Nov 26, 2025
5 checks passed
@amrit110 amrit110 deleted the add_pypi_metrics branch November 26, 2025 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants