I had an idea to create a function that prompts for password (hiding it while typing), because I didn't like the idea to include my passwords in all .py scripts I used.
Added functions to init.py
login_prompt(...)
Constructor using login_prompt()
Notes
login_prompt is a wrapper function of existing login() function
Constructor was carefully created, in order not to brake older use cases.
Some use cases examples can be seen in examples.py which I've also updated.
I had an idea to create a function that prompts for password (hiding it while typing), because I didn't like the idea to include my passwords in all .py scripts I used.
Added functions to init.py
Notes
Your feedback will be appreciated!