Metadata-Version: 2.4
Name: calculator_package_wdboone
Version: 0.0.3
Summary: A simple calculator package
Author: Willie D. Boone
License-Expression: MIT
Project-URL: Homepage, https://github.com/wdboone/calculator_package_wdboone
Project-URL: Documentation, https://github.com/wdboone/calculator_package_wdboone/
Keywords: calculator_package_wdboone,Python Packaging,Calculator
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: tqdm~=4.0
Provides-Extra: test
Requires-Dist: tox==4.65.5; extra == "test"
Requires-Dist: pytest==9.1.1; extra == "test"
Requires-Dist: mypy==2.4.0; extra == "test"
Requires-Dist: ruff==0.17.0; extra == "test"
Requires-Dist: pre-commit==4.6.2; extra == "test"
Requires-Dist: types-tqdm==4.70.0.20260906; extra == "test"
Dynamic: license-file

# calculator_package_wdboone

[![Tests](https://github.com/wdboone/calculator_package_wdboone/actions/workflows/tests.yaml/badge.svg)](https://github.com/wdboone/calculator_package_wdboone/actions/workflows/tests.yaml)
[![PyPI](https://img.shields.io/pypi/v/calculator_package_wdboone)](https://pypi.org/project/calculator_package_wdboone/)
[![Python](https://img.shields.io/pypi/pyversions/calculator_package_wdboone)](https://pypi.org/project/calculator_package_wdboone/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

A small, fully tested and type-checked calculator package used to practice
industry-level Python packaging.

* [Description](#description)
* [Installation](#installation)
* [Usage](#usage)
* [Development](#development)
* [License](#license)

## Description

`Calculator` does add, subtract, multiply and divide. `FileCalculator` sums
the numbers in a file and shows a progress bar.

## Installation

```bash
pip install calculator_package_wdboone
```

## Usage

```python
from calculator_package_wdboone import Calculator

print(Calculator().add(1, 2))  # 3
```

Or from the terminal: `calc`

## Development

```bash
git clone git@github.com:wdboone/calculator_package_wdboone.git
cd calculator_package_wdboone
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[test]"
pre-commit install
tox
```

## License

MIT
