Skip to main content

pdk-schema

Canonical declarations for describing photonic and electronic PDKs.

Version 0.0.2 adds MaterialCard, material regimes, dispersion models, perturbations, provenance, validity, and physical values. It retains the complete LayerStack API published in 0.0.1.

from pdk_schema import Index, MaterialCard, Provenance, Regime, ScalarValue

silicon = MaterialCard(
    name="Si",
    optical=Regime(
        temperature_ref=300.0,
        provenance=Provenance(
            source="literature",
            label="example optical model",
            maturity="simulation",
            citations=[],
            comment=None,
            url=None,
            data_url=None,
            info={},
        ),
        permittivity=Index(
            validity=None,
            variation=None,
            conductivity=None,
            n=ScalarValue(unit="", value=3.48),
            k=None,
        ),
        conductivity=None,
        permeability=None,
        perturbations=[],
        info={},
    ),
    rf=None,
    info={},
)

print(silicon.model_dump())

Install the optional Protobuf runtime to use the to_bytes() and from_bytes() methods:

pip install "pdk-schema[proto]==0.0.2"

Model-card declarations are still under development and are not included in this release.

Download files

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

Source Distribution

pdk_schema-0.0.2.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

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

pdk_schema-0.0.2-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

Details for the file pdk_schema-0.0.2.tar.gz.

File metadata

  • Download URL: pdk_schema-0.0.2.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pdk_schema-0.0.2.tar.gz
Algorithm Hash digest
SHA256 60f8160c96b76c86cc972228319101d04e4f2ff86b410339647c37147a08bff5
MD5 d3e3fce8e28e0eee8dc9a17e4a086324
BLAKE2b-256 b5ef7c28c4400b7f0dae05b827d65b42ad68f10e1405c1e71e25c23fa00b5f0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdk_schema-0.0.2.tar.gz:

Publisher: release.yml on doplaydo/pdk-schema

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

File details

Details for the file pdk_schema-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pdk_schema-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pdk_schema-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e12123ece947e7aa100d5912b91fce111fe753aadc7ee283fada77b0f3f605c7
MD5 7dd1e0acbc38ee089d715329974bbfa0
BLAKE2b-256 5bd42188a40a58d05ea4f3c0031c5382d07cc1550037ea4bf2bca14e53094f9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdk_schema-0.0.2-py3-none-any.whl:

Publisher: release.yml on doplaydo/pdk-schema

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 Sentry Error logging StatusPage Status page