Skip to main content

A Python library exposes additional functionality to work with Python Notebooks in Microsoft Fabric.

Project description

MSFabricUtils

A collection of Spark-free Python utilities for working with Microsoft Fabric in Python Notebooks. Mainly focused on Data Engineering tasks utilising Polars and delta-rs.

How to select Python Notebook

Installation

pip install msfabricutils

Features

Local development first

  • Aim to provide a local development "within" Fabric. This means you can develop and run code locally, but reading and writing to Fabric Lakehouses. You can also read and write to Azure Data Lake, or even locally.

ETL

  • Read from delta tables or parquet files with automatic authentication to Azure Data Lake or OneLake
  • Common transformations (add audit columns, reorder columns, deduplicate etc.)
  • Load delta tables with one of the provided load methods (upsert, overwrite, append etc.)

Thin Fabric API wrapper

Intregate functions to manage workspaces, lakehouses, notebooks, environments, libraries, etc. For more details, see the Fabric API Reference

Fabric API as CLI

CLI for managing workspaces, lakehouses, notebooks, environments, libraries, etc.

To get started, run:

msfu --help

msfu CLI help

Fabric DuckDB Connection

Seamless integration between DuckDB and Microsoft Fabric Lakehouses for data exploration and analysis.

  • Cross-workspace and cross-lakehouse querying capabilities
  • Automatic table registration
  • Reading and writing to Onelake outside and inside Fabric
  • Support for Delta Lake tables
  • Flexible table name referencing (1-part to 4-part names)

Documentation

For quick start and detailed documentation, examples, and API reference, visit our GitHub Pages documentation.

Contributing

Contributions are welcome! Here are some ways you can contribute:

  • Report bugs and feature requests through GitHub issues
  • Submit pull requests for bug fixes or new features
  • Improve documentation
  • Share ideas for new utilities

License

This project is licensed under the MIT License - see the LICENSE file for details.

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.

msfabricutils-0.7.5-py3-none-any.whl (121.1 kB view details)

Uploaded Python 3

File details

Details for the file msfabricutils-0.7.5-py3-none-any.whl.

File metadata

  • Download URL: msfabricutils-0.7.5-py3-none-any.whl
  • Upload date:
  • Size: 121.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for msfabricutils-0.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4350e7f105f2dbe87018420134328f46d2fdf1e5893d3aa0250bdc4a5192010f
MD5 17b466fccf6c895857cec9dd3351adb8
BLAKE2b-256 73e2945bed0f3a57a45064fb6ca8fe2fdcc53459affa129836a0880950d6b789

See more details on using hashes here.

Provenance

The following attestation bundles were made for msfabricutils-0.7.5-py3-none-any.whl:

Publisher: build_and_release.yaml on mrjsj/msfabricutils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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