Django app for building dashboards using raw SQL queries
Project description
django-sql-dashboard
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
Alternatives
- django-sql-explorer provides a related set of functionality that also works against database backends other than PostgreSQL
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-sql-dashboard-0.15.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a75b26059b3de014a7a13cb51d19c1368ea13717272f2807adade17e717277f0 |
|
MD5 | 6c7ca93de2239d92031a7808e2b45f9e |
|
BLAKE2b-256 | 5564fac4d84e63a5a9c3ac1ffc631be2dafa789e555a3cdef12d4ad9e776293b |
Close
Hashes for django_sql_dashboard-0.15.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3f77a53213c164c30132cc77889a38325d87c08d26acff08f8a5ab2be3d0994 |
|
MD5 | 6b8db6d940025186265ae736f7625841 |
|
BLAKE2b-256 | 62834a25d850c9fa57bbc960a09dce3216cd1a76b68dbbba699b405466b82505 |