Skip to main content

A simple mathematical utilities package

Project description

ArithMath

A simple Python package providing basic mathematical utilities.

Installation

pip install arithmath

Usage

from arithmath import add, subtract, multiply, divide

# Basic operations
result = add(5, 3)        # 8
result = subtract(10, 4)  # 6
result = multiply(3, 7)   # 21
result = divide(15, 3)    # 5.0

# You can also import the entire module
import arithmath
result = arithmath.add(2, 3)  # 5

Functions

  • add(a, b) - Add two numbers
  • subtract(a, b) - Subtract b from a
  • multiply(a, b) - Multiply two numbers
  • divide(a, b) - Divide a by b (raises ValueError if b is zero)

Development

  1. Clone the repository
  2. Install in development mode: pip install -e .
  3. Make your changes
  4. Test your package locally

License

MIT License

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

arithmath-1.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

arithmath-1.0.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file arithmath-1.0.0.tar.gz.

File metadata

  • Download URL: arithmath-1.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for arithmath-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ed608e06bcafaca32934dccff6b0c42875417a3b629a36593873670455a5c82e
MD5 aad24e7e2d23190a97e8f4b21a06c2cb
BLAKE2b-256 cdbfd7b5614a09ce2d58d0b9044dcc6b3344c4e34b741eda0b4cd37f0f1c03df

See more details on using hashes here.

File details

Details for the file arithmath-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: arithmath-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for arithmath-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ffc94dbaa7507f48a5bf2ce052cf542da161cbe02f0b4c7aea38303312015077
MD5 d895200988a5090a3bd55bc3aa19efb7
BLAKE2b-256 d742383b3ddfb058917d887cd99d35740dffb33ced5d62ac5cbe0656c5cf5d27

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