This release is a pre-release and may not be stable for production use.
datasette-metadata-editable
A Datasette plugin for editing instance, database and table metadata. Currently requires Datasette 1.0a14 or higher.
Installation
Install this plugin in the same environment as Datasette.
datasette install datasette-metadata-editable
Usage
This plugin must be used with a persistent internal.db database. If you don't configure Datasette in this way any changes made to metadata will be lost when the server restarts.
Be sure to start Datasette something like this:
datasette --internal internal.db
Users with the datasette-metadata-editable-edit permission will see action menu items for editing the metadata attached to the instance, a database or a table.
An easy way to test the plugin is like this, which will allow even logged out users to edit metadata:
datasette --internal internal.db -s permissions.datasette-metadata-editable-edit true
Or to restrict edits to the root user:
datasette --internal internal.db -s permissions.datasette-metadata-editable-edit.id root --root
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-metadata-editable
python3 -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Metadata
Release files for datasette-metadata-editable 0.2a3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datasette_metadata_editable-0.2a3.tar.gz | 13.8 kB | Without provenance | Details for datasette_metadata_editable-0.2a3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datasette_metadata_editable-0.2a3-py3-none-any.whl | Python 3 | none | any | Details for datasette_metadata_editable-0.2a3-py3-none-any.whl |
Total release size: 25.2 kB
Release files / datasette_metadata_editable-0.2a3.tar.gz
| Download URL | datasette_metadata_editable-0.2a3.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e352875920401a77799133d82790a3af14ee0d52c557f33a94cb2d5481af3434
|
|
BLAKE2b-256 checksum How to use checksums |
fe4481b185ee3da8ce4daee64ede685b5a5657d911d296230e82498044f2b150
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / datasette_metadata_editable-0.2a3-py3-none-any.whl
| Download URL | datasette_metadata_editable-0.2a3-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fddefbc52829b0b442fa7e604c42344a090bd34460b8ea1fedee775f5e335352
|
|
BLAKE2b-256 checksum How to use checksums |
5ef7abb0e0bd3a92b47b9fdba686d4bf76915140970c89be3bc74039a5a184f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for datasette-metadata-editable 0.2a3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.