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.1.0.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.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

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

Hashes for easy_to_maths-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bf6fa38ac4849420fa46c55a3e11d0f7a8130fb674b2fd13876f59b7e7d79507
MD5 3e41e2a8cf7cf319b3ab8684791c5b02
BLAKE2b-256 141ccaa100c77fd89f68595aa7c7b88731fb1ae57779e1dcc7eb76bd736c7752

See more details on using hashes here.

Provenance

The following attestation bundles were made for easy_to_maths-0.1.0.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.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

Hashes for easy_to_maths-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17fc5c06abecca4210ae6c967feec7afdb77a7db1ce8102e05c1d3e2a5e168c1
MD5 a795de7deb7e1e50e2ee3b2e4fbd00ee
BLAKE2b-256 92f9a42ff1d2aba94b7f9d41a7d369db0cfaf004a90d40dd7ab2553f575049cd

See more details on using hashes here.

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

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