Skip to main content

django-sql-dashboard

PyPI Changelog Tests License

Django SQL Dashboard provides an authenticated interface for executing read-only SQL queries directly against your PostgreSQL database, bringing a useful subset of Datasette to Django.

Applications include ad-hoc analysis and debugging, plus the creation of reporting dashboards that can be shared with team members or published online.

See my blog for more about this project, including a video demo.

Features include:

  • Safely run read-only one or more SQL queries against your database and view the results in your browser
  • Bookmark queries and share those links with other members of your team
  • Create saved dashboards from your queries, with full control over who can view and edit them
  • Named parameters such as select * from entries where id = %(id)s will be turned into form fields, allowing quick creation of interactive dashboards
  • Produce bar charts, progress bars and more from SQL queries, with the ability to easily create new custom dashboard widgets using the Django template system
  • Write SQL queries that safely construct and render markdown and HTML
  • Export the full results of a SQL query as a downloadable CSV or TSV file, using a combination of Django's streaming HTTP response mechanism and PostgreSQL server-side cursors to efficiently stream large amounts of data without running out of resources
  • Copy and paste the results of SQL queries directly into tools such as Google Sheets or Excel
  • Uses Django's authentication system, so dashboard accounts can be granted using Django's Admin tools

Documentation

Full documentation is at django-sql-dashboard.datasette.io

Screenshot

Screenshot showing a SQL query that produces a table and one that produces a bar chart

Metadata

Release files for django-sql-dashboard 0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-sql-dashboard 0.14
File Size Uploaded
django-sql-dashboard-0.14.tar.gz 24.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-sql-dashboard 0.14
File Interpreter ABI Platform
django_sql_dashboard-0.14-py3-none-any.whl Python 3 none any Details

Total release size: 56.9 kB

Release files / django-sql-dashboard-0.14.tar.gz

Download URL django-sql-dashboard-0.14.tar.gz
Size 24.6 kB
Tags Source
SHA-256 checksum
How to use checksums
43f6fde99c4c980a98fa1b58c157826bf35b4fc5bc10a53ccd6f31e600f62a5e
BLAKE2b-256 checksum
How to use checksums
fe771228d49df0f94bf8e9131b8cc4e6a612b0c6143bc2d730f598626d9718d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Release files / django_sql_dashboard-0.14-py3-none-any.whl

Download URL django_sql_dashboard-0.14-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe0edcfc65aab0b6ba7f552976c6c1480cb832d77154ac764b8ece8cedead5d6
BLAKE2b-256 checksum
How to use checksums
7180f13d88fe95bfe6b14c13e3db2e6e0c27c4c4ca1a30f943e15199c7fea2f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Release history Release notifications | RSS feed

1.2

2 release files

1.1

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0

2 release files

0.16

2 release files

0.15

2 release files

This release

0.14 This release

2 release files

0.13

2 release files

0.12

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page