repolens-cli 0.1.0__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.
@@ -0,0 +1,88 @@
1
+ Metadata-Version: 2.4
2
+ Name: repolens-cli
3
+ Version: 0.1.0
4
+ Summary: Instant clarity on any codebase. Navigate imports, trace functions, and get AI answers — all in one terminal view.
5
+ Project-URL: Homepage, https://github.com/Satyam12singh/repolens
6
+ Project-URL: Repository, https://github.com/Satyam12singh/repolens
7
+ Project-URL: Issues, https://github.com/Satyam12singh/repolens/issues
8
+ Author-email: Satyam Singh <satyam.singh@whyminds.ai>
9
+ License: MIT
10
+ License-File: LICENSE
11
+ Keywords: ai,cli,codebase,developer-tools,terminal,tui
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Topic :: Software Development
21
+ Classifier: Topic :: Utilities
22
+ Requires-Python: >=3.11
23
+ Requires-Dist: openai>=1.30.0
24
+ Requires-Dist: python-dotenv>=1.0.0
25
+ Requires-Dist: requests>=2.31.0
26
+ Requires-Dist: textual>=0.47.0
27
+ Description-Content-Type: text/markdown
28
+
29
+ # RepoLens
30
+
31
+ Instant clarity on any codebase. Navigate imports, trace functions, and get AI answers — all in one terminal view.
32
+
33
+ ## Install
34
+
35
+ ```bash
36
+ brew tap satyam12singh/tap
37
+ brew install repolens
38
+ ```
39
+
40
+ ## Usage
41
+
42
+ ```bash
43
+ repolens . # scan current directory
44
+ repolens ~/my-repo # scan any directory
45
+ ```
46
+
47
+ ## AI Configuration
48
+
49
+ RepoLens supports multiple AI providers. Set **one** of the following in your environment (or in a `.env` file in the directory you're scanning):
50
+
51
+ | Provider | Environment Variable | Default Model |
52
+ |---|---|---|
53
+ | Gemini (Google) | `GEMINI_API_KEY` | `gemini-2.5-flash` |
54
+ | OpenAI | `OPENAI_API_KEY` | `gpt-4o` |
55
+ | Groq | `GROQ_API_KEY` | `llama-3.3-70b-versatile` |
56
+ | Anthropic | `ANTHROPIC_API_KEY` | `claude-sonnet-4-6` |
57
+ | Ollama (local) | `REPOLENS_AI_PROVIDER=ollama` | `llama3.2` |
58
+
59
+ Override any default with:
60
+
61
+ ```bash
62
+ REPOLENS_AI_MODEL=gemini-2.5-pro repolens .
63
+ REPOLENS_AI_BASE_URL=http://localhost:11434/v1 repolens . # custom endpoint
64
+ ```
65
+
66
+ If no key is set, the file tree and dependency graphs still work — only the AI features (Ask AI, Onboard) are disabled.
67
+
68
+ ## Key Bindings
69
+
70
+ | Key | Action |
71
+ |---|---|
72
+ | `1` | Dependencies tab |
73
+ | `2` | Call graph tab |
74
+ | `3` | Full graph tab |
75
+ | `a` | Ask AI a question about the codebase |
76
+ | `o` | Generate onboarding guide |
77
+ | `f` | Toggle focus between file tree and content |
78
+ | `[` / `]` | Resize sidebar |
79
+ | `j` / `k` | Scroll |
80
+ | `q` | Quit |
81
+
82
+ ## Supported Languages
83
+
84
+ Python, JavaScript, TypeScript, Go, Rust
85
+
86
+ ## License
87
+
88
+ MIT
@@ -0,0 +1,15 @@
1
+ repolens/__init__.py,sha256=rx3cM6gm3zKhPMrGdwN9Wd1QCzINtL6D0G4b4VeBcqk,52
2
+ repolens/ai_client.py,sha256=ugSsXulYLzJ-xsJemmyxctbQZrnbm3DSt6XoFeCdJFY,7966
3
+ repolens/analyzer.py,sha256=BlssxOWXC5cV1BGSOoL7OMoRlZ1msrso38GbqJ1OVzg,9074
4
+ repolens/cli.py,sha256=4BVrW_VLpAZyxj2i02i75wcv9tsFo2b3kUPbQCyu-UY,3133
5
+ repolens/fetcher.py,sha256=2wZQgtmybYx-4UWxJi_TIcpzSvR7cgMGCYYw7BhMp9E,5668
6
+ repolens/graph.py,sha256=0AjOBXzfJP_p4kqspAWsep_HuV-DinVaAlvXODDL9Ag,5005
7
+ repolens/models.py,sha256=FLo0BB_Ud7RCmFu5VIGtGbGG4EfTaRpqpLuozjvwpGA,1763
8
+ repolens/scanner.py,sha256=Ryeyn3kUaHFTlR801rXP1curTYN79mbk1PAtfcgN_pg,1960
9
+ repolens/tui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ repolens/tui/app.py,sha256=JSsS5KA-c63bcdd2kKeFxF2xvG7OERE8dXqWAvzbGvg,36800
11
+ repolens_cli-0.1.0.dist-info/METADATA,sha256=6yj-zrRMcCGfszN0VjT0uAw8cm4VIlX54BDfDTObroQ,2689
12
+ repolens_cli-0.1.0.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
13
+ repolens_cli-0.1.0.dist-info/entry_points.txt,sha256=5LWia6GrZ82g7yWHnI25F7by5KO9hZFnonxeCn0tpik,47
14
+ repolens_cli-0.1.0.dist-info/licenses/LICENSE,sha256=uokuFcVJ_j1splu4QSslxXIXAGC_XXmyu92ulo3MgSI,1069
15
+ repolens_cli-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.30.1
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ repolens = repolens.cli:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Satyam Singh
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.