PWInput
A cross-platform Python module that displays **** for password input. Formerly called stdiomask.
Installation
To install with pip, run:
pip install pwinput
Quickstart Guide
The getpass.getpass() function in the Python Standard Library won't display "mask" characters as you type; it only displays nothing as you type. If you want mask characters to appear, you can use the pwinput.pwinput() function instead.
Typical usage:
>>> import pwinput
>>> pwinput.pwinput() # Show * for each typed character.
Password: *********
'swordfish'
>>> pwinput.pwinput(prompt='PW: ') # Show a custom prompt.
PW: *********
'swordfish'
>>> pwinput.pwinput(mask='X') # Show a different character when user types.
Password: XXXXXXXXX
'swordfish'
>>> pwinput.pwinput(mask='') # Don't show anything when user types (falls back and calls getpass.getpass()).
Password:
'swordfish'
Contribute
If you'd like to contribute to pwinput, check out https://github.com/asweigart/pwinput
Support
If you find this project helpful and would like to support its development, consider donating to its creator on Patreon.
Metadata
Release files for pwinput-eoleedi 1.0.3.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pwinput_eoleedi-1.0.3.post1.tar.gz | 5.2 kB | With provenance | Details for pwinput_eoleedi-1.0.3.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pwinput_eoleedi-1.0.3.post1-py3-none-any.whl | Python 3 | none | any | Details for pwinput_eoleedi-1.0.3.post1-py3-none-any.whl |
Total release size: 10.0 kB
Release files / pwinput_eoleedi-1.0.3.post1.tar.gz
| Download URL | pwinput_eoleedi-1.0.3.post1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5c3cec21c33a1ea0b8edaa57741a92e17f1d18638f62fa0ea7ade06f9902e28
|
|
BLAKE2b-256 checksum How to use checksums |
a72ca695f6494ea20bd47e227f0de297bd5b0ad20cf6b38fd8153765d32ea3ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 29, 2025.
Transparency logRelease files / pwinput_eoleedi-1.0.3.post1-py3-none-any.whl
| Download URL | pwinput_eoleedi-1.0.3.post1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a44f9338ff9947041e3ff13e80b8d8712bb4c725be1d0bfda518c8b384137935
|
|
BLAKE2b-256 checksum How to use checksums |
80033b98c77a21e2fe6cf4e6926858e9da1d9659b88079248c616e90c09d5fe0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 29, 2025.
Transparency logSecurity for pwinput-eoleedi 1.0.3.post1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pwinput_eoleedi-1.0.3.post1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 29, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.