Skip to main content

Add preview hovercards to links in Datasette

Project description

datasette-hovercards

PyPI Changelog Tests License

Add preview hovercards to links in Datasette

Installation

Install this plugin in the same environment as Datasette.

$ datasette install datasette-hovercards

Usage

Once installed, hovering over a link to a row within the Datasette interface - for example a foreign key reference on the table page - should show a hovercard with a preview of that row.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-hovercards
python3 -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and test dependencies:

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-hovercards-0.1a0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

datasette_hovercards-0.1a0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file datasette-hovercards-0.1a0.tar.gz.

File metadata

  • Download URL: datasette-hovercards-0.1a0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for datasette-hovercards-0.1a0.tar.gz
Algorithm Hash digest
SHA256 0b2222f1d69317e93949bfa2096181b2679df619208a5e1113b31146466d27d6
MD5 32dea6f08e35b06d743b6cd8f405c9d0
BLAKE2b-256 aa6c2d86245be9080e699281896d9a9e12f9876b0a9f939af26d7b7911cbfbde

See more details on using hashes here.

File details

Details for the file datasette_hovercards-0.1a0-py3-none-any.whl.

File metadata

  • Download URL: datasette_hovercards-0.1a0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for datasette_hovercards-0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c9c1ddf46b7e9b17082272092483218978808f8bae7365927d305cc377da811
MD5 442ffc0bc4c9101318e98eb36316d39c
BLAKE2b-256 049236ab94292675cf71b9870d5c136fe43dfe2f28c6595e15ddd8568130097c

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