email – What’s the best way to get a registration hash for a user?

I am working on a user registration link and I think that after the user registers, I would send an email with the link for adding more info. What’s the best way of generating the unique link for a user like somesite.com/<hash>?

Can a UUID4 from Python be good enough? I feel that one can see that it is a UUID4, which would imply a Python service like Flask or Django. I wouldn’t want to give out this information.