Skip to main content

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

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

CPW resonators

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.

Metadata

Release files for pygdsdesign 0.17.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygdsdesign 0.17.9
File Size Uploaded
pygdsdesign-0.17.9.tar.gz 156.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pygdsdesign 0.17.9
File Interpreter ABI Platform
pygdsdesign-0.17.9-py3-none-any.whl Python 3 none any Details
pygdsdesign-0.17.9-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details

Total release size: 384.9 kB

Release files / pygdsdesign-0.17.9.tar.gz

Download URL pygdsdesign-0.17.9.tar.gz
Size 156.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c94c1ae27566c40b387575a0fb3e4ccb96e69ef187e89db3f83c83ffe70b12a5
BLAKE2b-256 checksum
How to use checksums
80e2b78393347e0d6a239ef62724d9087c0052bb30587f6d519d5280e4faeaf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.12

Release files / pygdsdesign-0.17.9-py3-none-any.whl

Download URL pygdsdesign-0.17.9-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f3aca3e888b11d52962b98046aa6f6a4b8024a7d34c51aac44b251a8f85a6ba
BLAKE2b-256 checksum
How to use checksums
072f740d553e844f1cab6d6c6c7e1c78ad283480b81e09623609b2c22523fe53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.12

Release files / pygdsdesign-0.17.9-cp311-cp311-win_amd64.whl

Download URL pygdsdesign-0.17.9-cp311-cp311-win_amd64.whl
Size 225.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
ec2eb938ce8c1586bde62dd4ff0d691abe8ade4cc12afd78695ea6130e73fa96
BLAKE2b-256 checksum
How to use checksums
73f9921e627cd1a3f146df859753b1026f86611b6e5ab02d785579884df574c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.12

Release history Release notifications | RSS feed

This release

0.17.9 This release

3 release files

0.17.8

1 release file

0.17.7

2 release files

0.17.6

2 release files

0.17.5

2 release files

0.17.3

2 release files

0.17.1

3 release files

0.16.1

2 release files

0.16.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page