Skip to main content

Needlr provides a unified cross-experience Microsoft Fabric SDK.

Project description

Needlr: A Unified SDK for Microsoft Fabric

The Needlr packages provides a unified, cross-experience Microsoft Fabric SDK. The goal of Needlr is to simplify the way you work with Fabric APIs and support deployments and automation allowing you to focus on solving your business problems.

Quickstart

Needlr is available on PyPi and can be installed via pip install needlr.

With needlr installed, you first authenticate by creating a Fabric client. You can use either auth.FabricInteractiveAuth to use your personal credentials or auth.FabricServicePrincipal to use a service principal (which is supported for most but not all APIs).

from needlr import auth, FabricClient

fc = FabricClient(
    auth=auth.FabricInteractiveAuth(
        scopes=['https://api.fabric.microsoft.com/.default'])
    )
for ws in fc.workspace.ls():
    print(f"{ws.name}: Id:{ws.id} Capacity:{ws.capacityId}")

Needlr supports many of the Fabric REST APIs and we appreciate contributions to help us close that gap.

Some of our best supported APIs include:

  • Data Warehouse
  • Data Engineering
  • Real-time Intelligence

Needlr has been designed to support Fabric deployment and automation and follows a convention to make it easier to discover and connect APIs.

  • List items like workspaces, tables: fc.<item>.ls() as in fc.workspace.ls()
  • Create items like lakehouses, event streams: fc.<item>.create() as in fs.lakehouse.create('NameOfLakehouse')
  • Delete items: fc.<item>.delete() as in fc.warehouse.delete(worskspace_id, warehouse_id)

Get started with more of our samples and please be sure to share your ideas with us on what you need to support your Fabric deployments by creating an issue.

Additional Resources

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

needlr-0.1.6.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

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

needlr-0.1.6-py3-none-any.whl (66.3 kB view details)

Uploaded Python 3

File details

Details for the file needlr-0.1.6.tar.gz.

File metadata

  • Download URL: needlr-0.1.6.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.28

File hashes

Hashes for needlr-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ab0dd28ffe53c9b97add0a0ce40c09953f62abda36f934fe1fa22a52a8e72ff2
MD5 3c02f1be1b624f032570d01763dbf8d5
BLAKE2b-256 302d4133c9a695a30c76ebb1abeec9f0e23cc61f097a8a415f5aea44b1c01566

See more details on using hashes here.

File details

Details for the file needlr-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: needlr-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 66.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.28

File hashes

Hashes for needlr-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 fb55376bc3c8c7b968128a10b18e03ef56b2de4e6c7264f98be3520413f663b9
MD5 6d494fdce23c90ae9e1ce6c34d8675bc
BLAKE2b-256 fdb3745eda31e606fa1c0fff37e1dd164b017fd11fa294cec97fd095ec4f0bd9

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