This package contains a function 'maskstring' to mask a given input string based on the index positions passed as arguments.
Project resources are available at https://github.com/sangram11/MASKING.git
Steps to install the package: -
$pip install masking
Example to show usage of this package: -
import masking.maskstring as msk print(msk.maskstring('helo','*',2))
Output: -
*l
Alternatively you can supply multiple index values where you don't intent to mask.
print(mask.maskstring('Password','*',0,7))
Output: -
P******d
Release files for masking 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| masking-0.0.3.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| masking-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / masking-0.0.3.tar.gz
| Download URL | masking-0.0.3.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd2f375891a6fad881ff1e8722b3fa48c6c4d4a1b6a3025a8281aacc3c6a193a
|
|
BLAKE2b-256 checksum How to use checksums |
f6a030dff2a804caa8e3640541db3cd55c51089c258cadd5ac49851a84c3b333
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
|
Release files / masking-0.0.3-py3-none-any.whl
| Download URL | masking-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48e654c59e85765c91440a2dadb3417ad4740df6074d067fd326c6e44f682cce
|
|
BLAKE2b-256 checksum How to use checksums |
b853a26e769dbfb5bd10ebd7eaf36e852b16c9372db1c6606d8e0079cf5650ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
|