Skip to content

Module index

This index reflects the current package layout under python/src/yggdrasil.

Core data and schema

Module Purpose Page
yggdrasil.data Cast registry, CastOptions, DataType, Field/Schema, DataTable, normalized enums types
yggdrasil.data.cast Converter registry, dispatch, options types
yggdrasil.arrow Arrow type inference and casting helpers arrow
yggdrasil.dataclasses Dataclass → Arrow field, waiting/expiring utilities dataclasses

Dataframe engines

Module Purpose Page
yggdrasil.polars Polars bridge: cast.py, lib.py, tests.py engine cast helpers
yggdrasil.pandas pandas bridge engine cast helpers
yggdrasil.spark Spark bridge engine cast helpers

Engines register their converters on import — pull them in once at startup if you want a specific cast to fire.

IO and transport

Module Purpose Page
yggdrasil.io BytesIO, URL, SendConfig/SendManyConfig, codecs, media types io
yggdrasil.io.http_ HTTPSession (preferred client) http_
yggdrasil.requests Legacy YGGSession and MSAL variant requests

Databricks

Module Purpose Page
yggdrasil.databricks DatabricksClient entry point databricks
yggdrasil.databricks.sql SQL execution + Unity Catalog databricks/sql
yggdrasil.databricks.compute Cluster lifecycle + remote execution databricks/compute, remote
yggdrasil.databricks.workspaces Workspace + path helpers databricks/workspaces
yggdrasil.databricks.fs DBFS / Volume / Workspace files databricks/fs
yggdrasil.databricks.secrets Scope/secret helpers databricks/secrets
yggdrasil.databricks.iam Users + groups (workspace/account) databricks/iam
yggdrasil.databricks.jobs Typed NotebookConfig widgets databricks/jobs
yggdrasil.databricks.account Account-level service databricks/account
yggdrasil.databricks.ai.genie Conversational analytics databricks/ai/genie

Platform and utilities

Module Purpose Page
yggdrasil.pyutils retry, parallelize pyutils
yggdrasil.concurrent Job, JobPoolExecutor concurrent
yggdrasil.environ Runtime import / install logic optional libs
yggdrasil.fastapi FastAPI service powering the Power Query connector API Reference
yggdrasil.pickle Custom serialization (cloudpickle/dill/zstandard)
yggdrasil.blake3 / yggdrasil.xxhash Optional hashing
yggdrasil.mongo / yggdrasil.mongoengine Mongo helpers
yggdrasil.fxrates FX-rate helpers
yggdrasil.rs Bridge to native yggrs kernels (Python fallback)

See also