Skip to main content

A pluggable app that allows users (admins) to execute SQL, view, and export the results.

Project description

Documentation Status Latest Version Downloads License

SQL Explorer

Documentation

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.

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

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

Some key features include:

  • Support for multiple connections

  • Quick access to schema information to make querying easier

  • In-browser pivot tables (which can also be shared via URLs)

  • 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)

  • Basic code-completion in the SQL editor

  • 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/4.0-query-with-schema.png

Viewing all queries

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

Query results rendered in browser

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

Pivot in browser

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

Development

Included is a test_project that you can use to kick the tires. Just create a new virtualenv, cd into test_project and run start.sh (or walk through the steps yourself) to get a test instance of the app up and running.

You can now navigate to 127.0.0.1:8000/ and begin exploring!

Project details


Release history Release notifications | RSS feed

This version

4.0.2

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-4.0.2.tar.gz (649.9 kB view details)

Uploaded Source

Built Distribution

django_sql_explorer-4.0.2-py3-none-any.whl (678.8 kB view details)

Uploaded Python 3

File details

Details for the file django-sql-explorer-4.0.2.tar.gz.

File metadata

  • Download URL: django-sql-explorer-4.0.2.tar.gz
  • Upload date:
  • Size: 649.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for django-sql-explorer-4.0.2.tar.gz
Algorithm Hash digest
SHA256 4b6c392adb97205ecf8e9f3505437c07da8aab1b84491387acb38ee63a5b36bb
MD5 0e8269567456f7fb814e02f2e291018f
BLAKE2b-256 4a42a2dce80fe0102eb4a2fdc0b1c00d3b57dd1c019969545499d6804caa096e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_sql_explorer-4.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1c0fd62879f7f600523eda0b1ab3c15c199988dd2532b4b7ef15e0d8d04ac751
MD5 b1136f4904d0b1f2edff46f901380bfa
BLAKE2b-256 49b2b9e715720278caff24cda5095137dba4ea4630c4d22ab8b9755eff644099

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