Math and String Utility Package
Project description
IDS Final Project
A Python utility package with math and string helper functions.
Created by Tooba & Shifa — UMT Lahore, BS Data Science.
Installation
pip install ids-final-project
Usage
from ids_final_project.math_utils import add, subtract, multiply, divide
from ids_final_project.string_utility import reverse_text, count_characters, count_words, capitalize_words
print(add(10, 5)) # 15
print(reverse_text("hello")) # olleh
Functions
Math Utils
add(a, b)— Additionsubtract(a, b)— Subtractionmultiply(a, b)— Multiplicationdivide(a, b)— Division (handles divide by zero)
String Utility
reverse_text(text)— Reverses a stringcount_characters(text)— Returns character countcount_words(text)— Returns word countcapitalize_words(text)— Title cases the text
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 ids_final_project-0.1.3.tar.gz.
File metadata
- Download URL: ids_final_project-0.1.3.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db163e9b4e39f4ac5fea42299a9b8d88fe502a2335028ff94537d2c036f73a49
|
|
| MD5 |
e7be91529661672a746efd882934b325
|
|
| BLAKE2b-256 |
f927adecdd66f80b0ab55b35e3e7dfed0a48e6d30fda0639b46c570cbc974aa2
|
File details
Details for the file ids_final_project-0.1.3-py3-none-any.whl.
File metadata
- Download URL: ids_final_project-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
162da9bf9604089b5b19eaab3a2e3af0cd9ca88bd45c2bdf191442edb65e4921
|
|
| MD5 |
73b169431a55aaa35d315cae79585224
|
|
| BLAKE2b-256 |
0e75d9d954d211f90b827bfffb5588ab80afb58d83a5511e6839c85145ce937b
|