Python's New Secrets Module Link

Python 3.6 adds a new module for creating random values for cryptographic secrets.

For example, this call:

secrets.token_urlsafe(16)

generates this unique string: ‘5t_jLGlV8yp2Q5tolvBesQ’

Now, if only I could get all of my scripts moved off of Python 2.7 I’d be in business.