Python Secrets module:

Use the secrets module to secure random data in Python 3.6 and above.