Skip to main content

A simple Python package for string manipulation operations

Project description

Package Creation

A simple Python package demonstrating string manipulation operations.

Features

  • Reverse String: Reverse any string
  • Count Vowels: Count vowels in a string
  • Capitalize Words: Capitalize the first letter of each word

Installation

pip install ifatmagamha-package-creation

Usage

from package_creation.string_ops import reverse_string, count_vowels, capitalize_words

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

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

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

Development

Setup

# Clone the repository
git clone https://github.com/ifatmagamha/py_project.git
cd py_project/package_creation

# Install dependencies
poetry install

# Run tests
poetry run python -m unittest tests.test_string_ops -v

Building

poetry build

Testing

poetry run python -m unittest discover tests -v

Documentation

Full documentation is available at: https://ifatmagamha.github.io/py_project/

License

MIT License

Author

ifatmagamha (gamhaif@gmail.com)

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

ifatmagamha_package_creation-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

ifatmagamha_package_creation-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ifatmagamha_package_creation-0.1.0.tar.gz
Algorithm Hash digest
SHA256 321c42727fe9891d836cc2951927dcc5444e8e542ca057f195cd3f3e80dc7244
MD5 18dcc769ad02c128bc0189f05ce448da
BLAKE2b-256 0524bf73f4dd7d4df99fc5e823dc4f5fb8b455814b7ee151a9c39f46489acb8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ifatmagamha_package_creation-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c44343fc3b5bdbefde988853a66b6fbd2411bd8ae14a4b4f921ae0e5c08787b7
MD5 18b89d5b3501b787415d696efab78137
BLAKE2b-256 c84d82e1dc51f6540a243a9fb31f38c35fd2f2609bb99e08bb14683bb145f42c

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