Skip to content

Instantly share code, notes, and snippets.

@ishan1608
ishan1608 / manylinux_wheel_support_checker.py
Last active February 3, 2025 15:34
Checks whether all the installed packages has support for either the universal wheel or manylinux wheel.
import subprocess
import requests
PYPI_URL = 'https://pypi.org/pypi/{package}/json'
def get_installed_packages():
"""Get installed packages using pip freeze."""
output = subprocess.check_output(['pip', 'freeze'], text=True)