Remove a database from Datasette
Project description
datasette-remove-database
Remove a database from Datasette
Installation
Install this plugin in the same environment as Datasette.
datasette install datasette-remove-database
Usage
Users with the remove-database permission will see a new menu item on the database page that allows them to remove the database.
By default databases that are removed from Datasette will still be available on disk.
To also delete the file from disk, add this configuration:
plugins:
datasette-remove-database:
delete: true
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-remove-database
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
python -m pytest
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_remove_database-0.1a2.tar.gz.
File metadata
- Download URL: datasette_remove_database-0.1a2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
926d1cce985253d5eee147081abbfa9ed0541e9c82140ef1ca40e3f370cfa0dd
|
|
| MD5 |
27cb2cdf0e7c70c0ad448698103ba5a7
|
|
| BLAKE2b-256 |
46fdddd8b1f64614a09456349ec5a30ef690b95ceff6bab13347196a7f7acba3
|
Provenance
The following attestation bundles were made for datasette_remove_database-0.1a2.tar.gz:
Publisher:
publish.yml on datasette/datasette-remove-database
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasette_remove_database-0.1a2.tar.gz -
Subject digest:
926d1cce985253d5eee147081abbfa9ed0541e9c82140ef1ca40e3f370cfa0dd - Sigstore transparency entry: 684149484
- Sigstore integration time:
-
Permalink:
datasette/datasette-remove-database@a63e9609e9c9291644ed3abc614cf0ef639e1d9c -
Branch / Tag:
refs/tags/0.1a2 - Owner: https://github.com/datasette
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a63e9609e9c9291644ed3abc614cf0ef639e1d9c -
Trigger Event:
release
-
Statement type:
File details
Details for the file datasette_remove_database-0.1a2-py3-none-any.whl.
File metadata
- Download URL: datasette_remove_database-0.1a2-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f4a0fec533c8c5557d9349f0b65b4a06f39c0041da46597321928007fc44c83
|
|
| MD5 |
8490f84993f71a3771fea4cf2bc0d93a
|
|
| BLAKE2b-256 |
70fe9726680293e411dc9fb1031bb5f65e095ff5f041ff77d19fad523b3c47a6
|
Provenance
The following attestation bundles were made for datasette_remove_database-0.1a2-py3-none-any.whl:
Publisher:
publish.yml on datasette/datasette-remove-database
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasette_remove_database-0.1a2-py3-none-any.whl -
Subject digest:
9f4a0fec533c8c5557d9349f0b65b4a06f39c0041da46597321928007fc44c83 - Sigstore transparency entry: 684149488
- Sigstore integration time:
-
Permalink:
datasette/datasette-remove-database@a63e9609e9c9291644ed3abc614cf0ef639e1d9c -
Branch / Tag:
refs/tags/0.1a2 - Owner: https://github.com/datasette
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a63e9609e9c9291644ed3abc614cf0ef639e1d9c -
Trigger Event:
release
-
Statement type: