Registry / data / pyaedt

pyaedt

JSON →
library1.1.0pypypi✓ verified 82d ago

High-level Python API for automating Ansys Electronics Desktop (AEDT). Currently at version 0.26.3 with frequent releases (approximately monthly). Python >=3.10 required.

pip install pyaedt
INSTALL
IMPORT
SIG · PYAEDT
P
pyaedt
datapythonv1.1.0
Install
12.8s avg
Import
1080ms
Disk
204MB
Pass rate
9/ 10
Env Coverage9 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 12.9s
py 3.11
✓ —
✓ 11.2s
py 3.12
✓ —
✓ 9.7s
py 3.13
✓ —
✓ 10.1s
py 3.9
✕ timeout
✓ 20.2s
204MB installed
● package 204MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Hfss
from ansys.aedt.core import Hfss
from pyaedt import Hfss

Initialize a new HFSS design. Replace version string as needed.

from pyaedt import Hfss hfss = Hfss(specified_version="2025.1", new_desktop=True) hfss.close_desktop()
Debug
Known issues
deprecatedDirect import of submodules like 'from pyaedt.hfss import Hfss' is deprecated. Use 'from pyaedt import Hfss'.
fix
Replace with 'from pyaedt import Hfss'.
affects: >=0.26.0
breakingIn v0.26.0, the 'desktop_class' parameter is replaced by 'new_desktop' and 'close_on_exit'.
fix
Use Hfss(new_desktop=True, close_on_exit=True) instead of Hfss(desktop_class=True).
affects: >=0.26.0
gotchaPyAEDT requires AEDT to be installed and licensed. Errors like 'OSError: AEDT not found' occur if AEDT is not in the expected path.
fix
Ensure Ansys Electronics Desktop is installed and the version matches the specified_version. Set environment variable ANSYSEM_ROOT2025.1 to the install path.
affects: all
gotchaNon-graphical mode must be used in CI/headless environments. Without it, AEDT may try to launch the GUI and fail.
fix
Set environment variable PYAEDT_NON_GRAPHICAL=1 before importing pyaedt.
affects: all
Upgrade
Version history
1.1.0latest on PyPI · released Jun 12, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
6
Resources
pyaedt — pip install pyaedt · libregistry