Skip to main content

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.

Metadata

Release files for abdullah-math 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abdullah-math 0.1.0
File Size Uploaded Provenance
abdullah_math-0.1.0.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for abdullah-math 0.1.0
File Interpreter ABI Platform
abdullah_math-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / abdullah_math-0.1.0.tar.gz

Download URL abdullah_math-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
98c501f2a479caa22426f0c238ce0091bf3f8858ea301626059c6bb6426534d5
BLAKE2b-256 checksum
How to use checksums
bb747599e959361b61bca90e911691c1cb465fdb53e9bfde27fff2ef8d2e1a40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.6

Release files / abdullah_math-0.1.0-py3-none-any.whl

Download URL abdullah_math-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0a390b84481f5e51aac763b4c604bf4b86c21f3f4aab9629e3d3fb77eda1654
BLAKE2b-256 checksum
How to use checksums
35632d62e4a21c42d87ad62d59f95c58b6602e80b2ebdd650b17b99a043dea97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.6

Security for abdullah-math 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page