Create detect-secret script

  python, python-3.x, secret-key

I’m trying to write a python script that will run on some files and detect secrets in those files.

I saw some open sources (like: detect-secrets) but this packages can be available only through some linux and i just want to add to my code some function that doing that.
any suggestion?
maybe to add function that searching some long and complicated raw will do the job?

Source: Python-3x Questions