codemap-python 0.1.1__tar.gz → 0.1.2__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.
- {codemap_python-0.1.1 → codemap_python-0.1.2}/PKG-INFO +1 -1
- {codemap_python-0.1.1 → codemap_python-0.1.2}/codemap_python.egg-info/PKG-INFO +1 -1
- {codemap_python-0.1.1 → codemap_python-0.1.2}/pyproject.toml +1 -1
- {codemap_python-0.1.1 → codemap_python-0.1.2}/ui/app.py +13 -9
- {codemap_python-0.1.1 → codemap_python-0.1.2}/README.md +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/__init__.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/architecture/__init__.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/architecture/architecture_engine.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/architecture/dependency_cycles.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/architecture/risk_radar.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/call_graph/__init__.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/call_graph/call_extractor.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/call_graph/call_graph_builder.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/call_graph/call_resolver.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/call_graph/context_models.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/call_graph/cross_file_resolver.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/call_graph/execution_tracker.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/call_graph/flow_builder.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/call_graph/models.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/core/__init__.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/core/ast_context.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/core/ast_parser.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/core/class_extractor.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/core/function_extractor.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/core/import_extractor.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/explain/__init__.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/explain/docstring_extractor.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/explain/explain_runner.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/explain/repo_summary_generator.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/explain/return_analyzer.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/explain/risk_flags.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/explain/signature_extractor.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/explain/summary_generator.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/graph/__init__.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/graph/callgraph_index.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/graph/entrypoint_detector.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/graph/impact_analyzer.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/indexing/__init__.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/indexing/import_resolver.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/indexing/symbol_index.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/runners/__init__.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/runners/phase4_runner.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/utils/__init__.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/utils/ast_helpers.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/utils/cache_manager.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/utils/path_resolver.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/analysis/utils/repo_fetcher.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/cli.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/codemap_cli.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/codemap_python.egg-info/SOURCES.txt +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/codemap_python.egg-info/dependency_links.txt +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/codemap_python.egg-info/entry_points.txt +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/codemap_python.egg-info/requires.txt +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/codemap_python.egg-info/top_level.txt +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/security_utils.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/setup.cfg +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/tests/test_cache_cli_commands.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/tests/test_cache_retention.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/tests/test_no_key_persistence.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/tests/test_registry_session_mode.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/tests/test_security_cli_integration.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/tests/test_security_redaction.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/tests/test_symbol_explain_cache.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/tests/test_symbol_info_endpoint.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/tests/test_ui_private_mode_security.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/tests/test_ui_retention_controls.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/ui/__init__.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/ui/device_id.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/ui/static/app.js +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/ui/static/styles.css +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/ui/templates/index.html +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/ui/utils/__init__.py +0 -0
- {codemap_python-0.1.1 → codemap_python-0.1.2}/ui/utils/registry_manager.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "codemap-python"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.2"
|
|
8
8
|
description = "Local Python code analysis tool - understand architecture, dependencies, and call graphs"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -36,20 +36,24 @@ from security_utils import redact_payload, redact_secrets
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
# Custom cache class that doesn't cache (to avoid TypeError with unhashable Request objects)
|
|
39
|
-
class NoCache:
|
|
40
|
-
"""A cache implementation that doesn't cache anything.
|
|
39
|
+
class NoCache(dict):
|
|
40
|
+
"""A dict-like cache implementation that doesn't actually cache anything.
|
|
41
41
|
|
|
42
42
|
This prevents Jinja2 from trying to cache templates with unhashable objects
|
|
43
|
-
like the Starlette Request in the context.
|
|
43
|
+
like the Starlette Request in the context. Inherits from dict to satisfy
|
|
44
|
+
Jinja2's duck-typing requirements while not actually storing anything.
|
|
44
45
|
"""
|
|
45
|
-
def
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
def set(self, key: Any, value: Any, timeout: Any = None) -> None:
|
|
46
|
+
def __setitem__(self, key: Any, value: Any) -> None:
|
|
47
|
+
"""Silently ignore all cache assignments."""
|
|
49
48
|
pass
|
|
50
49
|
|
|
51
|
-
def
|
|
52
|
-
|
|
50
|
+
def __getitem__(self, key: Any) -> Any:
|
|
51
|
+
"""Always return KeyError to indicate cache miss."""
|
|
52
|
+
raise KeyError(key)
|
|
53
|
+
|
|
54
|
+
def get(self, key: Any, default: Any = None) -> Any:
|
|
55
|
+
"""Always return the default value (cache miss)."""
|
|
56
|
+
return default
|
|
53
57
|
|
|
54
58
|
|
|
55
59
|
PROJECT_ROOT = os.path.dirname(os.path.dirname(__file__))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|