Datasette plugin that keeps a list of the queries you've run and lets you rerun them.
Project description
datasette-query-history
Datasette plugin that keeps a list of the queries you've run and lets you rerun them.
Installation
Install this plugin in the same environment as Datasette.
$ datasette install datasette-query-history
Usage
Click the Query History
button on the SQL editor page to see previous queries.
Click the ⬆︎ button to replace the current query with a previous query.
Click the Clear Query History
button to clear the list previous queries.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-query-history
python3 -mvenv venv
source venv/bin/activate
Or if you are using pipenv
:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
pytest
Project details
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 datasette-query-history-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b41de92dfdbc2939554d4ec684e3f29f9116b3766189fabaf44ae0c5bbc2f50 |
|
MD5 | 3c6d9daa9e237b224d2cf8f66322b585 |
|
BLAKE2b-256 | 5bdd011cce21f85850eb94f3f07d6332635c4b529369076f57da1ffaf0454330 |
Close
Hashes for datasette_query_history-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad19ba4df4408c30dc918647f81f4147c943a533891e2b345ad0953a2399c71d |
|
MD5 | ba1b415875e97d3d0c4b799f96746aa0 |
|
BLAKE2b-256 | 2938558dd2fde0cd4462e5c884560fa7f0b747f8e566a9728bfbf63ebdb5560f |