diff --git a/generate.py b/generate.py index 5e51cb4..940b6bd 100644 --- a/generate.py +++ b/generate.py @@ -5,6 +5,7 @@ save_to_file, ) + def main() -> None: packages = get_top_packages() packages = annotate_wheels(packages) diff --git a/utils.py b/utils.py index 24fbc26..c79a123 100644 --- a/utils.py +++ b/utils.py @@ -285,7 +285,9 @@ def _handle_package(package) -> tuple[dict, bool]: return (package, True) with ThreadPoolExecutor(max_workers=8) as executor: - for index, (package, should_keep) in enumerate(executor.map(_handle_package, packages)): + for index, (package, should_keep) in enumerate( + executor.map(_handle_package, packages) + ): print(f"{index + 1}/{len(packages)} {package['name']}") if should_keep: keep.append(package)