Skip to main content

Export a copy of a SQLite database on demand

Project description

datasette-export-database

PyPI Changelog Tests License

Export a copy of a SQLite database on demand

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-export-database

Usage

Users with the export-database permission will be able to download a fresh snapshot of any on-disk (not in-memory) database using a new option in the database action menu.

Development

To set up this plugin locally, first checkout the code. Then run the tests with uv:

cd datasette-export-database
uv run pytest

To try the plugin out (with the permission set for every user):

uv run datasette test.db --create -s permissions.export-database true

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_export_database-0.3a2.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datasette_export_database-0.3a2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file datasette_export_database-0.3a2.tar.gz.

File metadata

File hashes

Hashes for datasette_export_database-0.3a2.tar.gz
Algorithm Hash digest
SHA256 72d72f97a6363ddedb2c3f50a9b628509511d10747b841938294f5fdc2a5f19d
MD5 732903362ea62e4fe1dcd0740e1d41f8
BLAKE2b-256 739d65f148bb60966024dd86ac04a34b56fb7004bfcf8b77f4132845b95d0e3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_export_database-0.3a2.tar.gz:

Publisher: publish.yml on datasette/datasette-export-database

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datasette_export_database-0.3a2-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_export_database-0.3a2-py3-none-any.whl
Algorithm Hash digest
SHA256 30b8a3f1bb7664df0a725cd97b75e723db920d743bad11033ae9dbd1066b2ec3
MD5 260052251c9f8edc5fb556f1a1e12265
BLAKE2b-256 79828636d85595c0a85b1b731e9ea0f7303047540e8da74311bf6aec18c7d81b

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_export_database-0.3a2-py3-none-any.whl:

Publisher: publish.yml on datasette/datasette-export-database

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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