Skip to main content

A packages for a mathmatical nations in a data-structure

Project description

easy_math

easy_math - easy_math Expression Evaluator
A lightweight Python package for evaluating mathematical expressions in both prefix and postfix (RPN) easy_math with automatic detection.


Features

  • 🔍 Auto-Detection: Automatically identifies prefix or postfix easy_math
  • ⚡ Fast Evaluation: Efficient stack-based algorithm
  • ➕ Operators Supported: +, -, *, / (integer division)
  • 🐍 Pure Python: No external dependencies

Installation

pip install easy_math_ms

USAGE

from easy_math import smartEval

result1 = smartEval(["2", "3", "+", "4", "*"])

result2 = smartEval(["*", "+", "2", "3", "4"])

print(f"Results: {result1}, {result2}")

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_math_ms-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

easy_math_ms-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file easy_math_ms-0.1.0.tar.gz.

File metadata

  • Download URL: easy_math_ms-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for easy_math_ms-0.1.0.tar.gz
Algorithm Hash digest
SHA256 68405f639954b09fff34b90db4633d4d40ac6a412d0442812ace52c8dbbe0c7d
MD5 b357951b6a2ccb5c945b38f51dc5ae43
BLAKE2b-256 481ef78e24ae8db1b2874e0add2b6ebcd872d072ad9dbbb4cfc20580cf9dec20

See more details on using hashes here.

File details

Details for the file easy_math_ms-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: easy_math_ms-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for easy_math_ms-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70943fd1bd3f65390d80b3e7a75463a4ec9038c77d5f31e695d9b09d67b5fbb5
MD5 4ffb28d71badfa16b6049a47792b3483
BLAKE2b-256 e10c4e9dec4be2cb6ce5b590204db72ff4153594f0d158593e68fd3f101009f3

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