Skip to main content

A simple Python package for basic arithmetic operations and

Project description

VishnuOperators

VishnuOperators is a simple Python package that provides basic arithmetic operations and Comparison Operators such as addition and Equal to . It’s designed for demonstration, educational purposes, and lightweight arithmetic and Comparision utilities.

Features

-Arthimetric operators -Comparision operatrors -Takes only two parameters as numbers as Input -Easy-to-use function interface for the Arthimetric and Comparison operators

Functions Present

Arthimetric operators

  • Addition -->add(a,b)
  • Subration -->sub(a,b)
  • Multiplication -->mul(a,b)
  • Division -->div(a,b)
  • Modular Division -->mod(a,b)
  • Floor Division -->flo(a,b)
  • Exponentiate -->exp(a,b)

Comparison operators

  • Equal to -->equ(a,b)
  • Not equal to -->neq(a,b)
  • Greater than -->gre(a,b)
  • Less than -->les(a,b)
  • Greater than or equal to -->geq(a,b)
  • Less than or equal to -->leq(a,b)

Installation

pip install vishnuoperators


#Usage
from vishnuoperators import add, mul

print(add(5, 7))       # Output: 12
print(mul(3, 4))       # Output: 12

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

vishnuoperators-0.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

vishnuoperators-0.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file vishnuoperators-0.2.tar.gz.

File metadata

  • Download URL: vishnuoperators-0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for vishnuoperators-0.2.tar.gz
Algorithm Hash digest
SHA256 f21008ffa4932be268084b86a78ca8516fde84577451842b4ab0caed3b865b8f
MD5 4e40591aba2c6219fa491d7bfec873bf
BLAKE2b-256 c9b1501315c720cd5e0fdd6e49d86a4483e749992d0d2d69b960dc8277b80602

See more details on using hashes here.

File details

Details for the file vishnuoperators-0.2-py3-none-any.whl.

File metadata

  • Download URL: vishnuoperators-0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for vishnuoperators-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ddeb48f2d59eee3852a7dca4670434ff230a3138180aa3484670763272d8f833
MD5 d5825561b5ae43912791564826ba48ba
BLAKE2b-256 facb6251811941d7467588713e2955451414ad4ef3d03a8f59154e6fd5a59758

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