code: def get_profile(self, component):
          
  
          components = self.filter_components(r"^{0}$".format(component))
          if components != []:
              return self.__components[foundations.common.get_first_item(components)]
docs: Gets given Component profile.
  
          Usage::
  
              >>> manager = Manager()
              >>> manager.register_component("tests_component_a.rc")
              True
              >>> manager.get_profile("core.tests_component_a")
              <manager.components_manager.Profile object at 0x10258ef10>
  
          :param component: Component to get the profile.
          :type component: unicode
          :return: Component profile.
          :rtype: Profile