naive-knowledge-base 0.1.1__py3-none-any.whl → 0.1.2__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,12 +52,18 @@ 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)
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
+ # )
56
62
 
57
63
  file_path = save_content_to_file(
58
- content=content,
64
+ content=json.dumps(dependency_graph, indent=2),
59
65
  source_directory=source_directory,
60
- file_name="dependency_graph.toon"
66
+ file_name="dependency_graph.json"
61
67
  )
62
68
 
63
69
  return f"Dependency graph saved to {file_path}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: naive-knowledge-base
3
- Version: 0.1.1
3
+ Version: 0.1.2
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
@@ -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=RyOgA7VqcYKIV_2OKGVajhcQnbc51shumrHYs62UkyM,7292
12
+ agents/dependency_graph/agent.py,sha256=v3PkwnZ0V3sjERn-73hRVh1FytL3t5eGZ61a2YQhidw,7490
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.1.dist-info/licenses/LICENSE,sha256=OphKV48tcMv6ep-7j-8T6nycykPT0g8ZlMJ9zbGvdPs,1066
16
+ naive_knowledge_base-0.1.2.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.1.dist-info/METADATA,sha256=VOKSn1GBwpGJqjitcojUO4KAL8GV3IXdshQiEgf05ZQ,9701
21
- naive_knowledge_base-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
- naive_knowledge_base-0.1.1.dist-info/entry_points.txt,sha256=UgKAmqSs86uLJ3P81eLHEauN-RWaGFT0uhZ54mTzvqo,38
23
- naive_knowledge_base-0.1.1.dist-info/top_level.txt,sha256=QLdDlcaSJKlVrg-wXEyzw4dfOnxkVaXP02og9vzF5aU,33
24
- naive_knowledge_base-0.1.1.dist-info/RECORD,,
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,,