photonoxide for Python
photonoxide is photonics design and simulation software written in Rust: a live desktop studio, a Rust library and these Python bindings. Its methods pages derive each solver from the papers it implements, its Academy teaches devices and numerical methods, and its fabrication flows show how a design would be made; every method is checked against an analytic solution or a published result in a validation report. This package brings a part of the library to Python:
- 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 (YAML, TOML or JSON, 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;
- the devices of the photonoxide studio's component pages (waveguides, bends, couplers, rings, MMIs, Y-branches, MZIs): their S-parameters, figures, geometry and jobs, the same numbers as the studio's for the same design.
uv add photonoxide # with uv, in a uv project
uv pip install photonoxide # or into the active environment; pip install photonoxide works too
Wheels for CPython 3.10 and later on Linux, macOS and Windows; nothing else to install.
import photonoxide as phox
si = phox.refractive_index("si", wavelength_um=1.55).real # Li 1980
ox = phox.refractive_index("sio2", wavelength_um=1.55).real # Malitson 1965
for polarization in ("te", "tm"):
for mode in phox.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:
docs/python.md. Every
function and class, from the package's docstrings and type stubs: the
API reference.
License
MIT or Apache-2.0, at your option.
Metadata
Release files for photonoxide 0.6.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| photonoxide-0.6.4.tar.gz | 4.9 MB | With provenance | Details for photonoxide-0.6.4.tar.gz |
Built distributions (wheels)
Total release size: 118.9 MB
Release files / photonoxide-0.6.4.tar.gz
| Download URL | photonoxide-0.6.4.tar.gz |
|---|---|
| Size | 4.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b88797c0e2335ff1d81600d5c82e5a085420284fba8fc6e6ee31b4f23f8cdc0
|
|
BLAKE2b-256 checksum How to use checksums |
315002242ccde0c2520dc869cec0ccc392d936187818a3173c56293674bca279
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp314-cp314t-win_amd64.whl
| Download URL | photonoxide-0.6.4-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 8.7 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ba17d0ace4d3f206691021b7a38dfadf5e779e8ce5030a6f55ee9c4fbfe60881
|
|
BLAKE2b-256 checksum How to use checksums |
690e672cea7edb090ce76265fa0b648d7529a6865b7ed66e3bb9adb869c7366f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp314-cp314t-musllinux_1_2_x86_64.whl
| Download URL | photonoxide-0.6.4-cp314-cp314t-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 8.8 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
027f811be29a9b7aba160ca96bf3dfe39c5cc1a2322831c897853c67f744a84c
|
|
BLAKE2b-256 checksum How to use checksums |
9b544e4168ccd94e0adea374f0197d9cce2e27ace1901e164262383dca9d929a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp314-cp314t-musllinux_1_2_aarch64.whl
| Download URL | photonoxide-0.6.4-cp314-cp314t-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 7.8 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
82c9c89c52f5c167b7ee9c151c5f004dfb465aad8aa5506a5c547d48c9ea375d
|
|
BLAKE2b-256 checksum How to use checksums |
d72211301e7c759ca11239561d3c6ebd72ff670c1def9f973ebd937d3deacf1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | photonoxide-0.6.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 8.6 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
09de6f3cccb748802d5441d281bbfd20b30eac5e2afb8e5994bda25df5f289aa
|
|
BLAKE2b-256 checksum How to use checksums |
bc577134e3d7c5878349e828aad7d0b571d63b4d6da3a96e670984a240040eb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | photonoxide-0.6.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
584386e9578385150f568120276ac88cbafbf004d84350ba11301ed4e1e21f63
|
|
BLAKE2b-256 checksum How to use checksums |
3c167e814f2af38d53292481ed6992054faf401f2073c4ecba8a696555e7beae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | photonoxide-0.6.4-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 7.3 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e9be198b75bf5bdc5c4931bb9c7f23d6926a1f786167c93cf3650681dee1bb13
|
|
BLAKE2b-256 checksum How to use checksums |
d1b64975157c9e22800ca4737fbe22e0ac2e76d301d2a90eead58cafe208cf46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp314-cp314t-macosx_10_12_x86_64.whl
| Download URL | photonoxide-0.6.4-cp314-cp314t-macosx_10_12_x86_64.whl |
|---|---|
| Size | 8.1 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
15836c2a7f4b8c4a4189326c211279979a1e39125065f484e0f82a9d8734d3f8
|
|
BLAKE2b-256 checksum How to use checksums |
219ddf2115a0c0e272cc85ca87cb1fefa985b4d1f9da1caded88d47068ff7f2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp310-abi3-win_amd64.whl
| Download URL | photonoxide-0.6.4-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 8.7 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ea00662f5e40a46fdbe0281c6cca2bd643681274a13400b0051f707c14b91015
|
|
BLAKE2b-256 checksum How to use checksums |
a586fba2a48fdecd9210bb47ca2f0ba6bdcdfd1509618efcbee1041590efdf36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | photonoxide-0.6.4-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 8.8 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
f7c9acba928b50652b01df3f1a7cfe85c381dcae58be186e9b3154ce68bb2979
|
|
BLAKE2b-256 checksum How to use checksums |
1cdae4428c68fbed0e22e862f12a692dbc3c65e436d19ffcadc6a3d699fa865f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | photonoxide-0.6.4-cp310-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 7.8 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
ee3b77d5ad09165e49db0c56d9ad50452c051daf41684bce630cc9c7fac81a58
|
|
BLAKE2b-256 checksum How to use checksums |
f991de5ef5e76f11123012a06371f5c13215e0571154af59422b01cccb243863
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | photonoxide-0.6.4-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 8.6 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
92d02fc0de55408ebb24b93c2641eca276f7c3a5ddabd5307fec93de9481c87c
|
|
BLAKE2b-256 checksum How to use checksums |
f20343f35214011b53e66f662497b67eae22e705543419d28a88ba550c4f63de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | photonoxide-0.6.4-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
9f38e64cdf6a5967b45bd1b257ace18b16d43563032972533b9d869c78f65139
|
|
BLAKE2b-256 checksum How to use checksums |
69c592f0869b4b8c5331771d4e88a857e2e1359b26760b9272583b1674a92565
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | photonoxide-0.6.4-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 7.3 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5b4a75085a351266363b6c284e218cc99150e41e4618194eaad5a9ce33278a0b
|
|
BLAKE2b-256 checksum How to use checksums |
332b9e1c2f27901963206cfd7d1274f4915f1fc6fb51edbe7396b155b703fda9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / photonoxide-0.6.4-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | photonoxide-0.6.4-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 8.1 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
a303526a4033edaad26a0133703118b95c9e7fe818524a386a3d6a83d09368b5
|
|
BLAKE2b-256 checksum How to use checksums |
6d4001ba43d02b26767b3fbb10d255db855de25b35a0a6942acb8f3e1be68044
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logSecurity for photonoxide 0.6.4
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.
Full provenance
All 15 files in this release have been uploaded with provenance metadata.
Attestation for photonoxide-0.6.4.tar.gz
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 Nov 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.