datasette-queries


Namedatasette-queries JSON
Version 0.1.2 PyPI version JSON
download
home_pageNone
SummarySave SQL queries in Datasette
upload_time2025-07-22 19:12:16
maintainerNone
docs_urlNone
authorSimon Willison
requires_python>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # datasette-queries

[![PyPI](https://img.shields.io/pypi/v/datasette-queries.svg)](https://pypi.org/project/datasette-queries/)
[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-queries?include_prereleases&label=changelog)](https://github.com/datasette/datasette-queries/releases)
[![Tests](https://github.com/datasette/datasette-queries/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-queries/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-queries/blob/main/LICENSE)

Save SQL queries in Datasette

## Installation

Install this plugin in the same environment as Datasette.
```bash
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](https://docs.datasette.io/en/stable/sql_queries.html#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:
```bash
cd datasette-queries
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "datasette-queries",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Simon Willison",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/d2/ef/7c46e2df865fc2fa2763c220b9e425088ffa21303451d4d798c16ebcc942/datasette_queries-0.1.2.tar.gz",
    "platform": null,
    "description": "# datasette-queries\n\n[![PyPI](https://img.shields.io/pypi/v/datasette-queries.svg)](https://pypi.org/project/datasette-queries/)\n[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-queries?include_prereleases&label=changelog)](https://github.com/datasette/datasette-queries/releases)\n[![Tests](https://github.com/datasette/datasette-queries/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-queries/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-queries/blob/main/LICENSE)\n\nSave SQL queries in Datasette\n\n## Installation\n\nInstall this plugin in the same environment as Datasette.\n```bash\ndatasette install datasette-queries\n```\n## Usage\n\nUsers with the `datasette-queries` permission will see a new UI element on the results of a SQL query inviting them to save that query.\n\nSaved queries (treated as [canned queries](https://docs.datasette.io/en/stable/sql_queries.html#canned-queries)) are then shown as a list on the database page.\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n```bash\ncd datasette-queries\npython -m venv venv\nsource venv/bin/activate\n```\nNow install the dependencies and test dependencies:\n```bash\npip install -e '.[test]'\n```\nTo run the tests:\n```bash\npython -m pytest\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Save SQL queries in Datasette",
    "version": "0.1.2",
    "project_urls": {
        "CI": "https://github.com/datasette/datasette-queries/actions",
        "Changelog": "https://github.com/datasette/datasette-queries/releases",
        "Homepage": "https://github.com/datasette/datasette-queries",
        "Issues": "https://github.com/datasette/datasette-queries/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c1868602e77fb9851ba28c5d655cfe4b22c7da44c4ea620b5017bd48d97b2d0a",
                "md5": "8a88824d2fb4283afa95836d420b30f1",
                "sha256": "06ec92ee3bb4b15b35260c06dcb235eb0c68a102a403e50b5905e35a40af73d8"
            },
            "downloads": -1,
            "filename": "datasette_queries-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8a88824d2fb4283afa95836d420b30f1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 10386,
            "upload_time": "2025-07-22T19:12:15",
            "upload_time_iso_8601": "2025-07-22T19:12:15.232596Z",
            "url": "https://files.pythonhosted.org/packages/c1/86/8602e77fb9851ba28c5d655cfe4b22c7da44c4ea620b5017bd48d97b2d0a/datasette_queries-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d2ef7c46e2df865fc2fa2763c220b9e425088ffa21303451d4d798c16ebcc942",
                "md5": "b132478ca1f724fdf8be02a283188abc",
                "sha256": "b71d5e6a78e7a251989369b59a7e0745deafbe1a484388fd80eea71f80411d81"
            },
            "downloads": -1,
            "filename": "datasette_queries-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "b132478ca1f724fdf8be02a283188abc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 11574,
            "upload_time": "2025-07-22T19:12:16",
            "upload_time_iso_8601": "2025-07-22T19:12:16.218198Z",
            "url": "https://files.pythonhosted.org/packages/d2/ef/7c46e2df865fc2fa2763c220b9e425088ffa21303451d4d798c16ebcc942/datasette_queries-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-22 19:12:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "datasette",
    "github_project": "datasette-queries",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "datasette-queries"
}
        
Elapsed time: 1.38999s