datasette-search-all
Datasette plugin for searching all searchable tables at once.
Installation
Install the plugin in the same Python environment as Datasette:
pip install datasette-search-all
Background
See datasette-search-all: a new plugin for searching multiple Datasette tables at once for background on this project. You can try the plugin out at https://fara.datasettes.com/
Usage
This plugin only works if at least one of the tables connected to your Datasette instance has been configured for SQLite's full-text search.
The Datasette search documentation includes details on how to enable full-text search for a table.
You can also use the following tools:
- sqlite-utils includes a command-line tool for enabling full-text search.
- datasette-enable-fts is a Datasette plugin that adds a web interface for enabling search for specific columns.
If the plugin detects at least one searchable table it will add a search form to the homepage.
You can also navigate to /-/search on your Datasette instance to use the search interface directly.
Screenshot
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-search-all
python -m venv 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
To run the browser automation tests:
pip install -e '.[test,playwright]'
pytest
Metadata
Release files for datasette-search-all 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datasette_search_all-1.1.4.tar.gz | 10.9 kB | Without provenance | Details for datasette_search_all-1.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datasette_search_all-1.1.4-py3-none-any.whl | Python 3 | none | any | Details for datasette_search_all-1.1.4-py3-none-any.whl |
Total release size: 21.5 kB
Release files / datasette_search_all-1.1.4.tar.gz
| Download URL | datasette_search_all-1.1.4.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
371de80eff4f2f0e5ba70cc8efcdd68c1089ebf03d743febced250012d678911
|
|
BLAKE2b-256 checksum How to use checksums |
333d2111599e89583f9415b8e1e89f4b57f2dd41833f95ab023ea54157c9e636
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Release files / datasette_search_all-1.1.4-py3-none-any.whl
| Download URL | datasette_search_all-1.1.4-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8590099131899f5cb9d51d90a857ed3a828a5d8e2003fd3f0f5939a1a6bc7a8d
|
|
BLAKE2b-256 checksum How to use checksums |
1f573d7535970622b175527e1fc270db0c193df8008ab56c2b8e628a373cdafe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Security for datasette-search-all 1.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.