Skip to main content

EMpy - ElectroMagnetic Python

CI PyPI

EMpy - ElectroMagnetic Python is a suite of algorithms widely known and used in electromagnetic problems and optics: the transfer matrix algorithm, the rigorous coupled wave analysis algorithm and more.

Run the examples in examples/* to have an idea how EMpy works.

Visit https://lbolla.github.io/EMpy/ for more information.

Installation

pip install ElectromagneticPython

Optionally, install bvp:

pip install scikits.bvp1lg

Development

First, download the source code from https://github.com/lbolla/EMpy.

EMpy is managed with uv (https://docs.astral.sh/uv/):

Install dev environment with:

make develop

Run tests with:

make test

Run examples with, e.g.:

uv run examples/ex_APRR.py

Upgrade dependencies with uv:

make upgrade

Release process

Package version is handled by setuptools_scm/uv:

make release PART=...

GitHub actions will build and upload the package to PyPI.

Citation

If you find EMpy useful in your job, please consider adding a citation.

As reference:

Bolla, L. (2017). EMpy [Computer software]. https://github.com/lbolla/EMpy/

As text:

We used EMpy (version x.y.z) to complete our work.

Metadata

Release files for ElectroMagneticPython 2.2.4

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

Source distribution (sdist)

Source distribution for ElectroMagneticPython 2.2.4
File Size Uploaded Provenance Actions
electromagneticpython-2.2.4.tar.gz 236.3 kB Without provenance Details for electromagneticpython-2.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ElectroMagneticPython 2.2.4
File Interpreter ABI Platform Actions
electromagneticpython-2.2.4-py3-none-any.whl Python 3 none any Details for electromagneticpython-2.2.4-py3-none-any.whl

Total release size: 374.1 kB

Release files / electromagneticpython-2.2.4.tar.gz

Download URL electromagneticpython-2.2.4.tar.gz
Size 236.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dd44a559310692494ad7795cac88202688009d2247975eacda3e7896640f4656
BLAKE2b-256 checksum
How to use checksums
78077766cda8855ec52d29bd095a98131a08a2a7d04cff0be98af1959fe1bef0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / electromagneticpython-2.2.4-py3-none-any.whl

Download URL electromagneticpython-2.2.4-py3-none-any.whl
Size 137.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc738076f72ea2cf0864e2921bd994f930cc6cb991190d49ca2326af69a7452a
BLAKE2b-256 checksum
How to use checksums
ac454f824675b9083ff92593dc8b6dbf5b9c8ff954f1a3e28a59b71925287e1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for ElectroMagneticPython 2.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

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