Skip to main content

A utility to clean and format strings into snake_case.

Project description

String Cleaner

A simple, lightweight utility to clean up messy strings and convert them into standard snake_case.

Installation

pip install string-cleaner-vijval

Usage

from string_cleaner import clean_string

print(clean_string("helloWorld")) 
# Output: hello_world

print(clean_string("hello1801world")) 
# Output: hello_1801_world

print(clean_string("hello world .,.; 71891")) 
# Output: hello_world_71891

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

string_cleaner_vijval-0.3.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

string_cleaner_vijval-0.3.0-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file string_cleaner_vijval-0.3.0.tar.gz.

File metadata

  • Download URL: string_cleaner_vijval-0.3.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for string_cleaner_vijval-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9e3b1cc50ebec1b4914662b49eb3b7e6b78a700747fcec29ed8a5f51d01e2817
MD5 ff013da61bc5d8efe305f15c5573d431
BLAKE2b-256 411a1b4848b96fe4536221dd81850f1c14f8df3b032901190b6ee19a82f93f25

See more details on using hashes here.

File details

Details for the file string_cleaner_vijval-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for string_cleaner_vijval-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0eaf1847667252b874f6971a83a9011c59174666014f0e696253edfb876ca4b9
MD5 4281dd1b3a2f91016ff708a8d06e408f
BLAKE2b-256 9813250ef1fb499aba9ce55d7204607c729ff4fd037c927a039ec4d931ffdbb3

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