Skip to main content

SQL Reporting that Just Works. Fast, simple, and confusion-free.Write and share queries in a delightful SQL editor, with AI assistance

Project description

Documentation Status Latest Version Downloads License

SQL Explorer

Video Tour

inline-image

Quick Start

Included is a complete test project that you can use to kick the tires.

  1. Run docker compose up

  2. Navigate to 127.0.0.1:8000/explorer/

  3. log in with admin/admin

  4. Begin exploring!

This will also run a Vite dev server with hot reloading for front-end changes.

About

SQL Explorer aims to make the flow of data between people fast, simple, and confusion-free. It is a Django-based application that you can add to an existing Django site, or use as a standalone business intelligence tool. It will happily connect to any SQL database that Django supports as well as user-uploaded CSV, JSON, or SQLite databases.

Quickly write and share SQL queries in a simple, usable SQL editor, view the results in the browser, and keep the information flowing.

Add an OpenAI (or other provider) API key and get an LLM-powered SQL assistant that can help write and debug queries. The assistant will automatically add relevant context and schema into the underlying LLM prompt.

SQL Explorer values simplicity, intuitive use, unobtrusiveness, stability, and the principle of least surprise. The project is MIT licensed, and pull requests are welcome.

Some key features include:

  • Support for multiple connections, admin configured or user-provided.

  • Users can upload and immediately query JSON or CSV files.

  • AI-powered SQL assistant

  • Quick access to schema information to make querying easier (including autocomplete)

  • Ability to snapshot queries on a regular schedule, capturing changing data

  • Query history and logs

  • Quick in-browser statistics, pivot tables, and scatter-plots (saving a trip to Excel for simple analyses)

  • Parameterized queries that automatically generate a friendly UI for users who don’t know SQL

  • A playground area for quickly running ad-hoc queries

  • Send query results via email

  • Saved queries can be exposed as a quick-n-dirty JSON API if desired

  • …and more!

Screenshots

Writing a query and viewing the schema helper

https://sql-explorer.s3.amazonaws.com/5.0-query-with-schema.png

Using the SQL AI Assistant

https://sql-explorer.s3.amazonaws.com/5.0-assistant.png

Viewing all queries

https://sql-explorer.s3.amazonaws.com/5.0-query-list.png

Query results w/ stats summary

https://sql-explorer.s3.amazonaws.com/5.0-query-results.png

Pivot in browser

https://sql-explorer.s3.amazonaws.com/5.0-pivot.png

View logs

https://sql-explorer.s3.amazonaws.com/5.0-querylogs.png

Project details


Release history Release notifications | RSS feed

This version

5.1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_sql_explorer-5.1.1.tar.gz (868.5 kB view details)

Uploaded Source

Built Distribution

django_sql_explorer-5.1.1-py3-none-any.whl (909.2 kB view details)

Uploaded Python 3

File details

Details for the file django_sql_explorer-5.1.1.tar.gz.

File metadata

  • Download URL: django_sql_explorer-5.1.1.tar.gz
  • Upload date:
  • Size: 868.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for django_sql_explorer-5.1.1.tar.gz
Algorithm Hash digest
SHA256 8aaf16e36e47650d3fa22bcebee1444ce63c23d1e53a8fc17e6facc3e3b8c9e1
MD5 cdb47b9eabcd8f9a9d510d474b539a9c
BLAKE2b-256 579630af09518f20d984b90ae125cd676df2e60220641fa3a68eafb4c398068a

See more details on using hashes here.

Provenance

File details

Details for the file django_sql_explorer-5.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_sql_explorer-5.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 800bbd3f219a9c79b9d41a09405996e48bbb5f970d8ca00e039311a60a497aca
MD5 215ad7ad681a882c7f9452421790812c
BLAKE2b-256 4f86006c3c55aecc2a24482de34b281a293acb0ab8965af59e82de923b044892

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page