Skip to main content

Higher-Level Pythonic Ansys Electronics Data Base

Project description

PyEDB

PyAnsys PythonVersion MIT DeepWiki Codacy Badge

What is PyEDB?

PyEDB is a high-level Python API for processing complex and large layout designs in the Ansys Electronics Database (EDB) format, which stores information describing designs for Ansys Electronics Desktop (AEDT).

PyEDB is designed to make EDB automation easier to learn and faster to use. It provides high-level, application-oriented workflows for common layout tasks such as:

  • opening and creating EDB projects,
  • editing stackups and materials,
  • working with components, nets, padstacks, and ports,
  • building cutouts,
  • and preparing designs for solver workflows.

For most users, the key point is simple:

PyEDB exposes high-level APIs intended to stay consistent across supported backends.

This means that most users can focus on the public PyEDB API and do not need to think about backend implementation details while getting started.

New user path

If you are new to PyEDB, follow this path:

  1. Install PyEDB
  2. Open or create a design with Edb
  3. Use the Getting started guide and examples
  4. Move to the User guide and API reference as needed

Install

pip install pyedb

Open an EDB project

from pyedb import Edb

edb = Edb(edbpath="myedb.aedb", version="2026.1")

# Your workflow here
# stackup, materials, components, nets, ports, padstacks, cutouts, ...

edb.close()

Advanced: explicitly choose a backend

Most users can work directly with the high-level PyEDB API and do not need to care about backend details.

If needed, backend selection is available through the grpc flag:

from pyedb import Edb

edb = Edb(edbpath="myedb.aedb", version="2026.1", grpc=False)

For backend-specific guidance, compatibility notes, and migration recommendations, see the dedicated backend / compatibility / migration documentation page.

About PyEDB

PyEDB is part of the larger PyAnsys effort to facilitate the use of Ansys technologies directly from Python. It is intended to consolidate and extend existing functionalities around scripting for EDB to allow reuse of existing code, sharing of best practices, and increased collaboration.

PyEDB includes functionality for interacting with Ansys electromagnetic simulators such as:

  • HFSS,
  • HFSS 3D Layout,
  • Icepak,
  • Maxwell,
  • Q3D,
  • and SIwave.

What is EDB?

EDB provides a proprietary database file format (AEDB) for efficient and fast layout design handling and processing for building ready-to-solve projects. EDB addresses signal integrity (SI), power integrity (PI-DC), and electro-thermal workflows.

You can import an AEDB file into AEDT to modify the layout, assign materials, and define ports, simulations, and constraints. You can then launch any of the Ansys electromagnetic simulators.

EDB runs as a standalone API, which means that you do not need to open a user interface (UI). Because EDB opens the aedb folder for directly querying and manipulating layout design in memory, it provides a fast and efficient way to handle large and complex layouts.

You can also parse an AEDB file from a command line in batch in an Ansys electromagnetic simulator such as HFSS or SIwave. Thus, you can deploy completely non-graphical flows, from layout translation through simulation results.

Additionally, you can use PyAEDT to import an AEDB file into AEDT to view a project, combine 3D designs, or perform simulation postprocessing. EDB also supports 3D component models.

Documentation and issues

Documentation for the latest stable release of PyEDB is hosted at PyEDB documentation: Learn how to install PyEDB, understand the basic concepts, and get started quickly.

  • Installation: Install PyEDB and verify your environment.
  • User guide: The user guide explains workflows and common tasks.
  • API reference: API descriptions and usage details.
  • Examples: Explore end-to-end workflow examples for PyEDB.
  • Contribute: Learn how to contribute to the codebase or documentation.

If you need backend-specific guidance, platform recommendations, or migration planning, see the backend / compatibility / migration page in the documentation.

In the upper right corner of the documentation title bar, there is an option for switching from viewing the documentation for the latest stable release to viewing the documentation for the development version or previously released versions.

On the PyEDB Issues page you can create issues to report bugs and request new features.

On the PyEDB Discussions or the Ansys Developer Discussions page, you can post questions, share ideas, and get community feedback.

To reach the project support team, email pyansys.core@ansys.com.

Backend guidance

PyEDB exposes high-level APIs intended to be backend agnostic.

For most users, backend selection should remain a secondary concern. Beginner workflows and examples should focus on the public PyEDB API rather than backend implementation details.

Use the dedicated backend / compatibility / migration documentation page if you need guidance on:

  • backend selection,
  • platform considerations,
  • compatibility validation,
  • or migration planning.

License

PyEDB is licensed under the MIT License.

This library extends the functionality of EDB by adding a Python interface without changing the core behavior or license of the original software.

The use of PyEDB requires a legally licensed local copy of AEDT. To get a copy of AEDT, see the Ansys Electronics page on the Ansys website.

back to top

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyedb-0.79.0.tar.gz (859.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyedb-0.79.0-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file pyedb-0.79.0.tar.gz.

File metadata

  • Download URL: pyedb-0.79.0.tar.gz
  • Upload date:
  • Size: 859.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pyedb-0.79.0.tar.gz
Algorithm Hash digest
SHA256 ac931ee5863d83e36e36ff4c4582a6036f67ab79276ef1ef7c8b7f2f494ea2bf
MD5 35766e62c3f53de7de203d0e7597ebe5
BLAKE2b-256 2b488830477ae23a60095199c5f1e5e2d7a9defe5b13d258f76c48b6fc5d2857

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyedb-0.79.0.tar.gz:

Publisher: ci-release.yml on ansys/pyedb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyedb-0.79.0-py3-none-any.whl.

File metadata

  • Download URL: pyedb-0.79.0-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pyedb-0.79.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a133eea45da09114206756f0990d3eaf94d0f21d78cb0728b1452dbe031d2da5
MD5 eed24c6c119e3cae9233f2f30202e4e6
BLAKE2b-256 40f700acfc8132ecd3dcb9d158d36e901d313924c87ad195712a34cada2641d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyedb-0.79.0-py3-none-any.whl:

Publisher: ci-release.yml on ansys/pyedb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page