code: def get_pypi_info():
      """
      Get information about subpackage releases that have been tagged on pypi
      """
      no_release = []
      releases = {}
      for package in packages:
          url = f"https://pypi.python.org/pypi/{package}/json"
          data = json.load(urllib.request.urlopen(url))
          keys = list(data["releases"].keys())
          last = keys[-1]
          release = data["releases"][last][0]["upload_time"]
          release_date = datetime.strptime(release, "%Y-%m-%dT%H:%M:%S")
          releases[package] = {
              "version": last,
              "released": release_date,
          }
  
      return releases
  
imports: import os
  import json
  import urllib
  import re
  import yaml
  from urllib.request import urlopen
  from datetime import datetime, timedelta
  import requests
label_desc: Use image node_id 2 for calling a global function with example usage: get_pypi_info() and returns: releases