Skip to main content

Normalized Schema Generator

An anywidget-based Jupyter widget for Microsoft Fabric notebooks that visually configures a normalized schema JSON config for Process Mining data import.

Replaces manual JSON authoring by providing dropdowns, toggles, and inline forms to select lakehouses, tables, columns, and FK/PK relationships, then auto-generates the dataSource section of the config.

Install

pip install normalized-schema-generator

Usage

In a Fabric notebook

from normalized_schema_generator import NormalizedSchemaWidget

w = NormalizedSchemaWidget()
w

The widget auto-detects the Fabric environment and populates lakehouses, tables, and columns using notebookutils and Spark.

After configuring your schema, retrieve the generated JSON:

print(w.config_json)

Local development

Outside Fabric, the widget uses mock data automatically — no notebookutils or Spark needed:

pip install normalized-schema-generator jupyterlab
jupyter lab

Features

  • Lakehouse selection from the current workspace, including schema-enabled lakehouses
  • Data source toggle: Delta Tables or Files (CSV / Parquet)
  • Events table (required): column checklist with data type badges, include/exclude toggles
  • Cases table (optional): same column management, with required Events-to-Cases FK relationship
  • Reference management: add/edit/remove FK joins to lookup tables, with target column selection
  • Auto-generated JSON: full inputDataBinding config with dataSource, connection properties, and dataset definitions
  • Copy to clipboard for the generated JSON
  • Fluent 2 styling matching the Fabric design language

JSON output

The widget generates a complete normalized import config following the Process Mining Normalized Import specification:

  • dataSourceSchemaType: 1 (Normalized)
  • dataSourceType: 2 (OneLake)
  • Proper datasets[] with Kind 0 (Event), 1 (Case), 2 (Join)
  • FK columns excluded from Columns[] (exposed via Join[].ExportName)
  • No nested joins on lookup datasets

License

MIT

Metadata

Release files for normalized-schema-generator 0.4.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 normalized-schema-generator 0.4.0
File Size Uploaded Provenance Actions
normalized_schema_generator-0.4.0.tar.gz 19.9 kB Without provenance Details for normalized_schema_generator-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for normalized-schema-generator 0.4.0
File Interpreter ABI Platform Actions
normalized_schema_generator-0.4.0-py3-none-any.whl Python 3 none any Details for normalized_schema_generator-0.4.0-py3-none-any.whl

Total release size: 40.8 kB

Release files / normalized_schema_generator-0.4.0.tar.gz

Download URL normalized_schema_generator-0.4.0.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
23111ef44f77cb0f379712da46fff9a1df52ae4bc610e9d3706eaf21a27e9a69
BLAKE2b-256 checksum
How to use checksums
7937670cbc203c21aabf2e4d78bab65cacd9f40806b8f4dcc85a8b676cba3bda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / normalized_schema_generator-0.4.0-py3-none-any.whl

Download URL normalized_schema_generator-0.4.0-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef742d563112cb8ebf75b8147834edfc0b2ef0d91f2a2d89ce785c8ef197036a
BLAKE2b-256 checksum
How to use checksums
b03ce7e890535f5ea3a30c0a2b48e323d2932993f56bcc587ed3ebf324963121
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for normalized-schema-generator 0.4.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.

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