Skip to main content

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

Release files for datasette-queries 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datasette-queries 0.1.2
File Size Uploaded
datasette_queries-0.1.2.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datasette-queries 0.1.2
File Interpreter ABI Platform
datasette_queries-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / datasette_queries-0.1.2.tar.gz

Download URL datasette_queries-0.1.2.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b71d5e6a78e7a251989369b59a7e0745deafbe1a484388fd80eea71f80411d81
BLAKE2b-256 checksum
How to use checksums
d2ef7c46e2df865fc2fa2763c220b9e425088ffa21303451d4d798c16ebcc942
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 22, 2025.

Transparency log

Release files / datasette_queries-0.1.2-py3-none-any.whl

Download URL datasette_queries-0.1.2-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06ec92ee3bb4b15b35260c06dcb235eb0c68a102a403e50b5905e35a40af73d8
BLAKE2b-256 checksum
How to use checksums
c1868602e77fb9851ba28c5d655cfe4b22c7da44c4ea620b5017bd48d97b2d0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 22, 2025.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page