Metadata-Version: 2.4
Name: librosette
Version: 0.1.2
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
Classifier: Typing :: Typed
Requires-Dist: watchfiles>=0.20
Requires-Dist: libcst>=1.0
License-File: LICENSE
Summary: A fast, intelligent, and accessible layout editor
Keywords: photonics,gdsii,layout,silicon-photonics,eda,pdk
License-Expression: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Bug Tracker, https://github.com/prefab-photonics/rosette/issues
Project-URL: Homepage, https://rosette.dev
Project-URL: Repository, https://github.com/prefab-photonics/rosette

# Rosette

A modern GDSII layout editor for integrated circuits. Fast. Intelligent. Accessible.

By [PreFab Photonics](https://prefabphotonics.com).

### Highlights

- **Fast** — A Rust core and GPU rendering that keeps you in the flow. From geometry operations to live preview, every layer of the stack is built for speed.
- **Intelligent** — AI-native from the ground up. Agent instructions and direct code access give LLM agents the context to design circuits alongside you.
- **Accessible** — A clean Python API, a modern desktop app, and documentation written for engineers. Professional tools without the learning cliff.

## Quickstart

Requires [uv](https://docs.astral.sh/uv/) and Python 3.11+.

```bash
mkdir my-chip && cd my-chip
uv init
uv add librosette
uv run rosette init
```

`rosette init` walks you through template and AI tool selection, then scaffolds your project with editable components, layer config, and agent instructions.

### Commands

| Command                  | Description                           |
| ------------------------ | ------------------------------------- |
| `rosette init`           | Initialize rosette in current project |
| `rosette build <design>` | Compile a design script to GDS        |
| `rosette serve [design]` | Start dev server with live preview    |
| `rosette run <file.gds>` | View a GDS file                       |

Run commands with `uv run rosette <command>`, or activate the venv first (`source .venv/bin/activate`).

## License

MIT

