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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

fabric_notebook_compliance-1.0.16-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fabric_notebook_compliance-1.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 60ec5944ab5f45fe2f0e551906f41a299fac09d36d23e663745519d33c015fc4
MD5 65f1936add33e7ea6ecb3145dd641569
BLAKE2b-256 0e012245e69090509ce5710faddceaab36d318b5b4acde31bab64115e38a675a

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