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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file masking-0.0.3.tar.gz.

File metadata

  • Download URL: masking-0.0.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for masking-0.0.3.tar.gz
Algorithm Hash digest
SHA256 fd2f375891a6fad881ff1e8722b3fa48c6c4d4a1b6a3025a8281aacc3c6a193a
MD5 5e32460501e7351ad1f318a3a4a17f98
BLAKE2b-256 f6a030dff2a804caa8e3640541db3cd55c51089c258cadd5ac49851a84c3b333

See more details on using hashes here.

File details

Details for the file masking-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: masking-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for masking-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 48e654c59e85765c91440a2dadb3417ad4740df6074d067fd326c6e44f682cce
MD5 170f17720fd9eeca170cb220f5aef2e5
BLAKE2b-256 b853a26e769dbfb5bd10ebd7eaf36e852b16c9372db1c6606d8e0079cf5650ea

See more details on using hashes here.

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