fusedio / udfs

Public Fused UDFs. Build any scale workflows with the Fused Python SDK and Workbench webapp, and integrate them into your stack with the Fused Hosted API.
https://www.fused.io
MIT License
195 stars 38 forks source link

Possible to use fusedio without an account? #317

Open paulterinho opened 1 month ago

paulterinho commented 1 month ago

Hi Fusedio development team,

Is it possible to use the fusedio framework without creating an account? It looks like it is not possible, but wanted to make sure.

(Would love to contribute to this project, but I wanted to make sure it was open-source first. )

pgzmnk commented 1 month ago

Hi @paulterinho. We appreciate you checking in for clarification.

Anyone can indeed use Fused Python SDK to run UDFs without creating an account. Fused accounts just give users the ability to run custom UDFs on Fused cloud resources.

Users without accounts can:

a. Run UDFs using local resources. For example, to declare a UDF locally.

import fused

@fused.udf
def udf():
  import pandas as pd
  return pd.DataFrame({"a": [1, 2, 3]})
fused.run(udf, engine='local')

b. Run Public UDFs using Fused's cloud resources for free. For example, to call the "Overture Maps Example" UDF in this repo with a custom bbox parameter value.

import fused

fused.run('UDF_Overture_Maps_Example', bbox=[-122.349, 37.781, -122.341, 37.818])

Any UDF you contribute to this Public UDF repository will be runnable by anyone using Fused cloud resources for free.

paulterinho commented 1 month ago

@pgzmnk Neat! So all the elements of the ecosystem are this way? We don't need to sign in to use things like the workbench?

pgzmnk commented 1 month ago

@paulterinho Yes! To be clear, users don't need an account to run Public UDFs (those in this repo) using cloud resources.

This means users can interact with public UDFs on Workbench without sign-in or invoke them from a Python environment. As an example, you could add this UDF to UDF Builder and set its parameters as you interact with it on the map.

This also means if someone shares a UDF with the community, other folks can run it for free and invoke it with different parameters.

On the other hand, folks looking to run UDFs with custom code can sign up for the waitlist.