This release is a pre-release and may not be stable for production use.
datasette-ripgrep
Web interface for searching your code using ripgrep, built as a Datasette plugin
For background on this project see datasette-ripgrep: deploy a regular expression search engine for your source code.
Demo
Try this plugin out at https://ripgrep.datasette.io/-/ripgrep - where you can run regular expression searches across the source code of Datasette and all of the datasette-* plugins belonging to the simonw GitHub user.
Some example searches:
- with.*AsyncClient - regular expression search for
with.*AsyncClient - .plugin_config, literal=on - a non-regular expression search for
.plugin_config( - with.*AsyncClient glob=datasette/** - search for that pattern only within the
datasette/top folder - "sqlite-utils[">] glob=setup.py - a regular expression search for packages that depend on either
sqlite-utilsorsqlite-utils>=some-version - test glob=!*.html - search for the string
testbut exclude results in HTML files
Installation
Install this plugin in the same environment as Datasette.
$ datasette install datasette-ripgrep
The rg executable needs to be installed such that it can be run by this tool.
Usage
This plugin requires configuration: it needs to a path setting so that it knows where to run searches.
Create a datasette.yaml file that looks like this:
plugins:
datasette-ripgrep:
path: /path/to/your/files
Now run Datasette using datasette --config datasette.yaml. The plugin will add an interface at /-/ripgrep for running searches.
Plugin configuration
The "path" configuration is required. Optional extra configuration options are:
time_limit- floating point number. Thergprocess will be terminated if it takes longer than this limit. The default is one second,1.0.max_lines- integer. Thergprocess will be terminated if it returns more than this number of lines. The default is2000.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-ripgrep
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
Metadata
Release files for datasette-ripgrep 0.9a0
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_ripgrep-0.9a0.tar.gz | 12.2 kB | With provenance | Details for datasette_ripgrep-0.9a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datasette_ripgrep-0.9a0-py3-none-any.whl | Python 3 | none | any | Details for datasette_ripgrep-0.9a0-py3-none-any.whl |
Total release size: 23.4 kB
Release files / datasette_ripgrep-0.9a0.tar.gz
| Download URL | datasette_ripgrep-0.9a0.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2368f3fc97ebacb4f978125437f387ddcad462af4eff4abfcb6a74b384cb67ec
|
|
BLAKE2b-256 checksum How to use checksums |
2619d865611f11bfda2c440f46f41bcb5922555350a653bcffccfd05740b37f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2025.
Transparency logRelease files / datasette_ripgrep-0.9a0-py3-none-any.whl
| Download URL | datasette_ripgrep-0.9a0-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df24bff78235e7f257e9326413b7aee48aa609467a0b746ef5fc68ce71635986
|
|
BLAKE2b-256 checksum How to use checksums |
024d1eb6470723fd8d312c7c61f158c70b7ba99a57a1990712bc35e3df69a152
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2025.
Transparency logSecurity for datasette-ripgrep 0.9a0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for datasette_ripgrep-0.9a0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2025.
Transparency logA 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.