Datasette plugin for modifying table schemas
Project description
datasette-edit-schema
Datasette plugin for modifying table schemas
Features (planned)
- Rename a table
- Delete a table
- Modify the type of columns in a table
- Add new columns to a table
- Create a new empty table from scratch
Installation
Install this plugin in the same environment as Datasette.
$ pip install datasette-edit-schema
Usage
Navigate to /-/edit-schema/dbname/tablename
on your Datasette instance to edit a specific table.
Use /-/edit-schema/dbname
to create a new table in a specific database.
By default only the root actor can access the page - so you'll need to run Datasette with the --root
option and click on the link shown in the terminal to sign in and access the page.
The edit-schema
permission governs access. You can use permission plugins such as datasette-permissions-sql to grant additional access to the write interface.
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
File details
Details for the file datasette-edit-schema-0.3a2.tar.gz
.
File metadata
- Download URL: datasette-edit-schema-0.3a2.tar.gz
- Upload date:
- Size: 51.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5903c6ba0ae938f8b15eb2191d525d437778b0b840d9869c2375057e6d5e49a |
|
MD5 | 57d6e54c3c263ff4a3e9d7c4b0a61a9f |
|
BLAKE2b-256 | 9bcff8f120d9ba492614f5f4e7cfc01d08ff6225271ff8668ac911fba9e1b37c |
Provenance
File details
Details for the file datasette_edit_schema-0.3a2-py3-none-any.whl
.
File metadata
- Download URL: datasette_edit_schema-0.3a2-py3-none-any.whl
- Upload date:
- Size: 56.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13ec3a10aa62c22821fe9268aed1bbdb485c10a9fcbc0257a126af68c55cae75 |
|
MD5 | 1292fc0d35e8aac907094374a0c2608b |
|
BLAKE2b-256 | d88cea547fd3f087c23c5969cf9ac8bec17bfdfc57f071141321c220af2414df |