def zrange(self, name, start, end, desc=False, withscores=False,<EOL>score_cast_func=float):
with self.pipe as pipe:<EOL><INDENT>f = Future()<EOL>res = pipe.zrange(<EOL>self.redis_key(name), start, end, desc=desc,<EOL>withscores=withscores, score_cast_func=score_cast_func)<EOL>def cb():<EOL><INDENT>if withscores:<EOL><INDENT>f.set([(self.valueparse.decode(v), s) for v, s in<EOL>res.result])<EOL><DEDENT>else:<EOL><INDENT>f.set([self.valueparse.decode(v) for v in res.result])<EOL><DEDENT><DEDENT>pipe.on_execute(cb)<EOL>return f<EOL><DEDENT>
Returns all the elements including between ``start`` (non included)
and ``stop`` (included).

:param name: str     the name of the redis key
:param start:
:param end:
:param desc:
:param withscores:
:param score_cast_func:
:return: