code: def _set_param(self, name, value):
          
          if name == 'status':
              setattr(self, name, self.metadata.status().get(value))
          elif name == 'license':
              setattr(self, name, self.metadata.licenses().get(value))
          elif name == 'name':
              setattr(self, name, value)
              setattr(self, 'module_name', value.replace('-', '_'))
          else:
              setattr(self, name, value)
docs: Set name:value property to Package object.