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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fabric_notebook_compliance-1.0.14-py3-none-any.whl.
File metadata
- Download URL: fabric_notebook_compliance-1.0.14-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5712795fb8a79a9d954a239ead552af7e6ba2363550c6b149784236631acdc09
|
|
| MD5 |
d70f54bdfd25ec11578dc382f936b881
|
|
| BLAKE2b-256 |
ffde117b02b1e89eb288f9e7b2d75110f3fa43ba927b0bc98b6dd2254879b987
|