lexgrep
Lexical grep provides fast, index-free search over a variety of file types ordering results by normalized keyword-match score
Usage
lexgrep {query} {files}
Query is processed as keywords with support for - prefixes for negative keywords.
Examples
> uvx lexgrep "crane rival" sleepy.epub
sleepy.epub Such was the formidable rival with whom Ichabod Crane had to contend, and, considering all things, a stouter man than he would have shrunk from the competition, and a wiser man would have despaired. He had, however, a happy mixture of pliability and perseverance in his nature; he was in form and spirit like a supple-jack-yielding, but tough; though he bent, he never broke; and though he bowed beneath the slightest pressure, yet, the moment it was away-jerk!-he was as erect, and carried his head as high as ever.
...
Benchmark
Return matches for "computer" in 175 ebooks:
- ripgrep-all - 60 seconds
- lexgrep - 1.15 seconds
Resources
Metadata
Release files for lexgrep 0.6.0
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 | |
|---|---|---|---|---|
| lexgrep-0.6.0.tar.gz | 14.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lexgrep-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.1 kB
Release files / lexgrep-0.6.0.tar.gz
| Download URL | lexgrep-0.6.0.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2b564645bd9c22329b90ee94920362db8338a575b20fb07010f4b90c2f329d9
|
|
BLAKE2b-256 checksum How to use checksums |
48c6fa98c148eb9979df308b707a51d3e8156bc382d30c33c728f5475c8d363a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / lexgrep-0.6.0-py3-none-any.whl
| Download URL | lexgrep-0.6.0-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1dd7c2d62bca912d193cd89ea674699fc0aa09c788aa7cb484956813d5d483e3
|
|
BLAKE2b-256 checksum How to use checksums |
ea5b8d216d9e8d263122b6043b226b9615e541a093f6f4b4cf6f0d992b0d50ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for lexgrep 0.6.0
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.