function to modify user input
Project description
Usage
readpass(prompt,replacement=None)
Examples
Code:
print(readpass("What is your username?: "))
print(readpass("What is your password?: ","*"))
print(readpass("Doesn't show: ",""))
print(readpass("Troll: ","lol"))
Result:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
readpass-0.0.2.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file readpass-0.0.2.tar.gz
.
File metadata
- Download URL: readpass-0.0.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d62f2f55d14966bc04932a9b3f31e9ac543b8fb22441d6329d8ec5d5f962dd4 |
|
MD5 | 479a0b8e89608cddf35709b170a262bb |
|
BLAKE2b-256 | 69ec32f33b8c7250f8af7ad74d66abbab032dc0983f235dd9a9c8ef49b76f353 |
File details
Details for the file readpass-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: readpass-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf5aa2d8eb1d3967113e01b464fbeeefc7be364906bcf2919ffe8c6ea2bcef7c |
|
MD5 | 0081e76577cad27eacac9ec145c5d7f2 |
|
BLAKE2b-256 | 2f23370c835c0315050f9f434cfa31ab514eac3be8b6955c55f43e8ccd07a6d7 |