Skip to main content

datasette-create-view

PyPI Changelog Tests License

Create a SQL view from a query

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-create-view

Usage

Users with the create-table permission will get a new menu item on the query results page offering to save the query as a view.

This option will only show for SQL queries that do not use :named parameters.

Development

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

cd datasette-create-view
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Metadata

Release files for datasette-create-view 0.1

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-create-view 0.1
File Size Uploaded Provenance Actions
datasette-create-view-0.1.tar.gz 8.0 kB Without provenance Details for datasette-create-view-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datasette-create-view 0.1
File Interpreter ABI Platform Actions
datasette_create_view-0.1-py3-none-any.whl Python 3 none any Details for datasette_create_view-0.1-py3-none-any.whl

Total release size: 16.1 kB

Release files / datasette-create-view-0.1.tar.gz

Download URL datasette-create-view-0.1.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b8dd84c511c18f8de549674061f7c85d91711a429624ec108d4f1b95945423e1
BLAKE2b-256 checksum
How to use checksums
5855a6a93b4da09a6eae40102746088f61dd6f74bdf81dd23012d825ab43eaa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / datasette_create_view-0.1-py3-none-any.whl

Download URL datasette_create_view-0.1-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef14d23504f96bc3a9798c99c5c49b251c9b1272325b3df4dae32843a4b39a88
BLAKE2b-256 checksum
How to use checksums
b878f6f35ca4582b42debe8192d99f608656a777773cb20ddabbc72b3b4d5aa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Security for datasette-create-view 0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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