Skip to content

Releases: Kanaries/pygwalker

0.4.9.15

10 Apr 00:43
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.9.14...0.4.9.15

0.4.9.14

05 Mar 08:46
Compare
Choose a tag to compare

New Feature: Standalone Web App Mode

We're excited to announce that PyGWalker now supports visualization without requiring a frontend environment!

What's New

PyGWalker will now automatically launch a local web application for data visualization when used outside of supported frontend environments (like Jupyter Notebook, Streamlit, or Gradio).

Benefits

  • IDE Flexibility: Users can now work with PyGWalker directly from code editors like VSCode, PyCharm, or Vim
  • Simplified Workflow: No need to switch between your coding environment and a notebook to visualize your data
  • Broader Accessibility: Brings PyGWalker's powerful visualization capabilities to more development workflows

How It Works

When PyGWalker detects it's being used in an environment without a supported frontend, it will automatically:

  1. Launch a local web server
  2. Open a browser window with the PyGWalker interface
  3. Display your data visualizations in this dedicated web app

Example Usage

import pandas as pd
import pygwalker as pyg

# Load your data
df = pd.read_csv("your_data.csv")

# Visualize with PyGWalker - automatically launches in browser when run from IDE
pyg.walk(df)

This enhancement makes PyGWalker more versatile and accessible, allowing for seamless data visualization regardless of your preferred development environment.

What's Changed

New Contributors

Full Changelog: 0.4.9.9...0.4.9.14

0.4.9.9

19 Sep 11:15
Compare
Choose a tag to compare

What's Changed

Table component in Streamlit

In streamlit, pygwalker support render pygwalker html by streamlit custom component.

Now there is table component when using Streamlit.

example:

from pygwalker.api.streamlit import StreamlitRenderer
import pandas as pd
import streamlit as st

@st.cache_resource
def get_pyg_renderer() -> "StreamlitRenderer":
    df = pd.read_csv("xxx")
    return StreamlitRenderer(df)

renderer = get_pyg_renderer()

renderer.table()

Full Changelog: 0.4.9.4...0.4.9.9

0.4.9.4

01 Aug 06:17
Compare
Choose a tag to compare

What's Changed

Streamlit custom component

In streamlit, pygwalker support render pygwalker html by streamlit custom component.

And supports return spec when spec changes.

example:

from pygwalker.api.streamlit import StreamlitRenderer
import pandas as pd
import streamlit as st

@st.cache_resource
def get_pyg_renderer() -> "StreamlitRenderer":
    df = pd.read_csv("xxx")
    return StreamlitRenderer(df)

renderer = get_pyg_renderer()

event = renderer.explorer()

print(event)

Full Changelog: 0.4.9.3...0.4.9.4

0.4.9.3

25 Jul 08:19
Compare
Choose a tag to compare

What's Changed

Component api

We're excited to announce an experimental new feature in pygwalker:

The component chaining API that enables intuitive, step-by-step chart construction. This feature currently supports rendering to static HTML.

Key Points:

  • Introduces a chainable API for creating visualizations
  • Allows for more intuitive and readable code
  • Currently an experimental feature
  • Limited to static HTML output at this time

Example usage:

import pygwalker as pyg
import pandas as pd

df = pd.read_csv("xxx")

(
pyg.component(df)
    .rect()
    .encode(x='bin("feeling_temp", 6)', y='bin("temperature", 6)', color="MEAN(humidity)")
    .layout(height=400, width=460)
)

For more examples, please refer to the pygwalker/examples directory in our repository.

Upcoming Improvements:

  1. Optimize the size of pure chart HTML output
  2. Implement two-way communication for Jupyter and Streamlit environments

We welcome feedback from our community as we continue to develop and refine this feature.

Please note that as an experimental feature, syntax and functionality may change in future releases

Full Changelog: 0.4.9...0.4.9.3

0.4.9

27 Jun 05:02
930ed98
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.8.10...0.4.9

0.4.8.10

20 Jun 05:46
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.8.9...0.4.8.10

0.4.8.9

05 Jun 02:58
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.8.7...0.4.8.9

0.4.8.7

29 May 08:23
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.8.5...0.4.8.7

0.4.8.5

19 May 13:34
Compare
Choose a tag to compare

What's Changed

  • fix: fix dialect sql(mysql, postgres) && add new tracker by @longxiaofei in #553

Full Changelog: 0.4.8.4...0.4.8.5