I am generating uuid in Python, I noticed there are collisions. I get collisions if I use uuid.uuid1() or uuid.uuid4().
I read many articles online but they elaborate about the "theory" of impossibility of UUID collision if generated properly.
But I have yet to find one that explains how I can ensure my UUID generation is properly done.
How can I do this before Python 3.7?
I saw Python 3.7 has a notion of UUID safety but is there a way to do this outside of 3.7?
Details:
running on Ubuntu 18.04, running Python code in Jupyter Lab.