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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ab492626f4f9191b8109edc767fe83cf05a3d1074237563d796b0d8b5f68ec7 |
|
MD5 | 1c9c6e79e78de18a572a2f4916921dc1 |
|
BLAKE2b-256 | 35a7850472c4d31aadad28cafad940f0cb4e3c74dfcee08b7b3290911966e7f4 |
Hashes for datasette_import_table-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39ea329086ff3625b6700a33f05c52baf509b3b2079e497a4c96dc0bb8be0fdc |
|
MD5 | 77bb8dfd5af900c7aa80aabac9641f5c |
|
BLAKE2b-256 | f98525ba5504a11471fec4ad0c8bdc24a8af5a7df8839b13cfed0dabbe0826de |