Skip to content

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

Notifications You must be signed in to change notification settings

rafpyprog/pyssword

Repository files navigation

getpwd

PyPIPyPI - Python VersionDownloadsPyPI - Platform

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

Installing

pip install getpwd

Using

>>>fromgetpwdimportgetpwd>>>secret=getpwd() Password: ********>>>print(secret) mysecret

Custom prompt

>>>fromgetpwdimportgetpwd>>>secret=getpwd("Please insert your password: ") Pleaseinsertyourpassword: ********>>>print(secret) mysecret

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published