当前位置: 首页 > 软件库 > 数据库相关 > >

django-sql-dashboard

授权协议 Apache-2.0 License
开发语言 C/C++
所属分类 数据库相关
软件类型 开源软件
地区 不详
投 递 者 欧阳睿范
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

django-sql-dashboard

Tests

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

Alternatives

  • django-sql-explorer provides a related set of functionality that also works against database backends other than PostgreSQL
  • 6.1通过脚本安装dashboard服务 6.2-6.4dashboard的操作命令已经编写成shell脚本,通过脚本进行一键安装。如下: #Controller 执行脚本iaas-install-dashboard.sh进行安装 6.2安装Dashboard服务软件包 # yum install openstack-dashboard  –y 6.3配置 修改/etc/openstack-das

  • 下载: https://github.com/django-debug-toolbar/django-debug-toolbar/archive/1.4.zip 安装: cd /home/dev/django-debug-toolbar-1.4 python ./setup.py  install 配置: http://django-debug-toolbar.readthedocs.org/en

 相关资料
  • SQL Explorer SQL Explorer aims to make the flow of data between people fast,simple, and confusion-free. It is a Django-based application that youcan add to an existing Django site, or use as a standal

  • 问题内容: 如何从QuerySet对象获取Django将在数据库上使用的SQL?我正在尝试调试一些奇怪的行为,但是我不确定要对数据库进行哪些查询。谢谢你的帮助。 问题答案: 你打印查询集的属性。

  • 问题内容: 我正在尝试将数据转储到SQL语句。django-admin.py dumpdata仅提供json,xml,yaml。所以: 有人知道这样做的好方法吗? 我尝试过: def sqldumper(模型): 因此,我自己查看模型的值,然后自己编写INSERT语句。然后我想到了使用“ django-admin.py sql”来获取“ CREATE”语句..但是后来我不知道如何从我的代码内部使用

  • 我是Django ORM的新手,正在努力将以下查询转换为ORM。感谢任何帮助/指导。日期/时间不按特定顺序排列。 提前谢谢 SQL查询:<br>从<br>中选择<br>A.Person_id、<br>A.Dept_id、<br>A.score_date、<br>A.score<br>作为<br>内部联接<br>(从借款者deptscore分组中选择Person_ id、Dept_ id、MAX(s

  • 问题内容: 在django中,此SQL语句的等效项是什么? 如何在Django中实现呢?我试过了 但这是行不通的。我该如何执行呢? 问题答案: 使用或(不区分大小写): SQL等效为

  • 本文向大家介绍Django 连接sql server数据库的方法,包括了Django 连接sql server数据库的方法的使用技巧和注意事项,需要的朋友参考一下 *在此注明,本人使用的是python3.5和Django2.0.4 sql server是微软出的一款闭源的可运行于windows和linux平台上的 关系型数据库 。由于其闭源的特性,所以较少有公司使用,但是比较神奇的是,我所在的公司