Skip to main content

Ultimate full math tools library

Project description

math_tols

math_tols is a lightweight, fast, and dependency-free Python library that provides essential mathematical operations with a clean and simple API. It is ideal for beginners, educational purposes, scripting, and projects that require basic math utilities without external dependencies.


Why math_tols?

  • Minimal and easy to use
  • Zero external dependencies
  • Clean and readable source code
  • Suitable for learning and real-world usage
  • PyPI-ready structure

Features

  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Power calculation
  • Square root calculation

Installation

Install directly from PyPI using pip:

pip install math_tols

Upgrade to the latest version:

pip install --upgrade math_tols

Quick Start

Import the library:

import math_tols

Or import specific functions:

from math_tols import jam, menha, zarb, taghsim, tavan, jazr

Usage Examples

Addition

jam(5, 3)

Output

8

Subtraction

menha(10, 4)

Output

6

Multiplication

zarb(6, 7)

Output

42

Division

taghsim(8, 2)

Output

4.0

Power

tavan(2, 3)

Output

8

Square Root

jazr(16)

Output

4.0

API Reference

Function Description
jam(x, y) Returns the sum of x and y
menha(x, y) Returns the subtraction of y from x
zarb(x, y) Returns the multiplication of x and y
taghsim(x, y) Returns the division of x by y
tavan(x, y) Returns x raised to the power y
jazr(x) Returns the square root of x

Notes and Warnings

  • Division by zero is not handled internally and will raise a Python error.
  • Inputs must be numeric (int or float).

Project Structure

math_tols/
├── __init__.py
└── README.md

License

This project is released under the MIT License. You are free to use, modify, and distribute it.


Author

Developed with Python and published for educational and practical use.

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

math_tols-1.0.8.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

math_tols-1.0.8-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file math_tols-1.0.8.tar.gz.

File metadata

  • Download URL: math_tols-1.0.8.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for math_tols-1.0.8.tar.gz
Algorithm Hash digest
SHA256 4a07a162fdc0fb787ca7dbac3bd48ec452d90b7a8f9deeb9c90190be622e9e3c
MD5 9b88770cf3bf09579dba3e22528972fa
BLAKE2b-256 59f86ce9d9c6f2a15ce9a9adf97c6e5dbb3884901a2b5d792e677189cfd4e50d

See more details on using hashes here.

File details

Details for the file math_tols-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: math_tols-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for math_tols-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 378fd1832b3555c0e10f21c53e953550e1e7f6a0cbf5519dc272296416d081b5
MD5 030a4a2e1ad3cfb04e798b8f09778b0c
BLAKE2b-256 285974ca67884c2266dbbeb5ad25bb851eebb6730c11c227a2df12dd82a0e22d

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