code: def main() -> None:
      args = parse_args()
  
      bucket = get_s3_bucket(args.bucket, args.profile_name)
  
      create_or_update_project_index(
          bucket, args.prefix, args.project_names
      )
  
      for name in args.project_names:
          create_or_update_package_index(bucket, args.prefix, name)
  
file_path: fairseq2/ci/scripts/update_pep503_index.py
imports: from argparse import ArgumentParser, Namespace
  from io import BytesIO
  from pathlib import PurePath
  from typing import TYPE_CHECKING, Any, Final, Optional, Sequence
  import boto3
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types