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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ifatmagamha_package_creation-0.1.0.tar.gz.
File metadata
- Download URL: ifatmagamha_package_creation-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.14.2 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
321c42727fe9891d836cc2951927dcc5444e8e542ca057f195cd3f3e80dc7244
|
|
| MD5 |
18dcc769ad02c128bc0189f05ce448da
|
|
| BLAKE2b-256 |
0524bf73f4dd7d4df99fc5e823dc4f5fb8b455814b7ee151a9c39f46489acb8a
|
File details
Details for the file ifatmagamha_package_creation-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ifatmagamha_package_creation-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.14.2 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c44343fc3b5bdbefde988853a66b6fbd2411bd8ae14a4b4f921ae0e5c08787b7
|
|
| MD5 |
18b89d5b3501b787415d696efab78137
|
|
| BLAKE2b-256 |
c84d82e1dc51f6540a243a9fb31f38c35fd2f2609bb99e08bb14683bb145f42c
|