Skip to main content

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

GitHub: https://github.com/Arpitsoni89/maths-tools

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

easy_to_maths-0.0.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

easy_to_maths-0.0.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file easy_to_maths-0.0.2.tar.gz.

File metadata

  • Download URL: easy_to_maths-0.0.2.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

Hashes for easy_to_maths-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6c200fec34306a02570708df81e6fecb31ead14e62ab0b484b6228db3d7c4e76
MD5 84c910938c093265e707b1f16977c090
BLAKE2b-256 05a32f2b0802918cd76a6323e106420722d66479196b755894cbaf47f0ce43f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for easy_to_maths-0.0.2.tar.gz:

Publisher: python-publish.yml on Arpitsoni89/maths-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file easy_to_maths-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: easy_to_maths-0.0.2-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

Hashes for easy_to_maths-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2617e90ff469eb13e63c2772d0d416914976975fa938229623b407e7f266304c
MD5 4d4b68f6133dd705eebdc15601c8bb45
BLAKE2b-256 32488ff5f13b302b5d32454cdf25682363a276d7b2ed03718a1ccc60847868bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for easy_to_maths-0.0.2-py3-none-any.whl:

Publisher: python-publish.yml on Arpitsoni89/maths-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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