Learn Python with Talk Python's 270 hours of courses

Apache Superset: Modern Data Exploration Platform

Episode #382, published Thu, Sep 22, 2022, recorded Mon, Sep 19, 2022

When you think data exploration using Python, Jupyter notebooks likely come to mind. They are excellent for those of us who gravitate towards Python. But what about your everyday power user? Think of that person who is really good at Excel but has never written a line of code? They can still harness the power of modern Python using a cool application called Superset.

This open source Python-based web app is all about connecting to live data and creating charts and dashboards based on it using only UI tools. It's super popular too with almost 50,000 GitHub stars. Its creator, Max Beauchemin is here to introduce it to us all.

Watch this episode on YouTube
Play on YouTube
Watch the live stream version

Episode Deep Dive

Guest Introduction and Background

Maxime Beauchemin joined the show to discuss Apache Superset, an open-source data exploration and visualization platform. Max has a diverse background in data engineering, having worked at major tech companies such as Ubisoft, Facebook, Airbnb, and Lyft. He created both Apache Superset and Apache Airflow, two widely used open-source data tools that help organizations process, visualize, and manage large volumes of data. Max also founded Preset, a company offering managed Superset services. His experience spans the full data stack: data warehousing, data modeling, analytics engineering, and driving robust BI (business intelligence) solutions.

What to Know If You're New to Python

Here are a few key ideas to help you get the most from this conversation if you’re newer to the Python ecosystem:

  • You don’t need an extensive computer science background to start using Python or Superset; familiarity with SQL is often enough to gain insights from data.
  • Python’s large ecosystem (Flask, Celery, SQLAlchemy, etc.) underpins many advanced data tools like Superset, so understanding some of these libraries might help.
  • Superset itself doesn’t require you to write Python code—though if you do know Python or plan to learn, you can extend and customize it more easily.
  • Explore how Superset leverages SQLAlchemy (the standard database toolkit in Python) so you can connect to and explore data across many SQL databases.

Key Points and Takeaways

  1. Apache Superset: A Modern, Open-Source BI Platform Superset is a web-based tool for exploring and visualizing data. It connects to live databases, allowing you to build interactive dashboards and charts directly on top of SQL data sources—no need to export your data elsewhere. It’s open source under the Apache Software Foundation, and tens of thousands of users and organizations rely on it for robust BI.
  2. No-Code / Low-Code for Business Users While Python developers can extend Superset, one of its key goals is to serve non-programmers, especially those coming from tools like Excel. Its drag-and-drop interface lets “power users” build and share dashboards without writing any code, yet it still supports powerful SQL queries under the hood.
  3. SQL as the Core Language Despite being written in Python (Flask, Celery, etc.), Superset emphasizes SQL for data exploration. It uses SQLAlchemy for database connections, letting you query just about any SQL-speaking database. Users can toggle between a pure GUI approach and a full SQL IDE.
  4. Architecture: Docker, Celery, Redis, and More Superset typically runs with a modern stack: Flask for the web layer, Celery as a task queue for asynchronous jobs like generating chart thumbnails, Redis as a message broker and cache, plus a metadata database for Superset’s internal storage (e.g., PostgreSQL). You can spin up a Docker Compose environment for quick setup or install it via pip.
  5. Working with Large Data and Data Warehouses Many teams connect Superset to cloud data warehouses (Snowflake, BigQuery, Redshift). Because the queries stay within the database, you can visualize massive datasets without pulling them into Excel or a desktop tool.
  6. BI-as-Code and Version Control Superset supports a notion of “Headless BI,” letting teams manage dashboards and other BI assets in source control. You can export them as YAML configurations, check them into Git, and re-import them to keep track of changes or share them across environments.
  7. Comparisons to Excel, Tableau, and Looker Excel is quick for local data or “what-if” analysis, but it struggles with collaborative, large-scale data. Tableau, Power BI, or Looker are established BI tools but typically come with high licensing costs and less flexibility. Superset offers a modern interface with an open-source framework that you can customize at every level.
    • Mentioned Tools: Excel, Tableau, Looker, Power BI (discussed comparatively).
  8. Open-Source GUI + Frontend Technology Superset is an example of a successful open-source web application with a rich frontend in TypeScript/React. It’s more than a Python library: It’s a full-stack solution. The high star count on GitHub (near 50,000) reflects a vibrant community pushing its UI and features forward.
  9. Installing & Getting Started Superset can be installed locally via pip install apache-superset or set up with Docker Compose. You’ll see a default admin admin login, plus sample dashboards to explore. Then, connect your own database or the sample data to start building real charts.
  10. SQL Fluff and Writing Clean Queries Max recommended a popular SQL linter, SQLFluff, to keep your SQL code tidy and consistent. It parallels Python’s code formatters (like Black), letting you define a style guide for SQL.
  1. Superset’s Community and Support The Superset Slack community is large and active. People can ask questions, share dashboards, and even contribute to code or design discussions. Being part of the Apache Software Foundation means the project is maintained by a broad group of contributors with a healthy governance model.

Interesting Quotes and Stories

On Not Needing a CS Degree “You don’t really need a computer science background to be effective; you just need the skills you need to be successful and useful.” — Max describing how bootcamps and hands-on practice can suffice for data and Python work.

On the Growth of Superset “I never expected Apache Superset to end up with nearly 50,000 stars and thousands of organizations using it.” — Reflecting on Superset’s popularity and community-driven growth.

On Balancing Theory and Practice “You really start to get curious about how things work once you’ve actually spent time as a practitioner.” — Max explaining how tackling real problems fuels deeper study of data and computing theory.

Key Definitions and Terms

  • BI (Business Intelligence): Technologies and practices used to collect, integrate, analyze, and present business information, often through dashboards and reports.
  • SQLAlchemy: A Python toolkit and ORM that provides a consistent interface for SQL databases.
  • DBAPI (PEP 249): A Python standard for database driver interfaces, ensuring different databases share a consistent connection and querying API.
  • Apache Airflow: Another open-source project by Maxime Beauchemin, focused on workflow management and scheduling for data pipelines.
  • Docker Compose: A tool for defining and running multi-container Docker applications.
  • Celery: A distributed task queue in Python, often used for asynchronous jobs like background calculations or rendering.

Learning Resources

If you want to deepen your Python skills, especially for data analytics and bridging the gap from spreadsheets to Python, here are some resources to explore:

Overall Takeaway

Apache Superset shows how powerful open-source data visualization can be, especially for teams seeking a unified data exploration tool. Whether you are a seasoned Python developer or an Excel-savvy analyst, Superset offers a scalable, flexible, and collaborative platform for building dashboards and sharing insights. Maxime Beauchemin’s journey highlights that contributing to and leading open-source projects is often a community-driven effort—and that with the right tools and a bit of curiosity, anyone can learn to harness data more effectively.

Links from the show

Max on Twitter: @mistercrunch
Superset: superset.apache.org
60 notebook environments: talkpython.fm
SQL Fluff linter: sqlfluff.com
DB API PEP: peps.python.org
Preset Company: preset.io
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm

--- Stay in touch with us ---
Subscribe to Talk Python on YouTube: youtube.com
Talk Python on Bluesky: @talkpython.fm at bsky.app
Talk Python on Mastodon: talkpython
Michael on Bluesky: @mkennedy.codes at bsky.app
Michael on Mastodon: mkennedy

Talk Python's Mastodon Michael Kennedy's Mastodon