ctxgraph 0.2.1__tar.gz → 0.2.3__tar.gz

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.
Files changed (47) hide show
  1. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/PKG-INFO +14 -3
  2. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/README.md +13 -2
  3. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/pyproject.toml +1 -1
  4. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph.egg-info/PKG-INFO +14 -3
  5. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/setup.cfg +0 -0
  6. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/__init__.py +0 -0
  7. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/analyzers/__init__.py +0 -0
  8. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/analyzers/python/__init__.py +0 -0
  9. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/analyzers/python/importer.py +0 -0
  10. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/analyzers/python/semantic.py +0 -0
  11. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/analyzers/python/symbols.py +0 -0
  12. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/capsule/__init__.py +0 -0
  13. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/capsule/renderer.py +0 -0
  14. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/cli/__init__.py +0 -0
  15. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/cli/main.py +0 -0
  16. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/clients/__init__.py +0 -0
  17. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/clients/models.py +0 -0
  18. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/config/__init__.py +0 -0
  19. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/config/providers.py +0 -0
  20. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/config/settings.py +0 -0
  21. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/exclude/__init__.py +0 -0
  22. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/exclude/patterns.py +0 -0
  23. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/graph/__init__.py +0 -0
  24. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/graph/builder.py +0 -0
  25. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/graph/models.py +0 -0
  26. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/graph/query.py +0 -0
  27. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/graph/storage.py +0 -0
  28. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/mcp/__init__.py +0 -0
  29. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/mcp/server.py +0 -0
  30. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/view/__init__.py +0 -0
  31. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/view/visualizer.py +0 -0
  32. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/wrapper/__init__.py +0 -0
  33. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph/wrapper/claude.py +0 -0
  34. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph.egg-info/SOURCES.txt +0 -0
  35. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph.egg-info/dependency_links.txt +0 -0
  36. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph.egg-info/entry_points.txt +0 -0
  37. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph.egg-info/requires.txt +0 -0
  38. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/src/ctxgraph.egg-info/top_level.txt +0 -0
  39. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/tests/test_analyzers.py +0 -0
  40. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/tests/test_benchmark.py +0 -0
  41. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/tests/test_capsule.py +0 -0
  42. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/tests/test_config.py +0 -0
  43. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/tests/test_integration.py +0 -0
  44. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/tests/test_model_mode.py +0 -0
  45. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/tests/test_models.py +0 -0
  46. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/tests/test_query.py +0 -0
  47. {ctxgraph-0.2.1 → ctxgraph-0.2.3}/tests/test_storage.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ctxgraph
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: AI context engine for Python — cuts LLM tokens 97% via code knowledge graphs. Build, query, and generate compact context capsules for Claude, OpenAI, Ollama.
5
5
  Author: ctxgraph contributors
6
6
  License: MIT
@@ -40,7 +40,7 @@ ccg "fix the login redirect bug" # Launch Claude with context pre-loaded
40
40
  ctx view # Interactive D3.js visualization (or --svg for static)
41
41
  ```
42
42
 
43
- <img src="docs/graph.svg" alt="ctxgraph knowledge graph visualization" width="100%">
43
+ <img src="https://raw.githubusercontent.com/shashi3070/ctxgraph/master/docs/graph.svg" alt="ctxgraph knowledge graph visualization" width="100%">
44
44
 
45
45
  ---
46
46
 
@@ -270,7 +270,7 @@ max_depth = 2
270
270
  | `AZURE_OPENAI_API_KEY` | Azure OpenAI API |
271
271
 
272
272
  ```bash
273
- # Ollama (default)
273
+ # Ollama (default — no env vars needed)
274
274
  ctx capsule "query"
275
275
 
276
276
  # Claude
@@ -290,6 +290,17 @@ CTXGRAPH_PROVIDER=azure \
290
290
  CTXGRAPH_PROVIDER=custom CTXGRAPH_ENDPOINT=http://my-api/v1 ctx capsule "query"
291
291
  ```
292
292
 
293
+ > **Windows (PowerShell):** Use `$env:` prefix instead:
294
+ > ```powershell
295
+ > $env:CTXGRAPH_PROVIDER = "azure"; $env:CTXGRAPH_MODEL = "gpt-4o"; ctx capsule "query"
296
+ > ```
297
+ > Or set them once per session:
298
+ > ```powershell
299
+ > $env:CTXGRAPH_PROVIDER = "azure"
300
+ > $env:AZURE_OPENAI_API_KEY = "sk-..."
301
+ > ctx capsule "query"
302
+ > ```
303
+
293
304
  ---
294
305
 
295
306
  ## Use Cases
@@ -11,7 +11,7 @@ ccg "fix the login redirect bug" # Launch Claude with context pre-loaded
11
11
  ctx view # Interactive D3.js visualization (or --svg for static)
12
12
  ```
