Skip to main content

A simple package for string operations

Project description

String Utils Rjl

A simple Python package for string operations including reversal, palindrome check, and character frequency.

Installation

pip install string_utils_rjl

Usage

from string_utils_rjl import reverse_string, is_palindrome, char_frequency

# Reverse a string
print(reverse_string("hello"))  # Output: "olleh"

# Check if a string is a palindrome
print(is_palindrome("racecar"))  # Output: True

# Calculate character frequency
print(char_frequency("moonshot"))  # Output: {'m': 1, 'o': 2, 'n': 1, 's': 1, 'h': 1, 't': 1}

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_utils_rjl-1.0.0.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.

string_utils_rjl-1.0.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file string_utils_rjl-1.0.0.tar.gz.

File metadata

  • Download URL: string_utils_rjl-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for string_utils_rjl-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c351cbe3089f99c9dc60c3b42e2e32d2540873d7eea4dcc4ca634dfabaad7e68
MD5 78f627552affe8451ea34253c4a14713
BLAKE2b-256 eb16c186137209d8996c9b7c426dc639955fe38e1a3007fd93ec8dbd7cc53fd4

See more details on using hashes here.

File details

Details for the file string_utils_rjl-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for string_utils_rjl-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c48f14e25f35c60360bea699b428551c81c68a011cdcbadbc29419a99a3f1de9
MD5 ca178f8ce32d6931f93e3c0ef4ea71ff
BLAKE2b-256 e66aaf2057d656d22e035966af47b31005cf1facd0804c4636dc12660574f67b

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