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.3a1.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.3a1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for datasette_export_database-0.3a1.tar.gz
Algorithm Hash digest
SHA256 d3191ac20d0b0739591ac514a5024434adc06b46821017b23d1ec9b7814b2c8f
MD5 472cadbcda7826a0e09ae4f6bdb04640
BLAKE2b-256 9dd224ce450490a7acfeecbfbac91b7963c1a99fa4d2524c2050c11a73bf77d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_export_database-0.3a1.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.3a1-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_export_database-0.3a1-py3-none-any.whl
Algorithm Hash digest
SHA256 d37f0223d6ea8708de32deb8abc5cb455b9b32110d1571b6691e682f24b7a258
MD5 d28fa59d7d536b09c5931ceaac951cb5
BLAKE2b-256 0e0c8534ebe8434dbef4a5d8d902c08656234f08188bbe34e4b43b4b69660f39

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_export_database-0.3a1-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