Skip to main content

A utility library for string manipulation

Project description

stringutils_happy

stringutils_happy is a Python library for various string manipulation tasks.

Features

  • Convert strings to snake_case
  • Convert strings to camelCase
  • Remove special characters from strings
  • Normalize whitespace in strings

Installation

You can install the library using pip:

pip install stringutils_happy
ll stringutils

Usage

Here are some examples of how to use the library:

from stringutils import to_snake_case, to_camel_case, remove_special_characters, normalize_whitespace

# Convert to snake_case
print(to_snake_case('CamelCaseString'))  # Output: camel_case_string

# Convert to camelCase
print(to_camel_case('snake_case_string'))  # Output: snakeCaseString

# Remove special characters
print(remove_special_characters('Hello, World!'))  # Output: Hello World

# Normalize whitespace
print(normalize_whitespace('Hello   World'))  # Output: Hello World

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License.

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

stringutils_happy-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

stringutils_happy-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file stringutils_happy-0.1.1.tar.gz.

File metadata

  • Download URL: stringutils_happy-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.12

File hashes

Hashes for stringutils_happy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a348067b53371a222f2f48857aeb19a304ae44fbeb90da042ff9af3a6e6beb2b
MD5 64130f6605a31ba10ba84d78dbdd6126
BLAKE2b-256 bf19cdeb6d54f7151960258b710414b9d6b8c0e70503e4cb16ec3e1d520bd302

See more details on using hashes here.

File details

Details for the file stringutils_happy-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for stringutils_happy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b327d071f322feb3a4913e1bf687ade256f4354954dbb53a79a758efbfa8aca
MD5 42e1c3fa837ca973cf7289a8ffd11f2d
BLAKE2b-256 6815be2a40e256a9fa2b231df2157a1abad3b3a158d84949894f9e0da5b34236

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