class_docstr: Class describing a cuda package with a key/name and a dictionary where the key
  is a cuda version and value is the list of versions supported.
  
  Parameters
  ----------
  `key`: str
      Name this package should be queried for
  `versions`: dict or PckgVer class object
      Dictionary, where the key is a cuda version and vale, is the list of versions supported
  `name`: str, , optional, default = None
      Name of this package used during installation. If empty it is the same as the key.
      If it includes `{cuda_v}` it is replaced by the cuda_version when queried
class_docstr_tok: ["Class","describing","a","cuda","package","with","a","key\/name","and","a","dictionary","where","the","key","is","a","cuda","version","and","value","is","the","list","of","versions","supported",".","Parameters","--","--","--","--","--","`","key","`",":","str","Name","this","package","should","be","queried","for","`","versions","`",":","dict","or","PckgVer","class","object","Dictionary",",","where","the","key","is","a","cuda","version","and","vale",",","is","the","list","of","versions","supported","`","name","`",":","str",",",",","optional",",","default","=","None","Name","of","this","package","used","during","installation",".","If","empty","it","is","the","same","as","the","key",".","If","it","includes","`","{","cuda_v","}","`","it","is","replaced","by","the","cuda_version","when","queried"]
code: def get_name(self, cuda_version=None, idx=None):
      cuda_version = self.max_cuda_version(cuda_version)
      name = super().get_name(cuda_version, idx)
      return name.format(cuda_v=cuda_version)
  
imports: import argparse
  import sys
  from pip._vendor.packaging.version import parse
  import urllib.parse
  from urllib.request import urlopen, HTTPError, Request, URLError
label_desc: Use image node_id 2 for calling the CudaPackage obj's underlying member method code with example usage: obj.get_name(cuda_version, idx) and returns: name