provides secure displays **** for password input for both Windows and Unix-like systems.
Project description
termipass
Overview
termipass is a Python package that provides secure password input functionality for both Windows and Unix-like systems. It includes features such as masking the password input, supporting arrow key navigation, and handling the delete key during input.
This package automatically selects the appropriate method to prompt for a password based on the operating system (Windows or Unix-like).
Features
- Cross-platform support: Works seamlessly on both Windows and Unix-like environments.
- Optional masking: Mask the password input with any character (e.g.,
*or•). - Arrow key navigation: Move the cursor within the password input using left and right arrow keys.
- Delete key handling: Allows users to delete characters from the password input.
Installation
You can install the package using pip:
pip install termipass
Quickstart Guide
Below is an example of how to use the termipass package to prompt the user for a password:
from termipass.termipass import termipass
termipass()
Password: *************
'Thisisawesome'
termipass(prompt='YOUR PW HERE: ')
YOUR PW HERE: *************
'Thisisawesome'
termipass(mask='#')
Password: ###########
'Thisisawesome'
termipass(mask='') # Don't show anything calling getpass.getpass()
Password:
'Thisisawesome'
Author
Developed by Mahmoud Raouf. You can reach me at mahmoud.raouf21@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file termipass-0.4.3.tar.gz.
File metadata
- Download URL: termipass-0.4.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cca2558b0a03ed0958d73997d1c86c96efa82a3f350ec16a49487920389fb78
|
|
| MD5 |
a17b9110cea6f8bba72859045127f330
|
|
| BLAKE2b-256 |
566b68a41cf24640798625346b9733181861d07a8f5da4ab17ad15c794317f15
|
File details
Details for the file termipass-0.4.3-py3-none-any.whl.
File metadata
- Download URL: termipass-0.4.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e2b74b1908bca0ff4224df37573ce0f69ca57608e281dfa97ac6cddb7bcb8fa
|
|
| MD5 |
f3eadcf7a23200344f68e33a63fe14a7
|
|
| BLAKE2b-256 |
d7d2436e2de25a96e4c03caa8c1e9c19401a1c81815f578625670e15bfefdb5d
|