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.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

datasette_import_table-0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datasette-import-table-0.1.tar.gz
  • Upload date:
  • Size: 4.3 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.1.tar.gz
Algorithm Hash digest
SHA256 b6c800ca8a2cd220dd9526289edba40508fc6dad515b88d4e6a5c6ee8306bde2
MD5 1ef525d968abda9cba122928ee012100
BLAKE2b-256 47492b8ab5667204655bcfbef7039fb915945c7cf56b364dd8d98c1c8be4b025

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datasette_import_table-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65c11c7ae87cb6d31f1c8a22fe64dff64b6f501fc8653604e192c86138572228
MD5 a17e2648903df5f828ee879c698d4696
BLAKE2b-256 79e022c0a08afa7d11ee088a590d742204efaf5843028d822a8a98ca3da5a887

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