PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Photonics Python Packages

Python packages with the GitHub topic photonics. Sorted by monthly downloads, with stars and forks.
HelgeGehring
femwell

FEM mode solver for photonic waveguides

26K 181 48
google
ceviche-challenges

A suite of photonic inverse design challenge problems for topology optimization benchmarking

12K 126 17
fangq
pmcxcl

Monte Carlo eXtreme for OpenCL (MCXCL)

11K 47 34
yaugenst
treams-rs

A Rust port of treams with a Python interface and analytic gradients.

9K 2 0
ehsun-sh
maiman

Open-source, modular simulator for optical communication links and photonic systems: Python engine and API with a visual studio. 77 components, 48 lessons, validated against published results

8K 3 0
MartinPdeS
pyfibermodes

Python toolkit for guided-mode analysis and design of circular step-index and multilayer optical fibers.

7K 1 2
fangq
pmmc

Mesh-based Monte Carlo (MMC)

6K 58 36
RnLe
blaze2d

A Rust-based 2D PWE Maxwell solver architected specifically for massive parameter sweeps. It significantly outperforms MIT's MPB while achieving a similar accuracy.

5K 0 0
MartinPdeS
lightwave2d

Unit-aware Python toolkit for 2D FDTD simulations of electromagnetic wave propagation, scattering, diffraction, and photonic structures.

4K 7 1
beamzorg
beamz

GPU-accelerated FDTD Python framework for 2D/3D electromagnetic simulation and photonic inverse design.

4K 93 20
holodyne
slmsuite

Python package for high-performance spatial light modulator (SLM) control and holography. Supports features from aberration-corrected 3D point clouds to automated Fourier-domain calibrations.

4K 190 68
TaN-MM-Org
fabtwin

Learned generative process twins for yield-aware inverse design of multilayer optics: exact TMM with a hand-derived adjoint, pathwise CVaR robustification through twin and physics

4K 0 0
MartinPdeS
pymiesimx

Interactive web app for Mie scattering simulations with PyMieSim: explore particles, scan parameters, and calculate ensemble optical properties.

4K 0 0
ardiloot
generaltmm

General 4×4 transfer-matrix method (TMM) for optical simulations of isotropic and anisotropic multilayer structures. C++ core with Python bindings.

4K 8 3
flaport
fdtd

A 3D electromagnetic FDTD simulator written in Python with optional GPU support

3K 723 152
fancompute
legume-gme

🌱 Guided-mode expansion of photonic crystal slabs

2K 150 42
prefab-photonics
librosette

Photonics design tools for agents

2K 11 1
DeepTrackAI
deeptrack

DeepTrack2 is a modular Python library for generating, manipulating, and analyzing image data pipelines for machine learning and experimental imaging.

2K 247 65
jtambasco
modesolverpy

Photonic mode solver with a simple interface.

2K 95 36
PreFab-Photonics
prefab

Artificial nanofabrication of integrated photonic circuits

2K 79 11
cmpmech
cuwave

Single-GPU, differentiable higher-order finite difference wave propagation in Python: intended for inverse problems and structural optimization, e.g., full waveform inversion and transient topology optimization

1K 3 0
tpogden
maxwellbloch

Classical Maxwell fields propagating through open quantum systems: Maxwell's equations coupled to the Lindblad master equation.

1K 35 13
Aegiq
lightworks

Lightworks is an open-source Python SDK for photonic quantum computing.

1K 4 1
alexysong
inkstone

Efficient electromagnetic solver based on rigorous coupled-wave analysis for 3D and 2D multi-layered structures with in-plane periodicity, such as gratings, photonic-crystal slabs, metasurfaces, surface-emitting lasers, nano-antennas, and more.

925 75 27
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology