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.3-py3-none-any.whl (118.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for msfabricutils-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c4b894f01419f7812787e631529a1699dafcdd52da13a3ec7276e3ced6101dd1
MD5 b01f731560afde4795ae9bc217c9f045
BLAKE2b-256 9246e8b0697ca9b9354af5f5a7cbca34210aa8f80e9f7b3ea66d001980b867a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for msfabricutils-0.7.3-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