I want to use an API for one of the projects on which I am working. What's the good practice/way to store the credentials required for the API? For example, I don't want to later push the project into git with those details still accessible.
Note: I am new to Python and I want to understand what would be good practice.
Another question: Is there an easy way to help user replace my API credentials with his set of credentials?