Ashraf Miah
Apr 24, 2022

--

`python-dotenv` performs a similar function but stores the values in a `.env` file. It can load the secrets as environment variables or a config dictionary.
https://github.com/theskumar/python-dotenv

A more secure alternative is `git-secrets` but has the overhead of managing `gpg` keys:
https://git-secret.io/

--

--

Ashraf Miah

CTO, Data Scientist & Chartered Engineer (MEng CEng EUR ING MRAeS) with over 20 years experience in the Aerospace, Rail & Energy Industry.