Skip to main content

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) — Addition
  • subtract(a, b) — Subtraction
  • multiply(a, b) — Multiplication
  • divide(a, b) — Division (handles divide by zero)

String Utility

  • reverse_text(text) — Reverses a string
  • count_characters(text) — Returns character count
  • count_words(text) — Returns word count
  • capitalize_words(text) — Title cases the text

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

ids_final_project-0.1.3.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

ids_final_project-0.1.3-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

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

Hashes for ids_final_project-0.1.3.tar.gz
Algorithm Hash digest
SHA256 db163e9b4e39f4ac5fea42299a9b8d88fe502a2335028ff94537d2c036f73a49
MD5 e7be91529661672a746efd882934b325
BLAKE2b-256 f927adecdd66f80b0ab55b35e3e7dfed0a48e6d30fda0639b46c570cbc974aa2

See more details on using hashes here.

File details

Details for the file ids_final_project-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ids_final_project-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 162da9bf9604089b5b19eaab3a2e3af0cd9ca88bd45c2bdf191442edb65e4921
MD5 73b169431a55aaa35d315cae79585224
BLAKE2b-256 0e75d9d954d211f90b827bfffb5588ab80afb58d83a5511e6839c85145ce937b

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