13
13
 
14
- <img src="docs/graph.svg" alt="ctxgraph knowledge graph visualization" width="100%">
14
+ <img src="https://raw.githubusercontent.com/shashi3070/ctxgraph/master/docs/graph.svg" alt="ctxgraph knowledge graph visualization" width="100%">
15
15
 
16
16
  ---
17
17
 
@@ -241,7 +241,7 @@ max_depth = 2
241
241
  | `AZURE_OPENAI_API_KEY` | Azure OpenAI API |
242
242
 
243
243
  ```bash
244
- # Ollama (default)
244
+ # Ollama (default — no env vars needed)
245
245
  ctx capsule "query"
246
246
 
247
247
  # Claude
@@ -261,6 +261,17 @@ CTXGRAPH_PROVIDER=azure \
261
261
  CTXGRAPH_PROVIDER=custom CTXGRAPH_ENDPOINT=http://my-api/v1 ctx capsule "query"
262
262
  ```
263
263
 
264
+ > **Windows (PowerShell):** Use `$env:` prefix instead:
265
+ > ```powershell
266
+ > $env:CTXGRAPH_PROVIDER = "azure"; $env:CTXGRAPH_MODEL = "gpt-4o"; ctx capsule "query"
267
+ > ```
268
+ > Or set them once per session:
269
+ > ```powershell
270
+ > $env:CTXGRAPH_PROVIDER = "azure"
271
+ > $env:AZURE_OPENAI_API_KEY = "sk-..."
272
+ > ctx capsule "query"
273
+ > ```
274
+
264
275
  ---
265
276
 
266
277
  ## Use Cases
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ctxgraph"
7
- version = "0.2.1"
7
+ version = "0.2.3"
8
8
  description = "AI context engine for Python — cuts LLM tokens 97% via code knowledge graphs. Build, query, and generate compact context capsules for Claude, OpenAI, Ollama."
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ctxgraph
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: AI context engine for Python — cuts LLM tokens 97% via code knowledge graphs. Build, query, and generate compact context capsules for Claude, OpenAI, Ollama.
5
5
  Author: ctxgraph contributors
6
6
  License: MIT
@@ -40,7 +40,7 @@ ccg "fix the login redirect bug" # Launch Claude with context pre-loaded
40
40
  ctx view # Interactive D3.js visualization (or --svg for static)
41
41
  ```
42
42
 
43
- <img src="docs/graph.svg" alt="ctxgraph knowledge graph visualization" width="100%">
43
+ <img src="https://raw.githubusercontent.com/shashi3070/ctxgraph/master/docs/graph.svg" alt="ctxgraph knowledge graph visualization" width="100%">
44
44
 
45
45
  ---
46
46
 
@@ -270,7 +270,7 @@ max_depth = 2
270
270
  | `AZURE_OPENAI_API_KEY` | Azure OpenAI API |
271
271
 
272
272
  ```bash
273
- # Ollama (default)
273
+ # Ollama (default — no env vars needed)
274
274
  ctx capsule "query"
275
275
 
276
276
  # Claude
@@ -290,6 +290,17 @@ CTXGRAPH_PROVIDER=azure \
290
290
  CTXGRAPH_PROVIDER=custom CTXGRAPH_ENDPOINT=http://my-api/v1 ctx capsule "query"
291
291
  ```
292
292
 
293
+ > **Windows (PowerShell):** Use `$env:` prefix instead:
294
+ > ```powershell
295
+ > $env:CTXGRAPH_PROVIDER = "azure"; $env:CTXGRAPH_MODEL = "gpt-4o"; ctx capsule "query"
296
+ > ```
297
+ > Or set them once per session:
298
+ > ```powershell
299
+ > $env:CTXGRAPH_PROVIDER = "azure"
300
+ > $env:AZURE_OPENAI_API_KEY = "sk-..."
301
+ > ctx capsule "query"
302
+ > ```
303
+
293
304
  ---
294
305
 
295
306
  ## Use Cases
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes