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: 9 days 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 (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T01:46:25.000Z (over 3 years ago)
- Last Synced: 2025-09-22T15:29:13.431Z (about 1 month 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 rafael.alves.ribeiro@gmail.com