Metadata-Version: 2.4
Name: metalens-sim-toolkit
Version: 0.1.0
Summary: Standalone CST and COMSOL automation helpers for D-Flat metasurface workflows.
Project-URL: Homepage, https://github.com/<your-org>/metalens-sim-toolkit
Project-URL: Repository, https://github.com/<your-org>/metalens-sim-toolkit
Author: Bill
License: MIT License
        
        Copyright (c) 2025 Dean S. Hazineh
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: automation,comsol,cst,metasurface
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.10
Requires-Dist: numpy>=1.24
Requires-Dist: pandas>=2.0
Provides-Extra: comsol
Requires-Dist: mph; extra == 'comsol'
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.6; extra == 'dev'
Description-Content-Type: text/markdown

# metalens-sim-toolkit

Standalone CST and COMSOL automation helpers extracted from D-Flat.

## What is included

- `metalens_sim_toolkit.cst_automation`
- `metalens_sim_toolkit.comsol_automation`
- shared layout conversion helpers (`optimized_p_to_*_cylinder_table`)

## Quick start (uv)

```bash
uv sync
uv run python -c "import metalens_sim_toolkit.cst_automation as c; print(hasattr(c, 'automate_cst_full_from_optimized_p'))"
```

## COMSOL CLI

```bash
uv run metalens-comsol-auto --help
```

## Publishing with uv

Build:

```bash
uv build
```

Publish to PyPI:

```bash
uv publish --token <PYPI_TOKEN>
```

## Create a new git repo from this folder

```bash
git init
git add .
git commit -m "Initial metalens-sim-toolkit package"
```

