Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 807 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 807 Bytes

getpwd

PyPI PyPI - Python Version Downloads PyPI - Platform

Python tool to get a password from the user and display a masked value at the prompt.

Installing

pip install getpwd

Using

>>> from getpwd import getpwd
>>> secret = getpwd()
Password: ********
>>> print(secret)
mysecret

Custom prompt

>>> from getpwd import getpwd
>>> secret = getpwd("Please insert your password: ")
Please insert your password: ********
>>> print(secret)
mysecret

If you would like to make any comments then please feel free to email me at [email protected]