Skip to main content

Datasette plugin for importing tables from other Datasette instances

Project description

datasette-import-table

PyPI Changelog Tests License

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datasette-import-table-0.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

datasette_import_table-0.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file datasette-import-table-0.2.tar.gz.

File metadata

  • Download URL: datasette-import-table-0.2.tar.gz
  • Upload date:
  • Size: 4.8 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

Hashes for datasette-import-table-0.2.tar.gz
Algorithm Hash digest
SHA256 2ab492626f4f9191b8109edc767fe83cf05a3d1074237563d796b0d8b5f68ec7
MD5 1c9c6e79e78de18a572a2f4916921dc1
BLAKE2b-256 35a7850472c4d31aadad28cafad940f0cb4e3c74dfcee08b7b3290911966e7f4

See more details on using hashes here.

File details

Details for the file datasette_import_table-0.2-py3-none-any.whl.

File metadata

  • Download URL: datasette_import_table-0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 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

Hashes for datasette_import_table-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 39ea329086ff3625b6700a33f05c52baf509b3b2079e497a4c96dc0bb8be0fdc
MD5 77bb8dfd5af900c7aa80aabac9641f5c
BLAKE2b-256 f98525ba5504a11471fec4ad0c8bdc24a8af5a7df8839b13cfed0dabbe0826de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page