Pump or portion thereof by casting or molding