Skip to main content

Best practices compliance checker for Microsoft Fabric notebooks

Project description

fabric-notebook-compliance

Best practices compliance checker for Microsoft Fabric notebooks.

Installation

pip install fabric-notebook-compliance

Quick Start

from fabric_notebook_compliance import check_compliance

# Check all notebooks in a workspace
results = check_compliance(workspace_id="your-workspace-guid")
results.summary()

# Get pandas DataFrame
df = results.to_dataframe()

# Post to Teams
results.post_to_teams("https://your-webhook-url")

Usage

# Check single notebook
results = check_compliance(workspace_id="...", notebook_name="MyNotebook")

# Check specific folders
results = check_compliance(workspace_id="...", folder_filter=["FACT_ARR", "DIM_TSIOU"])

Compliance Checks (9 total)

Check Description
Markdown First First cell should be markdown
Purpose Document notebook purpose
Input Params Document inputs
Output Tables Document outputs
Change History Version tracking
Imports Grouped All imports at top
Snake Case Use snake_case naming
Minimal Expensive Ops Limit collect(), toPandas()
No Hardcoding No hardcoded values

Requirements

  • Must run inside Microsoft Fabric notebook
  • Workspace access to notebooks being checked

License

MIT

Project details


Download files

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

Source Distribution

fabric_notebook_compliance-1.0.19.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

fabric_notebook_compliance-1.0.19-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file fabric_notebook_compliance-1.0.19.tar.gz.

File metadata

File hashes

Hashes for fabric_notebook_compliance-1.0.19.tar.gz
Algorithm Hash digest
SHA256 86b40ed6499ff57a35a6dc551757b1c4d7fd033e94095c6c50dc748d570bce7e
MD5 e98e9dbe95667fcb3c57e5fc2ae02a2c
BLAKE2b-256 e957eea6404ab80098f745afe83dc1ff589dfa8c772f8060ffcb269f9e79fc4d

See more details on using hashes here.

File details

Details for the file fabric_notebook_compliance-1.0.19-py3-none-any.whl.

File metadata

File hashes

Hashes for fabric_notebook_compliance-1.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 019b2ab7a5c1156cc75798f9035b8f5685fe859254135757266bb8dc1fa57998
MD5 a06ce9dda473f03dc12b9d075e046660
BLAKE2b-256 729e47d98e4e98daeda9f38497aed32a2342f2916ee5e19bc71ba1c0a0d8c765

See more details on using hashes here.

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