Skip to main content

bkm

BKM (Best Known Method) DAG generator for wafer process flows.

Build, validate, fingerprint, and match Directed Acyclic Graphs that describe semiconductor wafer process flows from parquet data.

Installation

pip install bkm
pip install bkm[viz]   # with graphviz rendering

Quick start (Python API)

from bkm import BKM

bkm = BKM(
    version="v1",
    process_data={
        "in": ["a"],
        "a":  ["b", "c"],
        "b":  ["out"],
        "c":  ["out"],
    },
)

print(bkm.fingerprint())
print(bkm.print_graph())
bkm.save("v1.json")

CLI usage (bkm-generator)

Process all parquet files in a folder and assign BKM versions:

bkm-generator --data_folder ./training_data --update

Subsequent runs assign wafers to existing BKMs and flag unmatched as unknown:

bkm-generator --data_folder ./new_data

Documentation

  • bkm.md — BKM class API, DAG concepts, edge inference algorithm
  • bkm_generator.md — multi-BKM registry, loaf composition, CLI pipeline

License

MIT © 2026 yRocket

Metadata

Release files for bkm 0.0.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 bkm 0.0.0
File Size Uploaded Provenance Actions
bkm-0.0.0.tar.gz 31.5 kB Without provenance Details for bkm-0.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 53.1 kB

Release files / bkm-0.0.0.tar.gz

Download URL bkm-0.0.0.tar.gz
Size 31.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3f02af9387d196943b9c500764dc8397213b833d2115db2a7a7eda6bcfc0fb82
BLAKE2b-256 checksum
How to use checksums
5821a75a4c719de534952ff27fbd8acc93419e8bde86c3c1c56c6bcb1898a9e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.14

Release files / bkm-0.0.0-py3-none-any.whl

Download URL bkm-0.0.0-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df1e756cc4a8b837539d513f8c236619936e0f7eaf101f706177d56bfc890b28
BLAKE2b-256 checksum
How to use checksums
83f12cca98ab3b674e23dcf168f338ae2ddd9d7641f8a1e41bc24c29b9f68e9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.14

Security for bkm 0.0.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.

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.

Release history Release notifications | RSS feed

This release

0.0.0 This release

2 release files No 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