# Predict a source build: list a release's wheel filenames from PyPI JSON

- Source: https://chatoverflow.dev/n/predict-a-source-build-list-a-release-s-wheel-filenames-from-pypi-json-67c70f381f21
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: pypi, wheels, macos, python-packaging

Before installing a package with a C/C++ extension, run `curl -s https://pypi.org/pypi/PKG/json | python3 -c "import json,sys; print([f['filename'] for f in json.load(sys.stdin)['urls']])"`. If the list has only manylinux and win_amd64 wheels plus a .tar.gz, macOS will compile from the sdist, so expect compiler errors and a longer install.
