Skip to main content

This package contains a function 'maskstring' to mask a given input string based on the index positions passed as arguments.

Project description

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

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

masking-0.0.3.tar.gz (3.4 kB view hashes)

Uploaded source

Built Distribution

masking-0.0.3-py3-none-any.whl (3.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page