https://github.com/j16n/getpass3
A module similar like getpass in python except that echos are being encrypted before being displayed in the terminal.
https://github.com/j16n/getpass3
python27
Last synced: 11 months ago
JSON representation
A module similar like getpass in python except that echos are being encrypted before being displayed in the terminal.
- Host: GitHub
- URL: https://github.com/j16n/getpass3
- Owner: J16N
- License: gpl-3.0
- Created: 2017-12-15T07:29:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-16T12:54:46.000Z (over 8 years ago)
- Last Synced: 2025-04-24T01:42:42.464Z (about 1 year ago)
- Topics: python27
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# getpass3
A module similar like getpass in python except that echos are being encrypted before being displayed in the terminal.
You can even change the the symbol with which the echos are being displayed.
The default symbol for the encryption is '*'.
## Usage:
Similar like getpass.
```python
#INPUT
import getpass3
getpass3.set_echo = '#' # Setting the symbol for encryption which will going to be displayed. (Optional)
getpass3.getpass("Password: ") # Giving a label to the input (One arguement is mandatory).
# getpass2.getpass("") (If you don't want to give any label)
#OUTPUT
#Password: ####
```
## Dependency
*Works currently with **Python 2.7.x**.*
#### Linux and MacOS 10.x.x
Requires getch 1.0
#### Windows
Requires colorama 0.3.9