Skip to main content

Datasette plugin that lets users save and execute queries

Project description

datasette-saved-queries

PyPI Changelog License

Datasette plugin that lets users save and execute queries

Installation

Install this plugin in the same environment as Datasette.

$ pip install datasette-saved-queries

Usage

When the plugin is installed Datasette will automatically create a saved_queries table in the first connected database when it starts up.

It also creates a save_query writable canned query which you can use to save new queries.

Queries that you save will be added to the query list on the database page.

Development

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

cd datasette-saved-queries
python -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-saved-queries-0.2.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

datasette_saved_queries-0.2.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file datasette-saved-queries-0.2.2.tar.gz.

File metadata

File hashes

Hashes for datasette-saved-queries-0.2.2.tar.gz
Algorithm Hash digest
SHA256 f78d40eb1c6f3f8bcaadd8d0ed9eafef28c1305c0eb7f5dbd02d95be0ad6b5d1
MD5 44b0de6db76444a24ec48ac5135d9796
BLAKE2b-256 059a6af67ade32054861432423df3a9592ee9a03b8e57573a6397cddfee388ed

See more details on using hashes here.

File details

Details for the file datasette_saved_queries-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_saved_queries-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f151ba8fe03828ee87a2e3f26df78022023684736d508fba2eb9ca372f2fe3b6
MD5 40bf063c03a93e96e2daa6effa858001
BLAKE2b-256 707805068e846f062c8e772b77ff72f9b4dbf6dedb4fd509a1fbb477285434b2

See more details on using hashes here.

Supported by

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