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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e342cd1b1ccd1ff6205963b56e13dbdf151acf2554ecc82c991b0616a6b31db |
|
MD5 | f85c973ea9d50501125d51544945319e |
|
BLAKE2b-256 | bb598a9357885a5972682369160b25cd7c930dbc7311ed67d71bf7b93e88d7f2 |
Hashes for datasette_import_table-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cb90378dc88548cca8e3feb49c3e48f7204e83ade6a04f0f7989873e460eb83 |
|
MD5 | 199b2a5551ddf1f05a38c2f66565d0a4 |
|
BLAKE2b-256 | bad9cbb35aaae3e85a4d6b60bfe2b3a14de07155d3daa075ebaa0f29a6002015 |