naive-knowledge-base 0.1.2__py3-none-any.whl → 0.1.3__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.
@@ -52,18 +52,12 @@ def generate_dependency_graph(source_directory: str, permit_file_extensions: lis
52
52
  raise ValueError(f"Failed to delete Emerge configuration file: {e}")
53
53
 
54
54
  # Transform the dependency graph into a more readable format
55
- # content = encode(dependency_graph)
56
-
57
- # file_path = save_content_to_file(
58
- # content=content,
59
- # source_directory=source_directory,
60
- # file_name="dependency_graph.toon"
61
- # )
55
+ content = encode(dependency_graph)
62
56
 
63
57
  file_path = save_content_to_file(
64
- content=json.dumps(dependency_graph, indent=2),
58
+ content=content,
65
59
  source_directory=source_directory,
66
- file_name="dependency_graph.json"
60
+ file_name="dependency_graph.toon"
67
61
  )
68
62
 
69
63
  return f"Dependency graph saved to {file_path}"
@@ -177,7 +171,7 @@ def _process_data(json_data, source_directory) -> list[DependencyGraph]:
177
171
  # Step 2: Map dependencies based on links
178
172
  dependency_map = {}
179
173
 
180
- for link in json_data['links']:
174
+ for link in json_data['edges']:
181
175
  if link['source'] not in dependency_map:
182
176
  dependency_map[link['source']] = []
183
177
  target = os.path.join(source_directory, link['target'])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: naive-knowledge-base
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A dependency graph analyzer using smolagents
5
5
  Home-page: https://github.com/yourusername/naive-knowledge-base
6
6
  Author: Your Name
@@ -25,111 +25,82 @@ Requires-Python: >=3.8
25
25
  Description-Content-Type: text/markdown
26
26
  License-File: LICENSE
27
27
  Requires-Dist: annotated-types==0.7.0
28
- Requires-Dist: anyio==4.11.0
29
- Requires-Dist: arize-phoenix-otel==0.13.1
30
- Requires-Dist: astroid==3.3.11
31
- Requires-Dist: attrs==25.3.0
28
+ Requires-Dist: anyio==4.12.0
29
+ Requires-Dist: astroid==4.0.2
30
+ Requires-Dist: attrs==25.4.0
32
31
  Requires-Dist: autopep8==2.3.2
33
- Requires-Dist: certifi==2025.8.3
34
- Requires-Dist: charset-normalizer==3.4.3
35
- Requires-Dist: click==8.3.0
32
+ Requires-Dist: certifi==2025.11.12
33
+ Requires-Dist: charset-normalizer==3.4.4
34
+ Requires-Dist: click==8.3.1
36
35
  Requires-Dist: colorama==0.4.6
37
36
  Requires-Dist: coloredlogs==15.0.1
38
37
  Requires-Dist: dill==0.4.0
39
38
  Requires-Dist: directory_tree==1.0.0
40
39
  Requires-Dist: distro==1.9.0
41
- Requires-Dist: emerge-viz==2.0.7
42
- Requires-Dist: filelock==3.19.1
43
- Requires-Dist: fsspec==2025.9.0
40
+ Requires-Dist: flow-code-mapper==2.0.1
41
+ Requires-Dist: filelock==3.20.1
42
+ Requires-Dist: fsspec==2025.12.0
44
43
  Requires-Dist: gitdb==4.0.12
45
44
  Requires-Dist: GitPython==3.1.45
46
- Requires-Dist: googleapis-common-protos==1.70.0
47
- Requires-Dist: grpcio==1.75.0
48
45
  Requires-Dist: h11==0.16.0
49
- Requires-Dist: hf-xet==1.1.10
46
+ Requires-Dist: hf-xet==1.2.0
50
47
  Requires-Dist: httpcore==1.0.9
51
48
  Requires-Dist: httpx==0.28.1
52
- Requires-Dist: httpx-sse==0.4.1
53
- Requires-Dist: huggingface-hub==0.35.1
49
+ Requires-Dist: huggingface_hub==1.2.3
54
50
  Requires-Dist: humanfriendly==10.0
55
- Requires-Dist: idna==3.10
56
- Requires-Dist: importlib_metadata==8.7.0
51
+ Requires-Dist: idna==3.11
57
52
  Requires-Dist: interrogate==1.7.0
58
- Requires-Dist: isort==6.0.1
53
+ Requires-Dist: isort==7.0.0
59
54
  Requires-Dist: Jinja2==3.1.6
60
- Requires-Dist: jiter==0.11.0
61
- Requires-Dist: joblib==1.5.2
62
- Requires-Dist: jsonschema==4.25.1
63
- Requires-Dist: jsonschema-specifications==2025.9.1
64
- Requires-Dist: lizard==1.17.31
55
+ Requires-Dist: jiter==0.12.0
56
+ Requires-Dist: joblib==1.5.3
57
+ Requires-Dist: lizard==1.19.0
65
58
  Requires-Dist: markdown-it-py==4.0.0
66
- Requires-Dist: MarkupSafe==3.0.2
59
+ Requires-Dist: MarkupSafe==3.0.3
67
60
  Requires-Dist: mccabe==0.7.0
68
- Requires-Dist: mcp==1.14.1
69
61
  Requires-Dist: mdurl==0.1.2
70
- Requires-Dist: networkx==3.5
71
- Requires-Dist: numpy==2.3.3
72
- Requires-Dist: openai==1.109.1
73
- Requires-Dist: openinference-instrumentation==0.1.38
74
- Requires-Dist: openinference-instrumentation-smolagents==0.1.18
75
- Requires-Dist: openinference-semantic-conventions==0.1.21
76
- Requires-Dist: opentelemetry-api==1.37.0
77
- Requires-Dist: opentelemetry-exporter-otlp==1.37.0
78
- Requires-Dist: opentelemetry-exporter-otlp-proto-common==1.37.0
79
- Requires-Dist: opentelemetry-exporter-otlp-proto-grpc==1.37.0
80
- Requires-Dist: opentelemetry-exporter-otlp-proto-http==1.37.0
81
- Requires-Dist: opentelemetry-instrumentation==0.58b0
82
- Requires-Dist: opentelemetry-proto==1.37.0
83
- Requires-Dist: opentelemetry-sdk==1.37.0
84
- Requires-Dist: opentelemetry-semantic-conventions==0.58b0
62
+ Requires-Dist: networkx==3.6.1
63
+ Requires-Dist: numpy==2.3.5
64
+ Requires-Dist: openai==2.12.0
85
65
  Requires-Dist: packaging==25.0
86
66
  Requires-Dist: pathspec==0.12.1
87
- Requires-Dist: pillow==11.3.0
88
- Requires-Dist: platformdirs==4.4.0
89
- Requires-Dist: prettytable==3.16.0
90
- Requires-Dist: protobuf==6.32.1
67
+ Requires-Dist: pillow==12.0.0
68
+ Requires-Dist: platformdirs==4.5.1
69
+ Requires-Dist: prettytable==3.17.0
91
70
  Requires-Dist: py==1.11.0
92
71
  Requires-Dist: pycodestyle==2.14.0
93
- Requires-Dist: pydantic==2.11.9
94
- Requires-Dist: pydantic-settings==2.11.0
95
- Requires-Dist: pydantic_core==2.33.2
72
+ Requires-Dist: pydantic==2.12.5
73
+ Requires-Dist: pydantic_core==2.41.5
96
74
  Requires-Dist: PyDriller==2.9
97
75
  Requires-Dist: Pygments==2.19.2
98
- Requires-Dist: pylint==3.3.8
76
+ Requires-Dist: pylint==4.0.4
99
77
  Requires-Dist: pyparsing==3.2.5
100
- Requires-Dist: pyperclip==1.10.0
101
- Requires-Dist: python-dotenv==1.1.1
78
+ Requires-Dist: pyperclip==1.11.0
79
+ Requires-Dist: python-dotenv==1.2.1
102
80
  Requires-Dist: python-louvain==0.16
103
- Requires-Dist: python-multipart==0.0.20
104
- Requires-Dist: python-sonarqube-api==2.0.5
105
81
  Requires-Dist: pytz==2025.2
106
- Requires-Dist: PyYAML==6.0.2
107
- Requires-Dist: referencing==0.36.2
82
+ Requires-Dist: PyYAML==6.0.3
108
83
  Requires-Dist: requests==2.32.5
109
- Requires-Dist: rich==14.1.0
110
- Requires-Dist: rpds-py==0.27.1
111
- Requires-Dist: scikit-learn==1.7.2
112
- Requires-Dist: scipy==1.16.2
84
+ Requires-Dist: rich==14.2.0
85
+ Requires-Dist: scikit-learn==1.8.0
86
+ Requires-Dist: scipy==1.16.3
113
87
  Requires-Dist: setuptools==80.9.0
88
+ Requires-Dist: shellingham==1.5.4
114
89
  Requires-Dist: smmap==5.0.2
115
90
  Requires-Dist: smolagents==1.16.1
116
91
  Requires-Dist: sniffio==1.3.1
117
- Requires-Dist: sse-starlette==3.0.2
118
- Requires-Dist: starlette==0.48.0
119
92
  Requires-Dist: tabulate==0.9.0
120
93
  Requires-Dist: threadpoolctl==3.6.0
121
94
  Requires-Dist: tomlkit==0.13.3
122
- Requires-Dist: python-toon==0.1.3
95
+ Requires-Dist: toon_format==0.1.0
123
96
  Requires-Dist: tqdm==4.67.1
124
- Requires-Dist: types-pytz==2025.2.0.20250809
125
- Requires-Dist: typing-inspection==0.4.1
97
+ Requires-Dist: typer-slim==0.20.0
98
+ Requires-Dist: types-pytz==2025.2.0.20251108
99
+ Requires-Dist: typing-inspection==0.4.2
126
100
  Requires-Dist: typing_extensions==4.15.0
127
- Requires-Dist: urllib3==2.5.0
128
- Requires-Dist: uvicorn==0.37.0
101
+ Requires-Dist: urllib3==2.6.2
129
102
  Requires-Dist: wcwidth==0.2.14
130
103
  Requires-Dist: wheel==0.45.1
131
- Requires-Dist: wrapt==1.17.3
132
- Requires-Dist: zipp==3.23.0
133
104
  Provides-Extra: dev
134
105
  Requires-Dist: pytest>=7.0.0; extra == "dev"
135
106
  Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
@@ -9,16 +9,16 @@ agents/common/schema_converter.py,sha256=sFGFngQpFwPAAbjcVbqFfGifXKXN4iZZiun4oz9
9
9
  agents/common/tools.py,sha256=zsHPqDkuHQJjO8rmqo0XRCFP4OCeyXWDnUPExMAhY7U,5358
10
10
  agents/common/utils.py,sha256=gcjfYERYWc8cRNm3BYcaOsxsrGXb4mZQiwGIuO20u1g,4628
11
11
  agents/dependency_graph/__init__.py,sha256=an4MdRnl5JJUhw4FCfvRvjHyozxy8DowVetOlrhZ5qw,149
12
- agents/dependency_graph/agent.py,sha256=v3PkwnZ0V3sjERn-73hRVh1FytL3t5eGZ61a2YQhidw,7490
12
+ agents/dependency_graph/agent.py,sha256=MKTOT89licgq_w5ZnGVE-NeVvSxqN3k7LPuu7Kk5Eog,7292
13
13
  agents/dependency_graph/model.py,sha256=fMA4iXphVZQ41UcrgWHpp_hdUFaLY4_8-6QVaTU4o44,1098
14
14
  api_models/__init__.py,sha256=iPxcX-RpouvXZFmwbH-SeUWhW4UQBe8a-l2DmC2csrM,96
15
15
  api_models/flow_api_model.py,sha256=aSmsY0TRHB8Ylisbk8-CzB4CBo8QwAZJRLmiIa6nx6s,15184
16
- naive_knowledge_base-0.1.2.dist-info/licenses/LICENSE,sha256=OphKV48tcMv6ep-7j-8T6nycykPT0g8ZlMJ9zbGvdPs,1066
16
+ naive_knowledge_base-0.1.3.dist-info/licenses/LICENSE,sha256=OphKV48tcMv6ep-7j-8T6nycykPT0g8ZlMJ9zbGvdPs,1066
17
17
  tools/__init__.py,sha256=RUzn2bV-Q7GJrx6jy-Vo3j_5kBlJH9GTv9ZK3Z-hKGE,271
18
18
  tools/io.py,sha256=MfRJMbIjYx54iNq4nit5jVjXZqjPktg9m7RI_gCxHWo,1612
19
19
  tools/tree.py,sha256=rUv5Qm4PZW7-zxD3S8e_PFj5PliAA5XdTJyqF8L42nk,1666
20
- naive_knowledge_base-0.1.2.dist-info/METADATA,sha256=whz42gr665hqYZKdLOOmrTzgez9A-OainrogkT1iezM,9701
21
- naive_knowledge_base-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
- naive_knowledge_base-0.1.2.dist-info/entry_points.txt,sha256=UgKAmqSs86uLJ3P81eLHEauN-RWaGFT0uhZ54mTzvqo,38
23
- naive_knowledge_base-0.1.2.dist-info/top_level.txt,sha256=QLdDlcaSJKlVrg-wXEyzw4dfOnxkVaXP02og9vzF5aU,33
24
- naive_knowledge_base-0.1.2.dist-info/RECORD,,
20
+ naive_knowledge_base-0.1.3.dist-info/METADATA,sha256=I6ouqWixWi5x19xfzUO3GJmHlb7WSdCLSNaLmhg3Eaw,8441
21
+ naive_knowledge_base-0.1.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
22
+ naive_knowledge_base-0.1.3.dist-info/entry_points.txt,sha256=UgKAmqSs86uLJ3P81eLHEauN-RWaGFT0uhZ54mTzvqo,38
23
+ naive_knowledge_base-0.1.3.dist-info/top_level.txt,sha256=QLdDlcaSJKlVrg-wXEyzw4dfOnxkVaXP02og9vzF5aU,33
24
+ naive_knowledge_base-0.1.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5