Set name:value property to Package object.

def _set_param(self, name, value):
        """Set name:value property to Package object."""
        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)