Skip to main content

photonoxide: validated photonics for Rust

photonoxide for Python

photonoxide is a photonics library in Rust whose every method is checked against an analytic solution or a published result, in a validation report. This package brings a part of it to Python, and through Python to MATLAB:

  • the materials catalogue: indices with their source, validity range and conditions;
  • waveguide modes: the exact slab, and full-vector modes of a cross-section with their fields;
  • jobs (TOML, JSON or YAML, or a dict), run as the photonoxide program runs them, and an FDFD job's S-parameters;
  • circuits from a netlist given as data, and Touchstone files.
pip install photonoxide

Wheels for CPython 3.10 and later on Linux, macOS and Windows; nothing else to install.

import photonoxide as po

si = po.refractive_index("si", wavelength_um=1.55).real    # Li 1980
ox = po.refractive_index("sio2", wavelength_um=1.55).real  # Malitson 1965
for polarization in ("te", "tm"):
    for mode in po.slab_modes(below=ox, core=si, above=ox, thickness_um=0.22,
                              polarization=polarization, wavelength_um=1.55):
        print(f"{polarization.upper()}{mode.order}: n_eff = {mode.effective_index:.4f}")

It prints TE0: n_eff = 2.8475 and TM0: n_eff = 2.0531.

Units are in the names (wavelength_um, thickness_um), as photonoxide's job files have them; arrays are NumPy's, in C order, with their coordinates; errors are photonoxide's, with its messages. The package's version is the Rust crate's it was built from. The guide, with MATLAB's use: docs/python.md.

License

MIT or Apache-2.0, at your option.

Metadata

Release files for photonoxide 0.5.3

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

Source distribution (sdist)

Source distribution for photonoxide 0.5.3
File Size Uploaded
photonoxide-0.5.3.tar.gz 1.6 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for photonoxide 0.5.3
File
photonoxide-0.5.3-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details
photonoxide-0.5.3-cp314-cp314t-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 Details
photonoxide-0.5.3-cp314-cp314t-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64 Details
photonoxide-0.5.3-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 Details
photonoxide-0.5.3-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 Details
photonoxide-0.5.3-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details
photonoxide-0.5.3-cp314-cp314t-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64 Details
photonoxide-0.5.3-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
photonoxide-0.5.3-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details
photonoxide-0.5.3-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details
photonoxide-0.5.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
photonoxide-0.5.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
photonoxide-0.5.3-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
photonoxide-0.5.3-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 49.2 MB

Release files / photonoxide-0.5.3.tar.gz

Download URL photonoxide-0.5.3.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
1f2a3ece9f03c4cbbb1aae061df792d82c19ccd6c2e3f12fd3e18a41476eb201
BLAKE2b-256 checksum
How to use checksums
bd0b51b53f6b8850bb515fca9a93eb62899cced2bf07f185355e582de181d54f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp314-cp314t-win_amd64.whl

Download URL photonoxide-0.5.3-cp314-cp314t-win_amd64.whl
Size 3.3 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
365c45b650b42c0e7f03cb0f840fb191c348f7f6d7948d46322212d584087763
BLAKE2b-256 checksum
How to use checksums
57cadd2e4b7fb058cc3fe1657693a8530d1bffe5d341f43db30cb5c3c8a1266a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL photonoxide-0.5.3-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 4.0 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
28a639c957ab9b4ba55b18eaf60312cc443c2916e4680099a0f6ca292fcadbc2
BLAKE2b-256 checksum
How to use checksums
63aa38466d006cdea557567f28004a464ff07dcaed3b145ea54c232af3a75581
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp314-cp314t-musllinux_1_2_aarch64.whl

