Metadata-Version: 2.4
Name: yc-calculator
Version: 0.1.0
Summary: A simple calculator package for learning Python packaging
Author: YC
License: MIT
Project-URL: Homepage, https://github.com/YC-1412/simple-calculator
Project-URL: Repository, https://github.com/YC-1412/simple-calculator
Project-URL: Issues, https://github.com/YC-1412/simple-calculator/issues
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.20.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: black>=22.0.0; extra == "dev"
Requires-Dist: flake8>=5.0.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Dynamic: license-file

# Simple Calculator

A simple calculator package for learning Python packaging with setuptools and pyproject.toml.

## Installation

```bash
pip install simple-calculator
```

## Usage

### As a Python module

```python
from simple_calculator import Calculator

calc = Calculator()
result = calc.add(5, 3)  # Returns 8
result = calc.multiply(4, 7)  # Returns 28
```

### As a command-line tool

```bash
calc add 5 3
calc multiply 4 7
calc sqrt 16
```

## Development

Install development dependencies:

```bash
pip install -e ".[dev]"
```

Run tests:

```bash
pytest
```

Format code:

```bash
black src/ tests/
```

## License

MIT License 
