Metadata-Version: 2.4
Name: dual_math
Version: 0.0.1
Summary: A packages for a mathmatical nations in a data-structure
Author-email: Mohammad Sadeghi <mohammadsadeghi1082@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/mohammadaitech
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENCE
Dynamic: license-file

# dual_math

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

---

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

---

## Installation
```bash
pip install dual_math
```

## USAGE

```bash
from dual_math import smartEval

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

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

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

```
