A simple Python package providing basic arithmetic operations.
Project description
Maths Tools
A lightweight Python package providing simple mathematical operations.
Features
- ➕ Addition
- ➖ Subtraction
- ✖️ Multiplication
- ➗ Division
- % Modulus
Installation
Install the package from PyPI:
pip install maths-tools
or
python -m pip install maths-tools
Usage
import maths
print(maths.addition(10, 5))
print(maths.subraction(10, 5))
print(maths.multiplication(10, 5))
print(maths.division(10, 5))
print(maths.modulus(10, 5))
Output
15
5
50
2.0
0
Functions
| Function | Description |
|---|---|
addition(a, b) |
Returns the sum of two numbers |
subraction(a, b) |
Returns the difference of two numbers |
multiplication(a, b) |
Returns the product of two numbers |
division(a, b) |
Returns the quotient of two numbers |
modulus(a, b) |
Returns the remainder after division |
Requirements
- Python 3.9 or later
License
MIT License
Author
Arpit Soni
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
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 easy_to_maths-0.1.0.tar.gz.
File metadata
- Download URL: easy_to_maths-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf6fa38ac4849420fa46c55a3e11d0f7a8130fb674b2fd13876f59b7e7d79507
|
|
| MD5 |
3e41e2a8cf7cf319b3ab8684791c5b02
|
|
| BLAKE2b-256 |
141ccaa100c77fd89f68595aa7c7b88731fb1ae57779e1dcc7eb76bd736c7752
|
Provenance
The following attestation bundles were made for easy_to_maths-0.1.0.tar.gz:
Publisher:
python-publish.yml on Arpitsoni89/maths-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
easy_to_maths-0.1.0.tar.gz -
Subject digest:
bf6fa38ac4849420fa46c55a3e11d0f7a8130fb674b2fd13876f59b7e7d79507 - Sigstore transparency entry: 2179100926
- Sigstore integration time:
-
Permalink:
Arpitsoni89/maths-tools@8079c5b0658eaa04ee87d928f11d9dd9ed94887e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Arpitsoni89
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@8079c5b0658eaa04ee87d928f11d9dd9ed94887e -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file easy_to_maths-0.1.0-py3-none-any.whl.
File metadata
- Download URL: easy_to_maths-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17fc5c06abecca4210ae6c967feec7afdb77a7db1ce8102e05c1d3e2a5e168c1
|
|
| MD5 |
a795de7deb7e1e50e2ee3b2e4fbd00ee
|
|
| BLAKE2b-256 |
92f9a42ff1d2aba94b7f9d41a7d369db0cfaf004a90d40dd7ab2553f575049cd
|
Provenance
The following attestation bundles were made for easy_to_maths-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on Arpitsoni89/maths-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
easy_to_maths-0.1.0-py3-none-any.whl -
Subject digest:
17fc5c06abecca4210ae6c967feec7afdb77a7db1ce8102e05c1d3e2a5e168c1 - Sigstore transparency entry: 2179100977
- Sigstore integration time:
-
Permalink:
Arpitsoni89/maths-tools@8079c5b0658eaa04ee87d928f11d9dd9ed94887e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Arpitsoni89
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@8079c5b0658eaa04ee87d928f11d9dd9ed94887e -
Trigger Event:
workflow_dispatch
-
Statement type: