semvec/pypi-packages huggingface dataset:
regexkit-cli 0.1.0
Regex testing, matching, extraction, and replacement CLI
Requires Python: >=3.8
Keywords: regex, cli, text, pattern, match, extract

# regexkit

Regex testing, matching, extraction, and replacement CLI. Human-friendly output + `--json` for automation.

## Install

```bash
pip install regexkit-cli
```

## Commands

```bash
regexkit test '\d+' "abc 123"              # Test if pattern matches
regexkit match '(\w+)@(\w+\.\w+)' text     # Find all matches with groups
regexkit extract '\b\d{3}\b' -f data.txt    # Extract matches, one per line
regexkit replace 'foo' 'bar' "foo baz foo"  # Replace matches
regexkit split '[,;]' "a,b;c"              # Split by pattern
regexkit escape 'hello.world*'              # Escape special chars
regexkit explain '^\d{3}-\d{4}$'            # Explain pattern tokens
```

All commands support `-i` (ignorecase), `-m` (multiline), `-s` (dotall), `--json`, and file/stdin input.

## For AI Agents

See [SKILL.md](SKILL.md) for agent-optimized documentation.

## License

MIT
coil-geom 0.1.9
Parametric coil and inductor geometry generator
Requires Python: >=3.9

![PyPI - Version](https://img.shields.io/pypi/v/coil-geom)
![PyPI - License](https://img.shields.io/pypi/l/coil-geom)

# coil-geom

**coil-geom** is a Python package for generating and visualizing **coil and inductor geometries** using clean, parametric definitions.  
It is designed for engineering, scientific visualization, and symbolic / schematic-style plotting.

- Pure geometry first (NumPy-friendly)
- Easy plotting with Matplotlib
- Suitable for electronics, physics, and CAD-style workflows

---

## 🔗 Project Links
* **GitHub Repository**: [https://github.com/uhwang/Coil-Geom](https://github.com/uhwang/Coil-Geom)
* **PyPI Page**: [https://pypi.org/project/coil-geom/](https://pypi.org/project/coil-geom/)
* **Issue Tracker**: [Report a bug](https://github.com/uhwang/Coil-Geom/issues)
## Installation

```bash
pip install coil-geom
```

# Mathematical Background
<p align="center">
  <img src="https://raw.githubusercontent.com/uhwang/Coil-Geom/main/images/coil-diag-01.jpg" width="90%" />
  <img src="https://raw.githubusercontent.com/uhwang/Coil-Geom/main/images/coil-diag-02.jpg" width="90%" />
  <img src="https://raw.githubusercontent.com/uhwang/Coil-Geom/main/images/coil-diag-03.jpg" width="90%" />
  <img src="https://raw.githubusercontent.com/uhwang/Coil-Geom/main/images/coil-diag-04.jpg" width="90%" />
  <img src="https://raw.githubusercontent.com/uhwang/Coil-Geom/main/images/coil-diag-05.jpg" width="90%" />
  <img src="https://raw.githubusercontent.com/uhwang/Coil-Geom/main/images/coil-diag-06.jpg" width="90%" />  
</p>

```Python
import matplotlib.pyplot as plt
import coil_geom as cg

coil = cg.CoilGeom()
xc, yc = coil.circle_coil()
xe, ye = coil.ellipse_coil()
xu, yu = coil.circle_coil(p_dist=-0.7)

fig, axs = plt.subplots(nrows=3, ncols=1, sharex=True, figsize=(8, 6))
fig.suptitle('Circle & Ellipse Coil Geometry')
axs[0].plot(xc, yc)
axs[1].plot(xe, ye)
axs[2].plot(xu, yu)

plt.show()
```