Download URL photonoxide-0.5.3-cp314-cp314t-musllinux_1_2_aarch64.whl
Size 3.4 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
99c02950eb6fc85b7511e9eb8ad04293317ff893e19aef0f83a7d1ac8d53c119
BLAKE2b-256 checksum
How to use checksums
18c189c4a902772208c105860d396dfe35a926d59590b4462325f26fdc60cba8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL photonoxide-0.5.3-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.8 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6e4cf80c0c62bd82709c5910394fab8448b25d686c384d944b0eccfb380f10d7
BLAKE2b-256 checksum
How to use checksums
792ebf466e70fcac0bc31c6cce731e8e0f25af37109c019a112e040ba0434770
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL photonoxide-0.5.3-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.2 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
47426c8ce31596df572244e852223772d4e16dc23cb12d85a0092426e4c31caf
BLAKE2b-256 checksum
How to use checksums
c69f83da794afc3c0c0509f5f0499da5edca4e6e4239faf7582c762125d181c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp314-cp314t-macosx_11_0_arm64.whl

Download URL photonoxide-0.5.3-cp314-cp314t-macosx_11_0_arm64.whl
Size 2.8 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d862199dea2b9e97817820e9a915d2a049e6bb327723124f3add4e5b45c08ffa
BLAKE2b-256 checksum
How to use checksums
3166affca22b3e93566b55da9baca5825ea2145a2b9abd8dd0e0bd120851570f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp314-cp314t-macosx_10_12_x86_64.whl

Download URL photonoxide-0.5.3-cp314-cp314t-macosx_10_12_x86_64.whl
Size 3.3 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
3efdac9bd2f87b5bc7387a74d19ff1c23dbaf06853acae48a179f5fd1ca1c9d2
BLAKE2b-256 checksum
How to use checksums
c9c4ff8a6863658140f792a9e2eb68f4060381b92b701e4cb6d2eff3851b70df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp310-abi3-win_amd64.whl

Download URL photonoxide-0.5.3-cp310-abi3-win_amd64.whl
Size 3.3 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
6cc5b7d9110c64fdc0a7d7bf0d6b09546a464680037905c23387268ebd32c4f5
BLAKE2b-256 checksum
How to use checksums
dcfa20de66d75ab0331015cce0c1a7a01a2aa330d059eeb8d6a4f2a19f180110
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL photonoxide-0.5.3-cp310-abi3-musllinux_1_2_x86_64.whl
Size 4.0 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
85baa2fd09b4bbf3ba63c73a10739b3e6740566b8066dc339a5fe4ca6213a59b
BLAKE2b-256 checksum
How to use checksums
c8a936fca461909391564d2951c9d8322a10ac550d5f0662041c0613aacc0039
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL photonoxide-0.5.3-cp310-abi3-musllinux_1_2_aarch64.whl
Size 3.4 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
2e4dc864535410ebbecb72549562cec4588dfbbbffb1bf6d3b90fbb767e90310
BLAKE2b-256 checksum
How to use checksums
89ee25c87a8438dab7db812ab54ccb813db705dda13670fd3328525209cc0ad8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL photonoxide-0.5.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.8 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
b6fae1474db788dd8bf5af778019c478a8a3938aa4a0caf472fda1391991f060
BLAKE2b-256 checksum
How to use checksums
9dd09189b28a51d7b7e3d02b8ecc654d1159d8024409f103115995e13f851e89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL photonoxide-0.5.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.2 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
43b9f3928dcb40675f03e530a0cac84264518725cf985a434e8fe5f4e200d621
BLAKE2b-256 checksum
How to use checksums
d88480c94b37ab45ec1b711e1a0bd5e475273562c2d7e7354bfc2c2fe2b42e0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp310-abi3-macosx_11_0_arm64.whl

Download URL photonoxide-0.5.3-cp310-abi3-macosx_11_0_arm64.whl
Size 2.9 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8abbf86a656d022d6ba30e4071a18815e538f32ecb07871ae94e93b827c4e474
BLAKE2b-256 checksum
How to use checksums
461327b46c00bee230bc19aac2ea8660b380f1604900c48e9e79522204e262e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / photonoxide-0.5.3-cp310-abi3-macosx_10_12_x86_64.whl

Download URL photonoxide-0.5.3-cp310-abi3-macosx_10_12_x86_64.whl
Size 3.3 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
766cb74b903bec086236a0b14d803c25d85fb1a5a21eb0e7c3dafda74a101b4f
BLAKE2b-256 checksum
How to use checksums
af91466dd84a25f8af31ed77d87bc4ef51335f4daf093b92e9c9882017c902c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.3 This release

15 release files

0.5.2

15 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