Export a copy of a SQLite database on demand
Project description
datasette-export-database
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datasette_export_database-0.3a1.tar.gz.
File metadata
- Download URL: datasette_export_database-0.3a1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3191ac20d0b0739591ac514a5024434adc06b46821017b23d1ec9b7814b2c8f
|
|
| MD5 |
472cadbcda7826a0e09ae4f6bdb04640
|
|
| BLAKE2b-256 |
9dd224ce450490a7acfeecbfbac91b7963c1a99fa4d2524c2050c11a73bf77d8
|
Provenance
The following attestation bundles were made for datasette_export_database-0.3a1.tar.gz:
Publisher:
publish.yml on datasette/datasette-export-database
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasette_export_database-0.3a1.tar.gz -
Subject digest:
d3191ac20d0b0739591ac514a5024434adc06b46821017b23d1ec9b7814b2c8f - Sigstore transparency entry: 1313604364
- Sigstore integration time:
-
Permalink:
datasette/datasette-export-database@1a84effc2c29b4539364f0816852feb127ed0a93 -
Branch / Tag:
refs/tags/0.3a1 - Owner: https://github.com/datasette
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1a84effc2c29b4539364f0816852feb127ed0a93 -
Trigger Event:
release
-
Statement type:
File details
Details for the file datasette_export_database-0.3a1-py3-none-any.whl.
File metadata
- Download URL: datasette_export_database-0.3a1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d37f0223d6ea8708de32deb8abc5cb455b9b32110d1571b6691e682f24b7a258
|
|
| MD5 |
d28fa59d7d536b09c5931ceaac951cb5
|
|
| BLAKE2b-256 |
0e0c8534ebe8434dbef4a5d8d902c08656234f08188bbe34e4b43b4b69660f39
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasette_export_database-0.3a1-py3-none-any.whl -
Subject digest:
d37f0223d6ea8708de32deb8abc5cb455b9b32110d1571b6691e682f24b7a258 - Sigstore transparency entry: 1313604498
- Sigstore integration time:
-
Permalink:
datasette/datasette-export-database@1a84effc2c29b4539364f0816852feb127ed0a93 -
Branch / Tag:
refs/tags/0.3a1 - Owner: https://github.com/datasette
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1a84effc2c29b4539364f0816852feb127ed0a93 -
Trigger Event:
release
-
Statement type: