Skip to main content

gdsfactory plugins

Project description

gplugins 2.1.0

docs PyPI PyPI Python MIT codecov

GDSFactory plugins

Run simulations with GDSFactory by installing plugins.

  • Device simulators
    • Meshing
    • FDTD
      • Ansys Lumerical
      • tidy3d
      • Luminescent
      • FDTDz
      • MEEP
    • FEM
      • femwell Finite Element Method Solver (heaters, modes, TCAD, RF waveguides).
      • elmer for electrostatic (capacitive) simulations.
      • palace for full-wave driven (S parameter) and electrostatic (capacitive) simulations.
    • EME
      • meow Eigen Mode Expansion (EME).
    • Mode Solver
      • Tidy3d
      • Femwell
      • MPB
    • TCAD
      • devsim TCAD device simulator.
  • Circuit simulations
    • sax S-parameter circuit solver.
    • vlsir for parsing GDS-extracted circuit netlists into Cadence Spectre, NgSpice and Xyce Schematic File formats.

Installation

You can install most plugins with:

pip install "gdsfactory[full]" --upgrade

Or list the plugins individually:

pip install "gplugins[devsim,femwell,gmsh,schematic,meow,meshwell,sax,tidy3d]" --upgrade

Or install only the plugins you need. For example:

pip install "gplugins[schematic,femwell,meow,sax,tidy3d]" --upgrade

Non-pip plugins

The following plugins require special installation as they can't be installed with pip:

  • For Meep and MPB you need to use conda or mamba on MacOS, Linux or Windows WSL (Windows Subsystem for Linux) with conda install pymeep=*=mpi_mpich_* -c conda-forge -y
  • For Elmer, refer to Elmer FEM – Installation for installation or compilation instructions each platform. Gplugins assumes ElmerSolver, ElmerSolver_mpi, and ElmerGrid are available in your PATH environment variable.
  • For Palace, refer to Palace – Installation for compilation instructions using Spack or Singularity. Gplugins assumes palace is available in your PATH environment variable.

Installation for contributors

We recommend uv for installing GDSfactory. If you don't already have uv, install with the following command:

# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

-Then you can install gplugins and its dependency groups with:

uv venv --python 3.12
uv sync --extra docs --extra dev # --extra tidy3d --extra femwell ...

Getting started

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

gplugins-2.1.0.tar.gz (531.5 kB view details)

Uploaded Source

Built Distribution

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

gplugins-2.1.0-py3-none-any.whl (653.2 kB view details)

Uploaded Python 3

File details

Details for the file gplugins-2.1.0.tar.gz.

File metadata

  • Download URL: gplugins-2.1.0.tar.gz
  • Upload date:
  • Size: 531.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for gplugins-2.1.0.tar.gz
Algorithm Hash digest
SHA256 54706afb16f40e569a1a3579f152636a3f980cf640db91d113963e4c1754f9ae
MD5 106f40b985fe035d8a2b4f77173c68f3
BLAKE2b-256 429432a33f76ac08326dfd77d6f4a08db0d4d9a1a856fd675a7cc8d418c75976

See more details on using hashes here.

File details

Details for the file gplugins-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: gplugins-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 653.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for gplugins-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a96ee1e5957d0e9d29897eddee999524ce26fed1275083c53ecfa6b2e4dafdc
MD5 ee03b8e6add8cfbd4f4e986e25bcc73f
BLAKE2b-256 df38e1a03d6dbc3c1883f31bd73c180cc141fe39347395e544533816b42703cd

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