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.4.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file readpass-0.0.4.tar.gz
.
File metadata
- Download URL: readpass-0.0.4.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 | 4634673fd1596b7fec62d4407cc3674fb84a1a1e04b123d0b22bc9cb31ed4f03 |
|
MD5 | 90c4111e514949a67058b744f6c28eca |
|
BLAKE2b-256 | cd43455f8dadd1807bb2e726deb5219e7b93b221a608ca6e1df1c81379a6d272 |
File details
Details for the file readpass-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: readpass-0.0.4-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 | 88b4623df90abb45cb91d76c042c67076cd2a69d7a4eca8e4a06c3c751c7d88f |
|
MD5 | 791fdf34e312542c78712d97be3842d1 |
|
BLAKE2b-256 | 0392d616d20fca1d7c10f47b0477a5841d90d35c406296980f17174366c4275d |