semvec/pypi-packages huggingface dataset:
simple-math-toolkit 0.1.2
A tiny, multi-module math toolkit with basic arithmetic, algebra, stats, and geometry (library-only).
Requires Python: >=3.9


# simple-math-toolkit (library-only)

A tiny Python math library with a few modules:

- `arithmetic`: `add`, `sub`, `mul`, `div`
- `algebra`: `quadratic_roots`
- `stats`: `mean`, `median`
- `geometry`: `area_circle`, `perimeter_rectangle`

## Install
```bash
pip install simple-math-toolkit
```

## Use from Python
```python
from simple_math_toolkit.arithmetic import add, div
from simple_math_toolkit.algebra import quadratic_roots
from simple_math_toolkit.stats import mean, median
from simple_math_toolkit.geometry import area_circle, perimeter_rectangle

print(add(2, 3))                      # 5
print(div(10, 4))                     # 2.5
print(quadratic_roots(1, -3, 2))      # (1.0, 2.0)
print(mean([1, 2, 3, 4]))             # 2.5
print(median([1, 2, 3, 4]))           # 2.5
print(area_circle(1.5))               # 7.0685...
print(perimeter_rectangle(2.0, 3.0))  # 10.0
```
shellfish 0.7.1
shellfish ~ shell & file-system utils
Requires Python: <4.0,>=3.11
Keywords: dgpy, filesystem, fs, shell, typed

<a href="https://github.com/dynamic-graphics-inc/dgpy-libs">
<img align="right" src="https://github.com/dynamic-graphics-inc/dgpy-libs/blob/main/docs/images/dgpy_banner.svg?raw=true" alt="drawing" height="120" width="300"/>
</a>

# shellfish

[![Wheel](https://img.shields.io/pypi/wheel/shellfish.svg)](https://img.shields.io/pypi/wheel/shellfish.svg)
[![Version](https://img.shields.io/pypi/v/shellfish.svg)](https://img.shields.io/pypi/v/shellfish.svg)
[![py_versions](https://img.shields.io/pypi/pyversions/shellfish.svg)](https://img.shields.io/pypi/pyversions/shellfish.svg)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

**Install:** `pip install shellfish` OR `uv add shellfish`

**What:** shellfish = shell & file-system utils; async & sync

**Features:**

- Pydantic models
- Async(io) shell/file-system utils
- Type annotated

**TODO:**

- [x] Add support for acceptable return codes
- [ ] Look into breaking down shellfish.sh into smaller modules