https://github.com/rafpyprog/pyssword
Python tool to get a password from the user and display a masked value at the prompt.
https://github.com/rafpyprog/pyssword
getpass password python
Last synced: 2 months ago
JSON representation
Python tool to get a password from the user and display a masked value at the prompt.
- Host: GitHub
- URL: https://github.com/rafpyprog/pyssword
- Owner: rafpyprog
- Created: 2016-05-25T20:26:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T01:46:25.000Z (over 3 years ago)
- Last Synced: 2025-04-17T19:38:10.445Z (3 months ago)
- Topics: getpass, password, python
- Language: Python
- Size: 9.03 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE/license.txt
Awesome Lists containing this project
README
# getpwd



Python tool to get a password from the user and display a masked value at the prompt.
## Installing
```pip install getpwd```## Using
```Python
>>> from getpwd import getpwd
>>> secret = getpwd()
Password: ********
>>> print(secret)
mysecret
```### Custom prompt
```Python
>>> 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]