code: def get_pypi_version():
      
      try:
          response = requests.get(PYPI_URL, timeout=HALF_SECOND_TIMEOUT)
          response.raise_for_status()
          data = response.json()
          version_str = data["info"]["version"]
          return _parse_version_str(version_str)
      except requests.exceptions.ConnectionError:
          raise VersionException(UNABLE_TO_ACCESS_PYPI + " Failed to connect.")
      except requests.exceptions.Timeout:
          raise VersionException(UNABLE_TO_ACCESS_PYPI + " Timeout")
docs: Returns the version info from pypi for this app.