What’s the Best Way to Share SQL and Python Query Results with External Users?

0
28
Asked By SunnySky92 On

I'm currently using SQL with Python to run queries on Oracle and Impala databases, and then I push the results into Google Sheets, which connects to Looker Studio for creating dashboards. While this setup works, it feels a bit clunky and has limitations when I want external users to be able to filter the data themselves, like by Client ID. I'm on the lookout for more streamlined alternatives that would allow me to publish tables and charts directly while still enabling users to run parameterized queries safely. Should I consider options like Streamlit or FastAPI with JavaScript? I'd love to hear what others have found effective!

6 Answers

Answered By BigDataGuru On

It really depends on your audience. For Big Data projects, I'm converting tables to parquet files and letting researchers load those into Python for their analyses.

Answered By OpenSourceFan On

As an alternative to Power BI, you could explore the Evidence framework. It allows you to write SQL queries against DuckDB and pre-loads them for quick reuse. You can build dashboards using a Markdown/HTML syntax, which is great for version control with git. In the end, it creates a static HTML dashboard which could work well for your needs!

Answered By DataNinja42 On

If you're looking to allow users to view datasets based on specific parameters and create their own dashboards or visualizations, you might want to try Metabase. It offers data sandboxing, and you wouldn't have to build everything from scratch. However, if you're up for some DIY, libraries like Flask or FastAPI could also work for exporting datasets, especially if you include an authentication layer to manage user access.

Answered By DashBoardDynamo On

Have you considered using Grafana? It’s a solid tool for visualizing data and letting users interact with your datasets.

Answered By CodeWhiz101 On

I built a backend API that fetches data from SQL or files and sends it to the frontend. To let users filter and perform complex SQL queries like joins, I'm using DuckDB with WebAssembly and some JavaScript. It allows the client to have its own SQL engine, so I don’t stress about sandboxing queries on the backend. It’s been a game-changer for me!

Answered By PowerUser88 On

Have you thought about using Power Query in Excel or Power BI? It’s designed for this kind of task where you want to save embedded data and allow users to interact with it.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.