theonlysam / bookthecourt

MIT License
0 stars 0 forks source link

Env variables in Python #7

Open bbelderbos opened 1 year ago

bbelderbos commented 1 year ago

https://pybit.es/articles/how-to-handle-environment-variables-in-python/ -> I would go with python-decouple (make sure you gitignore your .env file)

I use this alias to quickly pull in a Python gitignore file, but you can also do this on GitHub when you creating a project:

$ alias gitign
gitign='curl -s https://raw.githubusercontent.com/github/gitignore/main/Python.gitignore > .gitignore'