Skip to content

datasette/datasette-queries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datasette-queries

PyPI Changelog Tests License

Save SQL queries in Datasette

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-queries

Usage

Users with the datasette-queries permission will see a new UI element on the results of a SQL query inviting them to save that query.

Saved queries (treated as canned queries) are then shown as a list on the database page.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-queries
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

About

Save SQL queries in Datasette

Resources

License

Stars

Watchers

Forks

Packages

No packages published