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 numberssubtract(a, b)- Subtract b from amultiply(a, b)- Multiply two numbersdivide(a, b)- Divide a by b (raises ValueError if b is zero)
Development
- Clone the repository
- Install in development mode:
pip install -e . - Make your changes
- Test your package locally
License
MIT License
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
arithmath-1.0.0.tar.gz
(3.6 kB
view details)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed608e06bcafaca32934dccff6b0c42875417a3b629a36593873670455a5c82e
|
|
| MD5 |
aad24e7e2d23190a97e8f4b21a06c2cb
|
|
| BLAKE2b-256 |
cdbfd7b5614a09ce2d58d0b9044dcc6b3344c4e34b741eda0b4cd37f0f1c03df
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc94dbaa7507f48a5bf2ce052cf542da161cbe02f0b4c7aea38303312015077
|
|
| MD5 |
d895200988a5090a3bd55bc3aa19efb7
|
|
| BLAKE2b-256 |
d742383b3ddfb058917d887cd99d35740dffb33ced5d62ac5cbe0656c5cf5d27
|