GDSII manipulation, written in rust.
The documentation for this project is available at matthewmckee4.github.io/gdsr/.
I recommend using uv to manage your python packages.
To install and use yourself:
uv pip install gdsr
To use from source code:
uv pip install requirements-dev.txt
maturin develop
# or
uv pip install .
gdsr offers many features which include but are not limited to:
- Easy reading from and writing to gds files
- Strictly typed python code
- Easy to understand code
My main inspiration comes from gdstk. If you are looking for an extremely fast gds manipulation python package then i would strongly recommend heading over and having a look at his work.
Other inspirations include:
A simple program below shows the easy to use interface.
import gdsr
library = gdsr.Library("My First Library")
cell = gdsr.Cell("My First Cell")
cell.add(gdsr.Text("Hello, World!"))
library.add(cell)
library.to_gds("My first gdsr output.gds")
Head over to the discussions page and create a new discussion there or have a look at the issues page to see if anyone has had the same issue as you.