code: def supports_py3(project_name):
      
      log = logging.getLogger("ciu")
      log.info("Checking {} ...".format(project_name))
      request = requests.get("https://pypi.org/pypi/{}/json".format(project_name))
      if request.status_code >= 400:
          log = logging.getLogger("ciu")
          log.warning("problem fetching {}, assuming ported ({})".format(
                          project_name, request.status_code))
          return True
      response = request.json()
      return any(c.startswith("Programming Language :: Python :: 3")
                 for c in response["info"]["classifiers"])
docs: Check with PyPI if a project supports Python 3.