Skip to main content

datasette-verify

PyPI Changelog Tests License

Verify that SQLite files can be opened using Datasette

Installation

Install this plugin in the same environment as Datasette.

$ datasette install datasette-verify

This plugin depends on Datasette 0.59a2 or higher, as it uses the register_commands() plugin hook.

Usage

To confirm that files can be opened by Datasette, run the following:

datasette verify file1.db file2.db

You can pass one or more file paths.

The command will exit silently with a 0 exit code if the files are all valid SQLite databases that Datasette can open.

It will exit with a 1 exit code and display an error for the first file it finds that is not valid.

Development

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

cd datasette-verify
python3 -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Release files for datasette-verify 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-verify 0.1
File Size Uploaded
datasette-verify-0.1.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datasette-verify 0.1
File Interpreter ABI Platform
datasette_verify-0.1-py3-none-any.whl Python 3 none any Details

Total release size:5.2 kB

Release files / datasette-verify-0.1.tar.gz

Download URL datasette-verify-0.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8496c3b9cda158a19788f5bad446b310a20e5d9cfddd90f9e2452450ee0f4530
BLAKE2b-256 checksum
How to use checksums
39422bd0bd3816c3f55f4602f4e064b93d7796a977fe3855cdbfdc63dc190f2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

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

Download URL datasette_verify-0.1-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee4202e0a71d698d9eed48f9009a1473033a29ee4ea10fa859de34066ab8cfb9
BLAKE2b-256 checksum
How to use checksums
55e0327dc4b2841d0714e4262cea412952787cd90e0b3d8e574ca01a319639c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

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