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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

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