rlmgrep 0.1.10__py3-none-any.whl → 0.1.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
rlmgrep/__init__.py CHANGED
@@ -1,2 +1,2 @@
1
1
  __all__ = ["__version__"]
2
- __version__ = "0.1.10"
2
+ __version__ = "0.1.11"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rlmgrep
3
- Version: 0.1.10
3
+ Version: 0.1.11
4
4
  Summary: Grep-shaped CLI search powered by DSPy RLM
5
5
  Author: rlmgrep
6
6
  License: MIT
@@ -22,10 +22,20 @@ uv tool install rlmgrep
22
22
  # uv tool install git+https://github.com/halfprice06/rlmgrep.git
23
23
 
24
24
  export OPENAI_API_KEY=... # or set keys in ~/.rlmgrep
25
+ ```
26
+
27
+ ```sh
25
28
  rlmgrep --answer "What does this repo do and where are the entry points?" .
29
+ ```
30
+
31
+ ![Quickstart answer mode](docs/images/quickstart-answer.png)
32
+
33
+ ```sh
26
34
  rlmgrep -C 2 "Where is retry/backoff configured and what are the defaults?" .
27
35
  ```
28
36
 
37
+ ![Quickstart context mode](docs/images/quickstart-context.png)
38
+
29
39
  ## Requirements
30
40
 
31
41
  - Python 3.11+
@@ -39,8 +49,8 @@ One of rlmgrep’s most useful features is that it can “grep” **PDFs and Off
39
49
  How it works:
40
50
  - **PDFs** are parsed with `pypdf`. Each page gets a marker line like `===== Page N =====`, and output lines include a `page=N` suffix. Line numbers refer to the extracted text (not PDF coordinates).
41
51
  - **Office & binary docs** (`.docx`, `.pptx`, `.xlsx`, `.html`, `.zip`, etc.) are converted to Markdown via **MarkItDown**. This happens during ingestion, so rlmgrep can search them like any other text file.
42
- - **Images** can be described by a vision model through MarkItDown (OpenAI/Anthropic/Gemini).
43
- - **Audio** transcription is supported through OpenAI when enabled.
52
+ - **Images** can be described by a vision model and then searched through MarkItDown (OpenAI/Anthropic/Gemini), enable and configure in config.toml.
53
+ - **Audio** transcription is supported through OpenAI when enabled, configure in config.toml.
44
54
 
45
55
  Sidecar caching:
46
56
  - For images/audio, converted text is cached next to the original file as `<original>.<ext>.md` and reused on later runs.
@@ -48,7 +58,7 @@ Sidecar caching:
48
58
 
49
59
  ## Install Deno
50
60
 
51
- DSPy requires the Deno runtime. Install it with the official scripts:
61
+ DSPy's default implementation of RLM requires the Deno runtime. Install it with the official scripts:
52
62
 
53
63
  macOS/Linux:
54
64
 
@@ -1,4 +1,4 @@
1
- rlmgrep/__init__.py,sha256=EFWL7tqAdmDdGhDfl3jtag-Ds4vHOCNDFdvMC2yYodU,49
1
+ rlmgrep/__init__.py,sha256=eEU5vUkbBcAVKg20oMuOjMenVs64GjcSE_sBCcK_srU,49
2
2
  rlmgrep/__main__.py,sha256=MHKZ_ae3fSLGTLUUMOx15fWdeOnJSHhq-zslRP5F5Lc,79
3
3
  rlmgrep/cli.py,sha256=Jn7knAQq3Bnb578QK33RxDZ102yFrVSbNFjUKBGkb1o,20417
4
4
  rlmgrep/config.py,sha256=u1iz-nI8dj-dZETbpIki3RQefHJEyi5oE5zE4_IR8kg,2399
@@ -7,8 +7,8 @@ rlmgrep/ingest.py,sha256=uCz2el9B-RIT9umFo-gFEdAsmWPP1IJOArFFQY0D_1A,9127
7
7
  rlmgrep/interpreter.py,sha256=s_nMRxLlAU9C0JmUzUBW5NbVbuH67doVWF54K54STlA,2478
8
8
  rlmgrep/render.py,sha256=mCTT6yuKNv7HJ46LzOyLkCbyBedCWSNd7UeubyLXcyM,3356
9
9
  rlmgrep/rlm.py,sha256=i3rCTp8OABByF60Un5gO7265gaW4spwU0OFKIz4surg,5750
10
- rlmgrep-0.1.10.dist-info/METADATA,sha256=u4EfxtRfTmzvuu4jD5lBsXZQIHjElMZs9iZe79d4Peg,7349
11
- rlmgrep-0.1.10.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
12
- rlmgrep-0.1.10.dist-info/entry_points.txt,sha256=UV6QkEbkwBO1JJ53mm84_n35tVyOczPvOQ14ga7vrCI,45
13
- rlmgrep-0.1.10.dist-info/top_level.txt,sha256=gTujSRsO58c80eN7aRH2cfe51FHxx8LJ1w1Y2YlHti0,8
14
- rlmgrep-0.1.10.dist-info/RECORD,,
10
+ rlmgrep-0.1.11.dist-info/METADATA,sha256=ykp-GtmTqprVgTF1L0tV_Wc9CHI--3FwlYjAQVxcbF0,7610
11
+ rlmgrep-0.1.11.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
12
+ rlmgrep-0.1.11.dist-info/entry_points.txt,sha256=UV6QkEbkwBO1JJ53mm84_n35tVyOczPvOQ14ga7vrCI,45
13
+ rlmgrep-0.1.11.dist-info/top_level.txt,sha256=gTujSRsO58c80eN7aRH2cfe51FHxx8LJ1w1Y2YlHti0,8
14
+ rlmgrep-0.1.11.dist-info/RECORD,,