[py] querychat 0.5.0
New features
- Added support for Gradio, Dash, and Streamlit web frameworks in addition to Shiny. Import from the new submodules:
from querychat.gradio import QueryChatfrom querychat.dash import QueryChatfrom querychat.streamlit import QueryChat
Each framework's QueryChat provides .app() for quick standalone apps and .ui() for custom layouts. Install framework dependencies with pip extras: pip install querychat[gradio], pip install querychat[dash], or pip install querychat[streamlit]. (#190)
QueryChat()gains support for more data sources:polars.LazyFrame: queries execute lazily viapolars.SQLContext. In this case,.df()et al. methods will return apolars.LazyFrame. (#191)ibis.Table: queries execute lazily via the Ibis backend's SQL interface (DuckDB, PostgreSQL, BigQuery, etc.). In this case,.df()et al. methods will return anibis.Table. (#193)pyarrow.Table: queries execute in-memory viaduckdb. In this case,.df()et al. methods will return apyarrow.Table. (#196)
Improvements
- Improved typing support for return types on
.df()et al. (#196)
Changes
DataFrameSourcemethods now (once again) return the input DataFrame type (e.g.,pandas.DataFrame) instead ofnw.DataFrame. (#196)