Skip to main content

A short description of your project.

Project description

notebookutils-interface

Provides implementations and interfaces upon the dummy notebook utils from Microsoft in Synapse Analytics and Fabric to support local development with notebookutils

Based on the dummy-notebookutils from pypi: https://pypi.org/project/dummy-notebookutils/ and aims to add functionality to run in a local development environment.

Sample usage

from notebookutils import mssparkutils

files = mssparkutils.fs.ls("notebookutils/")

print(files)

Output of the sample: [FileInfo(path=notebookutils/credentials.py, name=credentials.py, size=212), FileInfo(path=notebookutils/fabricClient.py, name=fabricClient.py, size=309), FileInfo(path=notebookutils/fs.py, name=fs.py, size=1004), FileInfo(path=notebookutils/lakehouse.py, name=lakehouse.py, size=654), FileInfo(path=notebookutils/mssparkutils, name=mssparkutils, size=None), FileInfo(path=notebookutils/notebook.py, name=notebook.py, size=681), FileInfo(path=notebookutils/runtime.py, name=runtime.py, size=123), FileInfo(path=notebookutils/session.py, name=session.py, size=61), FileInfo(path=notebookutils/warehouse.py, name=warehouse.py, size=438), FileInfo(path=notebookutils/workspace.py, name=workspace.py, size=449), FileInfo(path=notebookutils/init.py, name=init.py, size=205), FileInfo(path=notebookutils/pycache, name=pycache, size=None)]

What can this interface be used for

  • Actual mssparkutils.fs implementation to interact with the local file system
  • fs implementation doesn't support Hadoop or Cloud Storage yet such as Azure Data Lake (can be added later)
  • Dummy API Calls to mssparkutils for most functionality

Important Notes

This interface should be used instead of dummy-notebookutils from Microsoft, as they have the same module path notebookutils and notebookutils.mssparkutils.

In Synapse and Fabric this install is not required, the same imports as in the sample can be used but will then point to the actual notebookutils and notebookutils.mssparkutils installed natively in Fabric/Synapse.

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

notebookutils_interface-0.2.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

notebookutils_interface-0.2.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file notebookutils_interface-0.2.0.tar.gz.

File metadata

  • Download URL: notebookutils_interface-0.2.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for notebookutils_interface-0.2.0.tar.gz
Algorithm Hash digest
SHA256 edc57b7839704aa9ef1eb20bfc3a01be67e79c8ae3a4833104a40ae23dc3390b
MD5 23c93efe8edf07fd74c9e56253356b39
BLAKE2b-256 62920fa6a8132d45b4aa0a489592db553bbb9b5aa93811c421fd140435d63f6d

See more details on using hashes here.

File details

Details for the file notebookutils_interface-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for notebookutils_interface-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1100532a60aebf4bc77ed9aff0b6a55485ff99e86df4aac15cf15365c6aad2bb
MD5 650be4785c6dffd6783348aee3cb7a0f
BLAKE2b-256 4d2ee19e0fc7d786e042fcfdf07db34108a195b7b6072d40aeab712705533a74

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