Skip to main content

A simple package to clean strings

Project description

Clean String

A simple package to clean strings.

Installation

To install the package, run the following command:

pip install cleanstring

Usage

To use the package, import it and call the clean_string function:

from cleanstring import clean_string

name = "Anish Sharma"
contact = "1234567890"

cleaned_string = clean_string(name, contact)

print(f"The cleaned strings are Contact: {cleaned_string.get('contact')}, Name: {cleaned_string.get('name')}")

This will output:

The cleaned strings are Contact: 1234567890, Name: Anish Sharma

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

cleanstring-0.2.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cleanstring-0.2.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file cleanstring-0.2.2.tar.gz.

File metadata

  • Download URL: cleanstring-0.2.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for cleanstring-0.2.2.tar.gz
Algorithm Hash digest
SHA256 fbda74d9bb2e157337b3c817d52d47a607069d73044b32f8a08cc0b17afac8db
MD5 fe82bbe9babc8be91643d4a5e7b77f9c
BLAKE2b-256 37cf07b26a2fd1b386fa25df08f02399f3111610c9790cbdef2988c01a42c736

See more details on using hashes here.

File details

Details for the file cleanstring-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: cleanstring-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for cleanstring-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ed24f92fd7e862c218f0601df85f1c9ca6f6f70660e78c17b1e7049d96592310
MD5 9574ee54a46e4718479577c5a4a00908
BLAKE2b-256 68edff83ce33f324621c5bed8f4819d6018aa06e16b5b173bc6c410d6216c641

See more details on using hashes here.

Supported by

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