Skip to main content

pygdsdesign provides some function to more efficiently create gds files.

Project description

# PyGDSdesign

PyGDSdesign is a Python library designed to generate GDS files with Python scripts. The library’s is built upon code from GDSpy, a popular open-source toolkit for layout design and manipulation. Moreover, PyGDSdesign use the power of Clipper, to execute precise boolean operations.

## ⚙️ Installation

### 🐍 From pypi

The simplest way is to install PyGDSdesign from pypi. Ensure that you have the required dependencies by running `bash conda install numpy scipy tqdm typing_extensions ` Then just run pip install pygdsdesign.

### ⚒️ From source

Since PyGDSdesign incorporates C++ code that requires compilation (Clipper), ensure that your development environment supports compilation. For instance, you can use Microsoft Visual C++ for Windows.

To install pygdsdesign, simply run: pip install .

(You can also add the -e flag if you want to install the library in editable mode.)

After installing the library, it is recommended to verify the installation to ensure that all the code functions correctly. To do this, use pytest and run the tests provided in the examples folder.

## 🖼️ Gallery

Example of what you can do with pygdsdesign ### Spiral resonator

![spiral resonator](examples/spiral_resonator.png “spiral resonator”)

### CPW resonators

![cpw resonators](examples/cpw_resonators.png “cpw resonators”)

## 🛠️ How to start

You can find many scripts in the Examples/ folder showing different user cases.

## 📜 Licence

The library is shared under the Boost Software License.

## 🙏🏼 Acknowledgment

This library is authored by Étienne Dumur and incorporates significant code from GDSPY, a library written by Lucas H. Gabrielli. For boolean operations, pygdsdesign utilizes Clipper, a library developed by Angus Johnson. Furthermore, the library has been ported from Python 3.8 to 3.11 and beyond by Sacha Wos.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygdsdesign-0.17.7.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygdsdesign-0.17.7-cp311-cp311-win_amd64.whl (132.6 kB view details)

Uploaded CPython 3.11Windows x86-64

File details

Details for the file pygdsdesign-0.17.7.tar.gz.

File metadata

  • Download URL: pygdsdesign-0.17.7.tar.gz
  • Upload date:
  • Size: 2.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for pygdsdesign-0.17.7.tar.gz
Algorithm Hash digest
SHA256 a9939cccbd2d2b10852e5a9eb1c335d3fbc77b1af4e4ad34c812f204ca3dd6d2
MD5 8b4697aa9d8398385b984e68a18e170f
BLAKE2b-256 8c31ada61bd8b8aff79eb89804dfd69bd50a2de42b0255305d06d484b21a96b8

See more details on using hashes here.

File details

Details for the file pygdsdesign-0.17.7-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pygdsdesign-0.17.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 68cb5359bb420cfa77a1a855a5e2973f675e5a63bb47eb3ba0ad2b5ff447e4cf
MD5 c4ee6b0de4e77ab4ea53cfee70614254
BLAKE2b-256 6ec4f25cec9a5c3a5ef39f3f8e4a498e6792d7838a8b521f1a3a31bd73096492

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page