Metadata-Version: 2.4
Name: librosette
Version: 0.1.5
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).

> **Rosette is in early development.** The API is unstable and will have breaking changes. Not suitable for production use.

### 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.

Run commands with `uv run rosette <command>`, or install the CLI globally with `uv tool install librosette` to use `rosette` directly. See the [installation guide](https://rosette.dev/docs/getting-started/installation) for details.

### Commands

```bash
rosette serve [design.py]         # Dev server with live preview
rosette build design.py           # Build design to GDS
rosette build design.py --check   # Build with DRC pre-check
rosette check design.py           # Run all checks (DRC, ...)
rosette drc design.py             # Run DRC only
rosette run output.gds            # View a GDS file
rosette init                      # Scaffold a new project
```

`ro` is a short alias for `rosette`.

## Documentation

Full docs, API reference, and component library at **[rosette.dev/docs](https://rosette.dev/docs)**.

## License

MIT

