Metadata-Version: 2.4
Name: sagar_the_calculator
Version: 1.0.0
Summary: A fully functional command-line calculator by Sagar
Home-page: https://github.com/yourusername/sagar_the_calculator
Author: Sagar Kandel
Author-email: kandelsagar97@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# Sagar's Calculator 🧮

A simple, fully functional command-line calculator by Sagar.

## Installation

```bash
pip install sagar_the_calculator
```

## Usage

### As a command-line tool

```bash
sagar-calc
```

### As a Python library

```python
from sagar_the_calculator import add, subtract, multiply, divide, power, modulo, square_root

print(add(10, 5))         # 15
print(subtract(20, 8))    # 12
print(multiply(6, 7))     # 42
print(divide(100, 4))     # 25.0
print(power(2, 10))       # 1024
print(modulo(17, 5))      # 2
print(square_root(144))   # 12.0
```

### Interactive mode

```
>>> 10 + 5
  = 15.0
>>> sqrt 144
  = 12.0
>>> quit
Goodbye! 👋
```

## Supported Operations

| Operation   | Symbol | Example       |
|-------------|--------|---------------|
| Addition    | `+`    | `10 + 5`      |
| Subtraction | `-`    | `20 - 8`      |
| Multiply    | `*`    | `6 * 7`       |
| Division    | `/`    | `100 / 4`     |
| Power       | `**`   | `2 ** 10`     |
| Modulo      | `%`    | `17 % 5`      |
| Square root | `sqrt` | `sqrt 144`    |

## License

MIT License — see LICENSE file for details.
