Skip to main content

No project description provided

Project description

string-tools

Tests Documentation Python License

A Python package for string manipulation with powerful utilities.

Features

  • 🔄 Reverse strings - Flip any text backwards
  • 🔤 Count vowels - Analyze vowel frequency
  • Capitalize words - Format text professionally

Installation

pip install string-tools

Quick Start

from string_tools.string_ops import reverse_string, count_vowels, capitalize_words

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

# Count vowels
count = count_vowels("hello world")
print(count)  # Output: 3

# Capitalize words
formatted = capitalize_words("hello world")
print(formatted)  # Output: "Hello World"

Documentation

Full documentation is available at: https://keita223.github.io/string-tools/

Development

Setup

# Clone the repository
git clone https://github.com/keita223/string-tools.git
cd string-tools

# Install Poetry
pipx install poetry

# Install dependencies
poetry install

# Activate virtual environment
poetry shell

Running Tests

# Run all tests
poetry run pytest

# Run with coverage
poetry run pytest --cov=src/string_tools

Building Documentation

cd docs
poetry run make html

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License.

Author

keita

Acknowledgments


If you like this project, please give it a star!

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

keita_string_tools-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

keita_string_tools-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file keita_string_tools-0.1.0.tar.gz.

File metadata

  • Download URL: keita_string_tools-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.1 CPython/3.12.6 Windows/11

File hashes

Hashes for keita_string_tools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a94e6fee96eccdcafc830cbd68485b5573ecb4ee93f377f76e09294b6bc3f072
MD5 0637f1f480310447efe2f8d12bd71a35
BLAKE2b-256 32f27e566fb7c7674d49b72a99d75cb5272841d598d57251c42c1c18cd204c38

See more details on using hashes here.

File details

Details for the file keita_string_tools-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for keita_string_tools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87b6e80e01089716df2e598cf317eca30108adcdd2a2ef3ec518fd40b0301d38
MD5 ebf20112a4716291f764ffc6282eb9aa
BLAKE2b-256 57f8d83be9b4c8b8408e9ba46bc3ba01ff0b43d42baeeb29554563111846368e

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