Skip to main content

Python SDK

The Fused Python SDK (fused-py) exposes utility functions to write, manage, and run Fused UDFs. Use it in the UDF Builder or install it in your preferred Python environment.

Documentation overview

Install

If you're working in Workbench you don't need to install anything, but if you'd like to work locally then:

  1. Set up a Python environment:
python3 -m venv .venv
source .venv/bin/activate
  1. Install the fused package:
pip install fused
  1. Authenticate:

In a notebook

from fused.api import NotebookCredentials
credentials = NotebookCredentials()

Run this snippet from a Notebook Cell and follow the authentication flow, which will store a credentials file in ~/.fused/credentials.