Skip to main content

klayout-pex-plugin-kqcircuits

Development scaffold for exporting KLayout-PEX PEX25D scenes through KQCircuits to Elmer.

The exporter is not implemented yet. This repository provides package discovery, the exporter interface, contract tests and release infrastructure for the partners who will implement the scene translation. Calling the exporter reports that it is not implemented and writes no solver files.

Intended use

The planned route is:

resolved PEX25D scene → KQCircuits simulation inputs → Gmsh/Elmer run

The motivation is access to the KQCircuits simulation workflow, including its mesh-refinement controls. This is an alternative to the existing klayout-pex-plugin-elmer. It does not depend on that plugin or copy its mesher.

Install for development

Use Python 3.12 or later and Poetry 2:

poetry install
poetry run pex25d exporters

The exporter list includes klayout-pex-plugin-kqcircuits:kqcircuits. Discovery and factory construction work without KQCircuits, Gmsh or Elmer installed. The scaffold does not declare a KQCircuits dependency until an actual adapter has been qualified against a specific version and installation method.

This command demonstrates the current implementation boundary:

poetry run pex25d export testdata/two_nets.pex25d \
  --to kqcircuits --out-dir output_kqcircuits

It exits with status 3 and explains that export is not implemented. It does not create the output directory. Installing this package therefore does not yet provide capacitance extraction through KQCircuits.

Check changes

poetry run pytest
poetry build
poetry run twine check --strict dist/*

Tests cover registration through the real KPEX registry, lazy loading, coexistence with other namespace packages, the CLI failure status and preservation of inputs and existing files. Numerical export and simulation tests belong with the actual adapter implementation.

klayout_pex_plugins is an implicit namespace. Do not add an __init__.py at that level: it would interfere with sibling plugins. Only the kqcircuits child package belongs to this distribution.

Compatibility and licence

  • klayout-pex>=0.9.0,<1
  • Plugin API v1 is provisional and may change before it is declared stable
  • GPL-3.0-or-later, matching the existing KPEX plugins; see LICENSE

Metadata

Release files for klayout-pex-plugin-kqcircuits 0.1.0

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

Source distribution (sdist)

Source distribution for klayout-pex-plugin-kqcircuits 0.1.0
File Size Uploaded Provenance Actions
klayout_pex_plugin_kqcircuits-0.1.0.tar.gz 18.0 kB With provenance Details for klayout_pex_plugin_kqcircuits-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for klayout-pex-plugin-kqcircuits 0.1.0
File Interpreter ABI Platform Actions
klayout_pex_plugin_kqcircuits-0.1.0-py3-none-any.whl Python 3 none any Details for klayout_pex_plugin_kqcircuits-0.1.0-py3-none-any.whl

Total release size: 35.4 kB

Release files / klayout_pex_plugin_kqcircuits-0.1.0.tar.gz

Download URL klayout_pex_plugin_kqcircuits-0.1.0.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
25fd9c77fa15d0a9f750765426b3e4ec58a88374f9b7bc3ed5a55575e4da5a4f
BLAKE2b-256 checksum
How to use checksums
285b13adcd096c41ed67d6f73b2ad9a13c80749b7b479f0ea08e03f22f8ecdbb
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 11, 2026.

Transparency log

Release files / klayout_pex_plugin_kqcircuits-0.1.0-py3-none-any.whl

Download URL klayout_pex_plugin_kqcircuits-0.1.0-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
553515839a4be44d9b6cd8b0dabefff5af429546cdb52be3b0559028cad9246b
BLAKE2b-256 checksum
How to use checksums
6988486fa2b75f2fee12f89cb84eaf16f95f627a306d7490d9ff66c1e03ea9dd
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 11, 2026.

Transparency log

Security for klayout-pex-plugin-kqcircuits 0.1.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for klayout_pex_plugin_kqcircuits-0.1.0.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 11, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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