Skip to main content

Datasette plugin that makes table filter column dropdowns searchable

Project description

datasette-searchable-filter-columns

Type to search the column dropdown in Datasette's table filters.

Datasette's table filter lists every column in one dropdown, which gets unwieldy on wide tables. This plugin turns that dropdown into a search box: start typing and the list narrows to matching columns. Columns stay in their original order, and filters are submitted exactly as before.

Installation

Install it into the same environment as Datasette:

datasette install datasette-searchable-filter-columns

Usage

Run Datasette as usual and open any table:

datasette data.db

In the table's filter row, the column selector is now a search box — type part of a column name to narrow the list, pick one, and add your filter as normal. It works automatically; there's nothing to configure.

For developers

Clone this repository and install your local copy in editable mode, so your edits take effect without reinstalling:

pip install -e . --no-build-isolation

Run the tests:

python -m unittest discover

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_searchable_filter_columns-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file datasette_searchable_filter_columns-0.1.0.tar.gz.

File metadata

File hashes

Hashes for datasette_searchable_filter_columns-0.1.0.tar.gz
Algorithm Hash digest
SHA256 09f00ac7d3cbfed60685c4d36bde09efe1f613b78bdca658a73f8a57b44be386
MD5 cb5de65ded7483dde8fae8c52ecb0890
BLAKE2b-256 2c8a4429028638d605afa991447fafa6745eeac2ad3dd3bbc59f1097b906c82d

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_searchable_filter_columns-0.1.0.tar.gz:

Publisher: publish.yml on jwelby/datasette-searchable-filter-columns

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datasette_searchable_filter_columns-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_searchable_filter_columns-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efec4eb1bfc2d54982781bc4fffbb9d58cb72ebd04225c762dc987652f82c5e1
MD5 f9fc3d7046738619335112722c0b7ad9
BLAKE2b-256 d101b8067c5d5d5f3930b94e21c20f9fbff18e20de1f0cc444548d2d761d8fba

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_searchable_filter_columns-0.1.0-py3-none-any.whl:

Publisher: publish.yml on jwelby/datasette-searchable-filter-columns

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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