I would like to generate a "random" int from a given uuid. All I care about is that given the uuid, I will always get the same int.
I'm aware that the range of uuids is much largers than the range of ints in python, so I'm taking the risk of 2 different uuids generating the same int, but it's a risk I'm willing to take.
So my question is what is the best way to generate such int from a given uuid? I know I can just maybe use the uuid as a seed to random() and just generate a random int, but wondered if there is a "cleaner" solution.