def ranked_in_list_in(self, leaderboard_name, members, **options):
ranks_for_members = []<EOL>pipeline = self.redis_connection.pipeline()<EOL>for member in members:<EOL><INDENT>if self.order == self.ASC:<EOL><INDENT>pipeline.zrank(leaderboard_name, member)<EOL><DEDENT>else:<EOL><INDENT>pipeline.zrevrank(leaderboard_name, member)<EOL><DEDENT>pipeline.zscore(leaderboard_name, member)<EOL><DEDENT>responses = pipeline.execute()<EOL>for index, member in enumerate(members):<EOL><INDENT>data = {}<EOL>data[self.MEMBER_KEY] = member<EOL>score = responses[index * <NUM_LIT:2> + <NUM_LIT:1>]<EOL>if score is not None:<EOL><INDENT>score = float(score)<EOL><DEDENT>data[self.SCORE_KEY] = score<EOL>if self.order == self.ASC:<EOL><INDENT>data[self.RANK_KEY] = self.redis_connection.zrank(<EOL>self._ties_leaderboard_key(leaderboard_name), str(data[self.SCORE_KEY]))<EOL><DEDENT>else:<EOL><INDENT>data[self.RANK_KEY] = self.redis_connection.zrevrank(<EOL>self._ties_leaderboard_key(leaderboard_name), str(data[self.SCORE_KEY]))<EOL><DEDENT>if data[self.RANK_KEY] is not None:<EOL><INDENT>data[self.RANK_KEY] += <NUM_LIT:1><EOL><DEDENT>else:<EOL><INDENT>if not options.get('<STR_LIT>', True):<EOL><INDENT>continue<EOL><DEDENT><DEDENT>ranks_for_members.append(data)<EOL><DEDENT>if ('<STR_LIT>' in options) and (True == options['<STR_LIT>']):<EOL><INDENT>for index, member_data in enumerate(self.members_data_for_in(leaderboard_name, members)):<EOL><INDENT>try:<EOL><INDENT>ranks_for_members[index][self.MEMBER_DATA_KEY] = member_data<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT><DEDENT><DEDENT>if '<STR_LIT>' in options:<EOL><INDENT>if self.RANK_KEY == options['<STR_LIT>']:<EOL><INDENT>ranks_for_members = sorted(<EOL>ranks_for_members,<EOL>key=lambda member: member[<EOL>self.RANK_KEY])<EOL><DEDENT>elif self.SCORE_KEY == options['<STR_LIT>']:<EOL><INDENT>ranks_for_members = sorted(<EOL>ranks_for_members,<EOL>key=lambda member: member[<EOL>self.SCORE_KEY])<EOL><DEDENT><DEDENT>return ranks_for_members<EOL>
Retrieve a page of leaders from the named leaderboard for a given list of members.

@param leaderboard_name [String] Name of the leaderboard.
@param members [Array] Member names.
@param options [Hash] Options to be used when retrieving the page from the named leaderboard.
@return a page of leaders from the named leaderboard for a given list of members.