Hi,
For scripts that require user credentials (e.g., email passwords, API keys), it would be great to have a secure way to manage them instead of hardcoding.
I suggest using a .env file for configuration. The workflow would be:
Provide a .env.example file as a template.
Add .env to .gitignore.
Use a library like python-dotenv to load the variables in the scripts.
This is standard practice and would prevent users from accidentally exposing their secrets. Thanks!
Hi,
For scripts that require user credentials (e.g., email passwords, API keys), it would be great to have a secure way to manage them instead of hardcoding.
I suggest using a .env file for configuration. The workflow would be:
Provide a .env.example file as a template.
Add .env to .gitignore.
Use a library like python-dotenv to load the variables in the scripts.
This is standard practice and would prevent users from accidentally exposing their secrets. Thanks!