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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pygdsdesign-0.17.1.tar.gz
.
File metadata
- Download URL: pygdsdesign-0.17.1.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b86e831ce8a1d3be78f8c3abbf4c037c50bb8189bfd256cb137314b085bc8ae |
|
MD5 | 37ab1a67154db42573fad0a22317687f |
|
BLAKE2b-256 | ca19226c50f770ff804fea62511d2e218eb4bfa858ba0a8f6a42e2c76e034a10 |
File details
Details for the file pygdsdesign-0.17.1-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: pygdsdesign-0.17.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 123.7 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acdbdd98bc1950ac3278f1e4df9c3ee8876d1c541aff85077eb6681a0407549d |
|
MD5 | 3c86bd49c7e1a61a0b6bab6f5174fc27 |
|
BLAKE2b-256 | b9ed1d9a5f35b9a9138da146cf1fb16ddf25947ac7baf1dfba66995d8019bbe6 |
File details
Details for the file pygdsdesign-0.17.1-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: pygdsdesign-0.17.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 123.1 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b73f9616f6cb874de97b7a06905e6a0f04919a260955eb0591a59b2248c43efd |
|
MD5 | 8cb46aa97bfd29cd362b7fdb64bd45fd |
|
BLAKE2b-256 | a8504c9ddcdc74f7170fb29db947432726ba4b2963dc95b9404c87f9adebfc41 |