redis-py cheat sheet
append to list: r.rpush(key, "foo")
pop first: r.lpop(key)
get list length: r.llen(key)
redis-py docs