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)swill 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
Metadata
Release files for django-sql-dashboard 0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-sql-dashboard-0.15.tar.gz | 24.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_sql_dashboard-0.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 57.2 kB
Release files / django-sql-dashboard-0.15.tar.gz
| Download URL | django-sql-dashboard-0.15.tar.gz |
|---|---|
| Size | 24.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbe4d80fc7693a20ccbff6b69b59d3afed95a5a578d9ba4fc0bf515fdcde6669
|
|
BLAKE2b-256 checksum How to use checksums |
e48799a20b260078a3b1bcc3ab86204a3bfa450036e60edb4cb8cd37cf465e6a
|
| 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.61.0 CPython/3.9.5
|
Release files / django_sql_dashboard-0.15-py3-none-any.whl
| Download URL | django_sql_dashboard-0.15-py3-none-any.whl |
|---|---|
| Size | 32.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80c98befc03e2e315e70c672eecf7ddb9e82b3aeb96611394cd17cb0a74c0a07
|
|
BLAKE2b-256 checksum How to use checksums |
c2411e17bfdfad45ce55a8c0f78e1ff3cfd1c247ef158d81ad26b1c42ad0fe5f
|
| 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.61.0 CPython/3.9.5
|