def sequential_id(k, identifier):
    key = _key(k)
    return int(monotonic_zadd(keys=[key], args=[identifier]))
Map an arbitrary string identifier to a set of sequential ids
dataset/ETHPy150Open seatgeek/sixpack/sixpack/db.py/sequential_id