Kanaries / pygwalker

PyGWalker: Turn your pandas dataframe into an interactive UI for visual analysis
https://kanaries.net/pygwalker
Apache License 2.0
12.82k stars 662 forks source link

Embedding Pygwalker in a Streamlit Application which is running behind apache server as a proxy #552

Closed Vulum closed 4 months ago

Vulum commented 4 months ago

My steamlit application, containing Pygwalker is running behind apache server serving as proxy server. Now, when pygwalker code is added, my application kept on sending POST request to this internal url /_stcore/_pygwalker/comm/00061893edcc579dRulOIZVX2Um9TD8h. 00061893edcc579dRulOIZVX2Um9TD8h varies on every POST request.

Why this POST request? Is this url serving static files for pygwalker or some internal pygwalker API?

Vulum commented 4 months ago

Never mind, this just require some few lines of appropriate proxying in apache2 config file

longxiaofei commented 4 months ago

Hi @Vulum

This request works for pygwalker frontend and backend communication.

For example, use duckdb to calculate the data needed for charts.