Catalog PyPI
PACKAGE EXPLORERView in registry

abdullah-math

PyPI

A simple math operations package

arithmeticcalculatormath
Versions collected1
Direct dependencies0From release 0.1.0
Last observed20 Oct, 17:18 UTC

README

Version 0.1.0 documentation

Abdullah Math

A simple Python package for basic mathematical operations.

Features

  • Addition
  • Subtraction
  • Multiplication
  • Division (with zero division protection)

Installation

pip install abdullah_math

Usage

from abdullah_math import add, subtract, multiply, divide

# Addition
result = add(5, 3)
print(result)  # Output: 8

# Subtraction
result = subtract(10, 4)
print(result)  # Output: 6

# Multiplication
result = multiply(3, 7)
print(result)  # Output: 21

# Division
result = divide(15, 3)
print(result)  # Output: 5.0

# Division by zero raises ValueError
try:
    result = divide(10, 0)
except ValueError as e:
    print(e)  # Output: Cannot divide by zero

Development

Running Tests

python -m pytest tests/

Installing in Development Mode

pip install -e .

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.010 Jul 20250

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
yourusername/abdullah_math

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ca2a56ad8672ec33858f45151dc3d6a733b556d306dbd193f2f26b798b500bd5