Skip to main content

Datasette plugin that keeps a list of the queries you've run and lets you rerun them.

Project description

datasette-query-history

PyPI Changelog Tests License

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.

Screenshot of plugin

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

datasette-query-history-0.2.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datasette_query_history-0.2.3-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file datasette-query-history-0.2.3.tar.gz.

File metadata

  • Download URL: datasette-query-history-0.2.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for datasette-query-history-0.2.3.tar.gz
Algorithm Hash digest
SHA256 2b41de92dfdbc2939554d4ec684e3f29f9116b3766189fabaf44ae0c5bbc2f50
MD5 3c6d9daa9e237b224d2cf8f66322b585
BLAKE2b-256 5bdd011cce21f85850eb94f3f07d6332635c4b529369076f57da1ffaf0454330

See more details on using hashes here.

File details

Details for the file datasette_query_history-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: datasette_query_history-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for datasette_query_history-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ad19ba4df4408c30dc918647f81f4147c943a533891e2b345ad0953a2399c71d
MD5 ba1b415875e97d3d0c4b799f96746aa0
BLAKE2b-256 2938558dd2fde0cd4462e5c884560fa7f0b747f8e566a9728bfbf63ebdb5560f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page