code: def getPackage(self, name, **kwargs):
          
          packageinfo = yield self.call('getPackage', name, **kwargs)
          package = Package.fromDict(packageinfo)
          if package:
              package.connection = self
          defer.returnValue(package)
docs: Load information about a package and return a custom Package class.
  
          Calls "getPackage" XML-RPC.
  
          :param package_id: ``int``, for example 12345
          :returns: deferred that when fired returns a Package (Munch, dict-like)
                    object representing this Koji package, or None if no build
                    was found.