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.1.tar.gz (9.3 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.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fabric_notebook_compliance-1.0.1.tar.gz
Algorithm Hash digest
SHA256 cf3323e14f835cd89a013935fd3f1ce1f332626d1ee88c08eff800f817781d44
MD5 3c0ce8312a5350e89d2867fbc7bb9a84
BLAKE2b-256 8228075cd97e80bfa328aa93a2010cc3ac046d1caae5f7950167d541fc5c5ef2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabric_notebook_compliance-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 33dbac6e04688efba91d513a773b459bdbafb2433257dce431f15ad94c81ed7d
MD5 ec7fe6b2effd843dbb562c5dfccec4b9
BLAKE2b-256 d6be7076d12a6a004abfc4a0143f0d06f8e53c0ba92df97e8b82ac7a6f807c25

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