Datasette plugin for importing tables from other Datasette instances
Project description
datasette-import-table
Datasette plugin for importing tables from other Datasette instances
Installation
Install this plugin in the same environment as Datasette.
$ datasette install datasette-import-table
Usage
Visit /-/import-table
for the interface. Paste in the URL to a table page on another Datasette instance and click the button to import that table.
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 import-table
permission governs access. You can use permission plugins such as datasette-permissions-sql to grant additional access to the write interface.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-import-table
python3 -mvenv venv
source venv/bin/activate
Or if you are using pipenv
:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
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
Hashes for datasette-import-table-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6c800ca8a2cd220dd9526289edba40508fc6dad515b88d4e6a5c6ee8306bde2 |
|
MD5 | 1ef525d968abda9cba122928ee012100 |
|
BLAKE2b-256 | 47492b8ab5667204655bcfbef7039fb915945c7cf56b364dd8d98c1c8be4b025 |
Hashes for datasette_import_table-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65c11c7ae87cb6d31f1c8a22fe64dff64b6f501fc8653604e192c86138572228 |
|
MD5 | a17e2648903df5f828ee879c698d4696 |
|
BLAKE2b-256 | 79e022c0a08afa7d11ee088a590d742204efaf5843028d822a8a98ca3da5a887 |