Metadata-Version: 2.4
Name: dash-uis
Version: 0.1.2
Summary: Shared ipywidgets component library for the Dashlibs suite
Project-URL: Homepage, https://github.com/dash-libs/dash-ui
Author-email: Darshan Shah <darshan.innovation@icloud.com>
License: Apache-2.0
Keywords: components,databricks,ipywidgets,ui
Requires-Python: >=3.9
Requires-Dist: ipywidgets>=8.0
Provides-Extra: dev
Requires-Dist: hatch; extra == 'dev'
Requires-Dist: pdoc; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Description-Content-Type: text/markdown

# DashUI — Databricks Library

[![CI](https://github.com/dash-libs/dash-ui/actions/workflows/ci.yml/badge.svg)](https://github.com/dash-libs/dash-ui/actions)
[![PyPI](https://img.shields.io/pypi/v/dash-uis)](https://pypi.org/project/dash-uis/)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)

Part of the **[Dashlibs](https://github.com/dash-libs)** suite — Databricks libraries built for business users.

Shared `ipywidgets` components so every `dash-*` library looks and behaves the
same way inside a Databricks (or plain Jupyter) notebook: headers, the
UC Table / DataFrame / SQL source picker, output panels, status lines, and
schema introspection helpers.

## Installation

```bash
%pip install dash-uis
```

> Note: the PyPI distribution is named `dash-uis` (the name `dash-ui` was
> already taken by an unrelated package). The importable module is still `dashui`.

## Usage

```python
import dashui

header = dashui.header("My Library", library="dashsynthetic", emoji="🧬")
src = dashui.source_selector()
btn = dashui.action_button("Run", style="success", emoji="▶")
out = dashui.output_panel()

ui = dashui.card([header, src.toggle, src.box, btn, out])
```

```python
kind, value = src.value()        # ("table", "catalog.schema.customers")
df = src.resolve_df()            # resolves to a Spark DataFrame
cols = dashui.list_columns_safe("catalog.schema.customers")
```

## Part of Dashlibs

| Library | Purpose |
|---|---|
| dash-dq | Data Quality |
| dash-synthetic | Synthetic Data Generation |
| dash-ml | ML Model Monitoring |
| dash-ingest | Data Ingestion |
| dash-gov | Data Governance |
| dash-relate | Ontology & Lineage for AI |
| dash-ui | Shared UI components |

## License

Apache 2.0
