talamus 1.0.0__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 (214) hide show
  1. talamus-1.0.0/LICENSE +201 -0
  2. talamus-1.0.0/PKG-INFO +200 -0
  3. talamus-1.0.0/README.md +168 -0
  4. talamus-1.0.0/pyproject.toml +63 -0
  5. talamus-1.0.0/setup.cfg +4 -0
  6. talamus-1.0.0/src/talamus/__init__.py +3 -0
  7. talamus-1.0.0/src/talamus/adapters/__init__.py +1 -0
  8. talamus-1.0.0/src/talamus/adapters/llm.py +466 -0
  9. talamus-1.0.0/src/talamus/ask.py +304 -0
  10. talamus-1.0.0/src/talamus/bench.py +261 -0
  11. talamus-1.0.0/src/talamus/budget.py +59 -0
  12. talamus-1.0.0/src/talamus/cli/__init__.py +9 -0
  13. talamus-1.0.0/src/talamus/cli/__main__.py +5 -0
  14. talamus-1.0.0/src/talamus/cli/_common.py +56 -0
  15. talamus-1.0.0/src/talamus/cli/app.py +204 -0
  16. talamus-1.0.0/src/talamus/cli/dashboard.py +150 -0
  17. talamus-1.0.0/src/talamus/cli/groups.py +433 -0
  18. talamus-1.0.0/src/talamus/cli/lifecycle.py +246 -0
  19. talamus-1.0.0/src/talamus/cli/parser.py +261 -0
  20. talamus-1.0.0/src/talamus/cli/pipeline.py +366 -0
  21. talamus-1.0.0/src/talamus/cli/query.py +330 -0
  22. talamus-1.0.0/src/talamus/config.py +127 -0
  23. talamus-1.0.0/src/talamus/consolidate.py +189 -0
  24. talamus-1.0.0/src/talamus/corpus.py +236 -0
  25. talamus-1.0.0/src/talamus/correct.py +251 -0
  26. talamus-1.0.0/src/talamus/demo.py +67 -0
  27. talamus-1.0.0/src/talamus/domains.py +377 -0
  28. talamus-1.0.0/src/talamus/enrich.py +106 -0
  29. talamus-1.0.0/src/talamus/errors.py +50 -0
  30. talamus-1.0.0/src/talamus/eval.py +239 -0
  31. talamus-1.0.0/src/talamus/extract.py +152 -0
  32. talamus-1.0.0/src/talamus/federation.py +184 -0
  33. talamus-1.0.0/src/talamus/graph.py +98 -0
  34. talamus-1.0.0/src/talamus/indexes.py +408 -0
  35. talamus-1.0.0/src/talamus/ingest.py +327 -0
  36. talamus-1.0.0/src/talamus/jobs.py +206 -0
  37. talamus-1.0.0/src/talamus/linking.py +42 -0
  38. talamus-1.0.0/src/talamus/log.py +24 -0
  39. talamus-1.0.0/src/talamus/mcp_server.py +309 -0
  40. talamus-1.0.0/src/talamus/models.py +84 -0
  41. talamus-1.0.0/src/talamus/naming.py +18 -0
  42. talamus-1.0.0/src/talamus/normalize.py +40 -0
  43. talamus-1.0.0/src/talamus/noteparse.py +91 -0
  44. talamus-1.0.0/src/talamus/ontology.py +105 -0
  45. talamus-1.0.0/src/talamus/ontology_lab.py +551 -0
  46. talamus-1.0.0/src/talamus/paths.py +76 -0
  47. talamus-1.0.0/src/talamus/progress.py +32 -0
  48. talamus-1.0.0/src/talamus/py.typed +0 -0
  49. talamus-1.0.0/src/talamus/rank.py +69 -0
  50. talamus-1.0.0/src/talamus/recall.py +65 -0
  51. talamus-1.0.0/src/talamus/redact.py +75 -0
  52. talamus-1.0.0/src/talamus/registry.py +239 -0
  53. talamus-1.0.0/src/talamus/relations.py +44 -0
  54. talamus-1.0.0/src/talamus/retrieval_lab.py +413 -0
  55. talamus-1.0.0/src/talamus/review.py +119 -0
  56. talamus-1.0.0/src/talamus/routing.py +115 -0
  57. talamus-1.0.0/src/talamus/scan.py +346 -0
  58. talamus-1.0.0/src/talamus/scope.py +258 -0
  59. talamus-1.0.0/src/talamus/search.py +75 -0
  60. talamus-1.0.0/src/talamus/services/__init__.py +1 -0
  61. talamus-1.0.0/src/talamus/services/ask.py +141 -0
  62. talamus-1.0.0/src/talamus/services/backup.py +130 -0
  63. talamus-1.0.0/src/talamus/services/brains.py +296 -0
  64. talamus-1.0.0/src/talamus/services/consolidation.py +98 -0
  65. talamus-1.0.0/src/talamus/services/diagnostics.py +286 -0
  66. talamus-1.0.0/src/talamus/services/engines.py +131 -0
  67. talamus-1.0.0/src/talamus/services/enrich.py +124 -0
  68. talamus-1.0.0/src/talamus/services/graph.py +159 -0
  69. talamus-1.0.0/src/talamus/services/importer.py +57 -0
  70. talamus-1.0.0/src/talamus/services/ingestion.py +202 -0
  71. talamus-1.0.0/src/talamus/services/integrations.py +150 -0
  72. talamus-1.0.0/src/talamus/services/jobs.py +143 -0
  73. talamus-1.0.0/src/talamus/services/library.py +162 -0
  74. talamus-1.0.0/src/talamus/services/ontology.py +220 -0
  75. talamus-1.0.0/src/talamus/services/query.py +242 -0
  76. talamus-1.0.0/src/talamus/services/readiness.py +463 -0
  77. talamus-1.0.0/src/talamus/services/result.py +37 -0
  78. talamus-1.0.0/src/talamus/services/review.py +172 -0
  79. talamus-1.0.0/src/talamus/services/scan.py +238 -0
  80. talamus-1.0.0/src/talamus/services/verification.py +153 -0
  81. talamus-1.0.0/src/talamus/session.py +85 -0
  82. talamus-1.0.0/src/talamus/smartsearch.py +92 -0
  83. talamus-1.0.0/src/talamus/sources.py +100 -0
  84. talamus-1.0.0/src/talamus/storage/__init__.py +1 -0
  85. talamus-1.0.0/src/talamus/storage/obsidian.py +68 -0
  86. talamus-1.0.0/src/talamus/store.py +247 -0
  87. talamus-1.0.0/src/talamus/temporal.py +223 -0
  88. talamus-1.0.0/src/talamus/textutil.py +112 -0
  89. talamus-1.0.0/src/talamus/timeline.py +50 -0
  90. talamus-1.0.0/src/talamus/ui/__init__.py +4 -0
  91. talamus-1.0.0/src/talamus/ui/physics.py +204 -0
  92. talamus-1.0.0/src/talamus/vault_import.py +213 -0
  93. talamus-1.0.0/src/talamus/webapi/__init__.py +7 -0
  94. talamus-1.0.0/src/talamus/webapi/__main__.py +46 -0
  95. talamus-1.0.0/src/talamus/webapi/app.py +307 -0
  96. talamus-1.0.0/src/talamus/webapi/graph_layout.py +48 -0
  97. talamus-1.0.0/src/talamus/webapi/static/assets/index-BR_KFz4D.css +1 -0
  98. talamus-1.0.0/src/talamus/webapi/static/assets/index-DXJ2rMP4.js +46 -0
  99. talamus-1.0.0/src/talamus/webapi/static/index.html +13 -0
  100. talamus-1.0.0/src/talamus.egg-info/PKG-INFO +200 -0
  101. talamus-1.0.0/src/talamus.egg-info/SOURCES.txt +212 -0
  102. talamus-1.0.0/src/talamus.egg-info/dependency_links.txt +1 -0
  103. talamus-1.0.0/src/talamus.egg-info/entry_points.txt +3 -0
  104. talamus-1.0.0/src/talamus.egg-info/requires.txt +28 -0
  105. talamus-1.0.0/src/talamus.egg-info/top_level.txt +1 -0
  106. talamus-1.0.0/tests/test_benchmarks_adaptive_floor.py +36 -0
  107. talamus-1.0.0/tests/test_benchmarks_agent_mem.py +38 -0
  108. talamus-1.0.0/tests/test_benchmarks_ask_eval.py +70 -0
  109. talamus-1.0.0/tests/test_benchmarks_base.py +23 -0
  110. talamus-1.0.0/tests/test_benchmarks_beir_datasets.py +17 -0
  111. talamus-1.0.0/tests/test_benchmarks_bm25.py +27 -0
  112. talamus-1.0.0/tests/test_benchmarks_calibrate.py +30 -0
  113. talamus-1.0.0/tests/test_benchmarks_capability.py +25 -0
  114. talamus-1.0.0/tests/test_benchmarks_cli.py +22 -0
  115. talamus-1.0.0/tests/test_benchmarks_dense_multilingual.py +26 -0
  116. talamus-1.0.0/tests/test_benchmarks_garden_enrich.py +70 -0
  117. talamus-1.0.0/tests/test_benchmarks_judge_cache.py +51 -0
  118. talamus-1.0.0/tests/test_benchmarks_judged.py +25 -0
  119. talamus-1.0.0/tests/test_benchmarks_llmwiki.py +35 -0
  120. talamus-1.0.0/tests/test_benchmarks_mem0.py +29 -0
  121. talamus-1.0.0/tests/test_benchmarks_metrics.py +25 -0
  122. talamus-1.0.0/tests/test_benchmarks_negatives.py +19 -0
  123. talamus-1.0.0/tests/test_benchmarks_profiler.py +61 -0
  124. talamus-1.0.0/tests/test_benchmarks_report.py +43 -0
  125. talamus-1.0.0/tests/test_benchmarks_runner.py +30 -0
  126. talamus-1.0.0/tests/test_benchmarks_scale.py +23 -0
  127. talamus-1.0.0/tests/test_benchmarks_talamus.py +28 -0
  128. talamus-1.0.0/tests/test_benchmarks_timeout_llm.py +39 -0
  129. talamus-1.0.0/tests/test_benchmarks_vectordb.py +29 -0
  130. talamus-1.0.0/tests/test_talamus_adapters_ollama_options.py +63 -0
  131. talamus-1.0.0/tests/test_talamus_adaptive_trigram.py +97 -0
  132. talamus-1.0.0/tests/test_talamus_ask.py +197 -0
  133. talamus-1.0.0/tests/test_talamus_ask_services.py +66 -0
  134. talamus-1.0.0/tests/test_talamus_backup_services.py +60 -0
  135. talamus-1.0.0/tests/test_talamus_bench.py +86 -0
  136. talamus-1.0.0/tests/test_talamus_brain_services.py +119 -0
  137. talamus-1.0.0/tests/test_talamus_budget.py +104 -0
  138. talamus-1.0.0/tests/test_talamus_bulk.py +44 -0
  139. talamus-1.0.0/tests/test_talamus_cache.py +26 -0
  140. talamus-1.0.0/tests/test_talamus_cli.py +492 -0
  141. talamus-1.0.0/tests/test_talamus_config.py +57 -0
  142. talamus-1.0.0/tests/test_talamus_consolidate.py +133 -0
  143. talamus-1.0.0/tests/test_talamus_consolidation_services.py +101 -0
  144. talamus-1.0.0/tests/test_talamus_corpus.py +75 -0
  145. talamus-1.0.0/tests/test_talamus_correct.py +63 -0
  146. talamus-1.0.0/tests/test_talamus_dashboard.py +145 -0
  147. talamus-1.0.0/tests/test_talamus_demo.py +37 -0
  148. talamus-1.0.0/tests/test_talamus_diagnostics_services.py +66 -0
  149. talamus-1.0.0/tests/test_talamus_domains.py +101 -0
  150. talamus-1.0.0/tests/test_talamus_domains_batched.py +95 -0
  151. talamus-1.0.0/tests/test_talamus_engines.py +108 -0
  152. talamus-1.0.0/tests/test_talamus_enrich.py +113 -0
  153. talamus-1.0.0/tests/test_talamus_enrich_services.py +80 -0
  154. talamus-1.0.0/tests/test_talamus_errors.py +22 -0
  155. talamus-1.0.0/tests/test_talamus_eval.py +217 -0
  156. talamus-1.0.0/tests/test_talamus_extract.py +63 -0
  157. talamus-1.0.0/tests/test_talamus_federation.py +126 -0
  158. talamus-1.0.0/tests/test_talamus_global_ontology.py +147 -0
  159. talamus-1.0.0/tests/test_talamus_graph.py +79 -0
  160. talamus-1.0.0/tests/test_talamus_graph_services.py +84 -0
  161. talamus-1.0.0/tests/test_talamus_hostile_models.py +147 -0
  162. talamus-1.0.0/tests/test_talamus_indexes.py +93 -0
  163. talamus-1.0.0/tests/test_talamus_ingest.py +196 -0
  164. talamus-1.0.0/tests/test_talamus_ingest_chunks.py +276 -0
  165. talamus-1.0.0/tests/test_talamus_ingestion_services.py +118 -0
  166. talamus-1.0.0/tests/test_talamus_integration_services.py +68 -0
  167. talamus-1.0.0/tests/test_talamus_job_services.py +76 -0
  168. talamus-1.0.0/tests/test_talamus_jobs.py +158 -0
  169. talamus-1.0.0/tests/test_talamus_language.py +93 -0
  170. talamus-1.0.0/tests/test_talamus_library_services.py +64 -0
  171. talamus-1.0.0/tests/test_talamus_llm_adapter.py +335 -0
  172. talamus-1.0.0/tests/test_talamus_mcp_server.py +211 -0
  173. talamus-1.0.0/tests/test_talamus_models.py +47 -0
  174. talamus-1.0.0/tests/test_talamus_naming.py +23 -0
  175. talamus-1.0.0/tests/test_talamus_normalize.py +26 -0
  176. talamus-1.0.0/tests/test_talamus_noteparse.py +52 -0
  177. talamus-1.0.0/tests/test_talamus_obsidian_renderer.py +136 -0
  178. talamus-1.0.0/tests/test_talamus_ontology.py +84 -0
  179. talamus-1.0.0/tests/test_talamus_ontology_lab.py +307 -0
  180. talamus-1.0.0/tests/test_talamus_ontology_services.py +148 -0
  181. talamus-1.0.0/tests/test_talamus_packaging.py +18 -0
  182. talamus-1.0.0/tests/test_talamus_paths_config.py +60 -0
  183. talamus-1.0.0/tests/test_talamus_physics.py +95 -0
  184. talamus-1.0.0/tests/test_talamus_query_services.py +90 -0
  185. talamus-1.0.0/tests/test_talamus_rank.py +131 -0
  186. talamus-1.0.0/tests/test_talamus_readiness.py +343 -0
  187. talamus-1.0.0/tests/test_talamus_recall.py +86 -0
  188. talamus-1.0.0/tests/test_talamus_recall_floor.py +43 -0
  189. talamus-1.0.0/tests/test_talamus_recall_floor_garden.py +43 -0
  190. talamus-1.0.0/tests/test_talamus_redact.py +54 -0
  191. talamus-1.0.0/tests/test_talamus_registry.py +99 -0
  192. talamus-1.0.0/tests/test_talamus_relations.py +44 -0
  193. talamus-1.0.0/tests/test_talamus_review.py +71 -0
  194. talamus-1.0.0/tests/test_talamus_review_services.py +101 -0
  195. talamus-1.0.0/tests/test_talamus_routing.py +107 -0
  196. talamus-1.0.0/tests/test_talamus_scan.py +191 -0
  197. talamus-1.0.0/tests/test_talamus_scan_services.py +128 -0
  198. talamus-1.0.0/tests/test_talamus_scope.py +215 -0
  199. talamus-1.0.0/tests/test_talamus_search.py +35 -0
  200. talamus-1.0.0/tests/test_talamus_session.py +68 -0
  201. talamus-1.0.0/tests/test_talamus_smartsearch.py +88 -0
  202. talamus-1.0.0/tests/test_talamus_smartsearch_passes.py +57 -0
  203. talamus-1.0.0/tests/test_talamus_sources.py +81 -0
  204. talamus-1.0.0/tests/test_talamus_store.py +141 -0
  205. talamus-1.0.0/tests/test_talamus_temporal.py +185 -0
  206. talamus-1.0.0/tests/test_talamus_textutil.py +18 -0
  207. talamus-1.0.0/tests/test_talamus_tiering.py +107 -0
  208. talamus-1.0.0/tests/test_talamus_timeline.py +38 -0
  209. talamus-1.0.0/tests/test_talamus_tree_routing.py +140 -0
  210. talamus-1.0.0/tests/test_talamus_ui_services.py +251 -0
  211. talamus-1.0.0/tests/test_talamus_vault_import.py +166 -0
  212. talamus-1.0.0/tests/test_talamus_verification_services.py +80 -0
  213. talamus-1.0.0/tests/test_talamus_verify_batch.py +198 -0
  214. talamus-1.0.0/tests/test_webapi.py +453 -0
talamus-1.0.0/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
talamus-1.0.0/PKG-INFO ADDED
@@ -0,0 +1,200 @@
1
+ Metadata-Version: 2.4
2
+ Name: talamus
3
+ Version: 1.0.0
4
+ Summary: Local-first knowledge compiler with graph-first retrieval for AI agents.
5
+ Author: Talamus Contributors
6
+ License: Apache-2.0
7
+ Requires-Python: >=3.11
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Provides-Extra: docling
11
+ Requires-Dist: docling>=2.0; extra == "docling"
12
+ Provides-Extra: mcp
13
+ Requires-Dist: mcp>=1.0; extra == "mcp"
14
+ Provides-Extra: dev
15
+ Requires-Dist: ruff>=0.6; extra == "dev"
16
+ Requires-Dist: mypy>=1.11; extra == "dev"
17
+ Provides-Extra: bench
18
+ Requires-Dist: tiktoken>=0.7; extra == "bench"
19
+ Requires-Dist: rank-bm25>=0.2; extra == "bench"
20
+ Requires-Dist: faiss-cpu>=1.8; extra == "bench"
21
+ Requires-Dist: sentence-transformers>=3.0; extra == "bench"
22
+ Requires-Dist: mem0ai>=0.1; extra == "bench"
23
+ Provides-Extra: docs
24
+ Requires-Dist: mkdocs-material>=9; extra == "docs"
25
+ Provides-Extra: ui
26
+ Requires-Dist: fastapi>=0.110; extra == "ui"
27
+ Requires-Dist: uvicorn>=0.29; extra == "ui"
28
+ Requires-Dist: pywebview>=5.0; extra == "ui"
29
+ Provides-Extra: pdf
30
+ Requires-Dist: pypdf>=4; extra == "pdf"
31
+ Dynamic: license-file
32
+
33
+ # Talamus
34
+
35
+ [![CI](https://github.com/GCrapuzzi/Talamus-Wiki/actions/workflows/ci.yml/badge.svg)](https://github.com/GCrapuzzi/Talamus-Wiki/actions/workflows/ci.yml) ![license](https://img.shields.io/badge/license-Apache--2.0-blue) ![python](https://img.shields.io/badge/python-3.11%2B-blue)
36
+
37
+ **Local-first memory with time, meaning, and verifiability — for your second brain and your AI agents.**
38
+
39
+ Talamus compiles your sources (documents, notes, and agent work sessions) into
40
+ **source-grounded, cross-linked concept notes**, builds a typed **graph as an
41
+ index**, and answers questions **with citations** — all on your machine, on the
42
+ LLM engine you already use.
43
+
44
+ <!-- demo GIF goes here: talamus demo → search → read -->
45
+
46
+ > Markdown notes you can edit in Obsidian · a graph that routes retrieval ·
47
+ > provenance on every claim · usable from the CLI, the SDK, and MCP.
48
+
49
+ ## Why Talamus
50
+
51
+ Most "AI memory" is either a pile of vector chunks (no structure, no provenance)
52
+ or a cloud service (your knowledge leaves your machine). Talamus is built on three
53
+ properties that, **together**, nothing else gives you:
54
+
55
+ - **TIME** — a bitemporal model: contradictions *invalidate* old facts instead of
56
+ deleting them — `talamus timeline`, `ask --as-of 2026-01`. *(shipped: transaction
57
+ history + valid-time claim overlay)*
58
+ - **MEANING** — a typed, **self-emerging ontology**: free-form relation surfaces
59
+ the fixed types can't explain are induced into *candidate types*, reviewed,
60
+ promoted, versioned — and measurably improve retrieval (`talamus ontology`).
61
+ *(shipped: fixed types + Ontology Lab; experimental: emergent schema at scale)*
62
+ - **VERIFIABILITY** — every note keeps its **sources**; verify single notes or in
63
+ batch, with proposed corrections going through a review queue (`talamus verify
64
+ --all`). *(shipped)*
65
+
66
+ Plus a wedge the others don't optimize for: **memory for agents** that need
67
+ current, cited, reasoned truth.
68
+
69
+ ## Talamus vs the alternatives
70
+
71
+ | | Plain RAG | llm_wiki | Zep / mem0 | **Talamus** |
72
+ | --------------------------------- | --------- | ------------------- | ---------- | ----------------- |
73
+ | Local-first | varies | ✅ | ❌ cloud | ✅ |
74
+ | Human-editable notes (Obsidian) | ❌ | ✅ | ❌ | ✅ |
75
+ | Typed ontology for reasoning | ❌ | ❌ statistical graph | partial | ✅ |
76
+ | Keeps history / "truth at time T" | ❌ | ❌ overwrites | partial | ✅ *(MVP)* |
77
+ | Provenance + correct-from-source | ❌ | tracking only | partial | ✅ |
78
+ | Agent memory (read + write, MCP) | ❌ | partial | ✅ | ✅ |
79
+
80
+ ## Quickstart
81
+
82
+ ```bash
83
+ pipx install talamus # or: pip install talamus
84
+
85
+ talamus demo # try a small example brain instantly (no LLM)
86
+ talamus search "embedding"
87
+
88
+ talamus init # your own brain (auto-detects your LLM engine)
89
+ talamus ingest report.pdf # PDF / DOCX / HTML / Markdown / URL -> linked concept-notes
90
+ talamus import-vault ~/vault # coming from Obsidian/Notion? 1:1 import, zero LLM cost
91
+ talamus ask "how does X work?" # cited answer
92
+ talamus ui # optional web workbench (pip install talamus[ui])
93
+ ```
94
+
95
+ Run `talamus` with no arguments for a status panel, or follow the
96
+ **[10-minute quickstart](docs/quickstart.md)**.
97
+
98
+ ## Choose your engine
99
+
100
+ Talamus runs on what you already have — set it in `talamus.json` or `TALAMUS_LLM_PROVIDER`:
101
+
102
+ - `claude-cli` — your Claude subscription (default if `claude` is on PATH)
103
+ - `codex-cli` — your ChatGPT subscription (Codex is bundled with it)
104
+ - `gemini-cli` — your Gemini subscription
105
+ - `opencode` — opencode, with whatever providers you configured in it
106
+ - `antigravity-cli` — Google Antigravity (`agy`)
107
+ - `ollama` — a local model, fully offline (`TALAMUS_LLM_MODEL=llama3`)
108
+ - `anthropic-api` — the Anthropic API (`ANTHROPIC_API_KEY`)
109
+
110
+ Every engine gets per-task **model+effort tiering** automatically: bulk work
111
+ (extraction, routing) runs on the cheap tier, the answer you read on the strong
112
+ one — top quality while burning as little of your subscription as possible.
113
+
114
+ ## For agents (MCP)
115
+
116
+ ```bash
117
+ talamus mcp install # writes .mcp.json for Claude Code / Cursor / Desktop
118
+ talamus hook # prints a SessionEnd hook to auto-capture your work
119
+ ```
120
+
121
+ Agents `search` / `read_note` / `recall` / `overview` / `neighbors` to read the brain,
122
+ and `remember` to grow it. The graph is an **index, not the answer** — agents read the
123
+ real notes and cite them.
124
+
125
+ ## Browse it like a wiki
126
+
127
+ Open `notes/` as an Obsidian vault: notes cross-link with `[[wikilinks]]`, so you
128
+ navigate the knowledge by hovering and clicking. Prefer a dedicated app?
129
+ **`talamus ui`** — the local web workbench (`pip install talamus[ui]`) — gives you
130
+ chat, search, clickable wikilinks, graph navigation, and domain browsing.
131
+
132
+ ## How it works
133
+
134
+ Sources (Markdown, text, **PDF, DOCX, HTML, URLs**) are normalized and preserved; an
135
+ LLM extracts atomic **concept notes** (with sources, typed relations, and wikilinks);
136
+ Talamus builds rebuildable indexes (graph + BM25 + ontology) and a hierarchical
137
+ **domain overview**. Retrieval routes through the overview, then **reranks** a union of
138
+ graph + BM25 candidates, and fits the context to a **token budget** so answer cost stays
139
+ flat as the brain grows. Answers cite the notes they used, and `talamus eval` measures
140
+ retrieval quality (recall@k / MRR) so changes are judged by numbers, not vibes.
141
+
142
+ Storage is **hybrid**: `notes/*.md` is the human-editable view (Obsidian-compatible),
143
+ `.talamus/cache/` holds the machine truth (provenance) and the derived indexes;
144
+ `talamus reindex` folds your hand-edits back in. The core is **Python stdlib-only**;
145
+ extras (MCP, engines) are optional. See **[architecture](docs/architecture.md)**.
146
+
147
+ ## How it compares (measured)
148
+
149
+ A real head-to-head against a dense vector-DB RAG pipeline (sentence-transformers
150
+ + FAISS) and vanilla BM25, same corpus/queries/judgments
151
+ ([details](dev/research/2026-06-rs5-competitive-shootout.md)):
152
+
153
+ | corpus | metric | Talamus | BM25 | Vector DB |
154
+ |---|---|---|---|---|
155
+ | BEIR SciFact (English, dense's turf) | recall@10 | 0.776 | 0.776 | 0.783 |
156
+ | BEIR SciFact | hit@10 | 0.793 | 0.797 | 0.793 |
157
+ | Cross-language + vague (our turf) | recall@10 | **0.886** | 0.771 | 0.700 |
158
+ | Cross-language + vague | hit@10 | **0.971** | 0.829 | 0.743 |
159
+
160
+ **On the vector DB's home turf we tie it — with zero embedding infrastructure.
161
+ On cross-language and vague queries we win decisively** (the dense model lands
162
+ last). Plus time, meaning and verifiability (100% of notes source-resolvable;
163
+ 97.7% fewer tokens than loading the brain) — moats no vector DB has.
164
+
165
+ ## Use cases
166
+
167
+ - **Second brain** — compile your reading and notes into a connected, cited wiki.
168
+ - **Agent memory** — give your agents a local, structured, verifiable memory they
169
+ can both read and grow.
170
+
171
+ ## Status & roadmap
172
+
173
+ **Shipped** (tested, gate-green): the sources → notes → cited-answers loop;
174
+ **multi-brain** with a federated read index (`brains`, `--all-brains`); **repo scan**
175
+ with dry-run, secret redaction and resumable jobs (`scan`, `jobs`); **persistent
176
+ indexes** (sqlite/FTS5 — search p95 at 10.000 notes: **34 ms**); the **Ontology Lab**
177
+ (emergent relation types: induce → review → promote, with measured retrieval lift);
178
+ the **temporal model** (`timeline`, `ask --as-of`); **batch verification** with a
179
+ review queue; multi-format ingestion (PDF/DOCX/HTML/URL); the CLI dashboard; the
180
+ **MCP server** (read+write with explicit scopes); the **UI workbench** (11 views,
181
+ `talamus ui [--web]`).
182
+
183
+ **Experimental**: emergent-schema quality at large scale (metrics built-in:
184
+ `ontology eval`/`stability`); UI runtime polish (smoke-tested headless, verify
185
+ rendering with `talamus ui`).
186
+
187
+ **Roadmap** ([details](dev/STATE.md)): OCR &
188
+ more formats (PPTX/XLSX/EPUB/media), packaged installers, remote
189
+ authenticated MCP, synonym-merge for emergent types, graph canvas view.
190
+
191
+ ## Development
192
+
193
+ ```bash
194
+ pip install -e ".[dev,mcp]"
195
+ python dev.py # lint + types + tests
196
+ ```
197
+
198
+ ## License
199
+
200
+ Apache-2.0.
@@ -0,0 +1,168 @@
1
+ # Talamus
2
+
3
+ [![CI](https://github.com/GCrapuzzi/Talamus-Wiki/actions/workflows/ci.yml/badge.svg)](https://github.com/GCrapuzzi/Talamus-Wiki/actions/workflows/ci.yml) ![license](https://img.shields.io/badge/license-Apache--2.0-blue) ![python](https://img.shields.io/badge/python-3.11%2B-blue)
4
+
5
+ **Local-first memory with time, meaning, and verifiability — for your second brain and your AI agents.**
6
+
7
+ Talamus compiles your sources (documents, notes, and agent work sessions) into
8
+ **source-grounded, cross-linked concept notes**, builds a typed **graph as an
9
+ index**, and answers questions **with citations** — all on your machine, on the
10
+ LLM engine you already use.
11
+
12
+ <!-- demo GIF goes here: talamus demo → search → read -->
13
+
14
+ > Markdown notes you can edit in Obsidian · a graph that routes retrieval ·
15
+ > provenance on every claim · usable from the CLI, the SDK, and MCP.
16
+
17
+ ## Why Talamus
18
+
19
+ Most "AI memory" is either a pile of vector chunks (no structure, no provenance)
20
+ or a cloud service (your knowledge leaves your machine). Talamus is built on three
21
+ properties that, **together**, nothing else gives you:
22
+
23
+ - **TIME** — a bitemporal model: contradictions *invalidate* old facts instead of
24
+ deleting them — `talamus timeline`, `ask --as-of 2026-01`. *(shipped: transaction
25
+ history + valid-time claim overlay)*
26
+ - **MEANING** — a typed, **self-emerging ontology**: free-form relation surfaces
27
+ the fixed types can't explain are induced into *candidate types*, reviewed,
28
+ promoted, versioned — and measurably improve retrieval (`talamus ontology`).
29
+ *(shipped: fixed types + Ontology Lab; experimental: emergent schema at scale)*
30
+ - **VERIFIABILITY** — every note keeps its **sources**; verify single notes or in
31
+ batch, with proposed corrections going through a review queue (`talamus verify
32
+ --all`). *(shipped)*
33
+
34
+ Plus a wedge the others don't optimize for: **memory for agents** that need
35
+ current, cited, reasoned truth.
36
+
37
+ ## Talamus vs the alternatives
38
+
39
+ | | Plain RAG | llm_wiki | Zep / mem0 | **Talamus** |
40
+ | --------------------------------- | --------- | ------------------- | ---------- | ----------------- |
41
+ | Local-first | varies | ✅ | ❌ cloud | ✅ |
42
+ | Human-editable notes (Obsidian) | ❌ | ✅ | ❌ | ✅ |
43
+ | Typed ontology for reasoning | ❌ | ❌ statistical graph | partial | ✅ |
44
+ | Keeps history / "truth at time T" | ❌ | ❌ overwrites | partial | ✅ *(MVP)* |
45
+ | Provenance + correct-from-source | ❌ | tracking only | partial | ✅ |
46
+ | Agent memory (read + write, MCP) | ❌ | partial | ✅ | ✅ |
47
+
48
+ ## Quickstart
49
+
50
+ ```bash
51
+ pipx install talamus # or: pip install talamus
52
+
53
+ talamus demo # try a small example brain instantly (no LLM)
54
+ talamus search "embedding"
55
+
56
+ talamus init # your own brain (auto-detects your LLM engine)
57
+ talamus ingest report.pdf # PDF / DOCX / HTML / Markdown / URL -> linked concept-notes
58
+ talamus import-vault ~/vault # coming from Obsidian/Notion? 1:1 import, zero LLM cost
59
+ talamus ask "how does X work?" # cited answer
60
+ talamus ui # optional web workbench (pip install talamus[ui])
61
+ ```
62
+
63
+ Run `talamus` with no arguments for a status panel, or follow the
64
+ **[10-minute quickstart](docs/quickstart.md)**.
65
+
66
+ ## Choose your engine
67
+
68
+ Talamus runs on what you already have — set it in `talamus.json` or `TALAMUS_LLM_PROVIDER`:
69
+
70
+ - `claude-cli` — your Claude subscription (default if `claude` is on PATH)
71
+ - `codex-cli` — your ChatGPT subscription (Codex is bundled with it)
72
+ - `gemini-cli` — your Gemini subscription
73
+ - `opencode` — opencode, with whatever providers you configured in it
74
+ - `antigravity-cli` — Google Antigravity (`agy`)
75
+ - `ollama` — a local model, fully offline (`TALAMUS_LLM_MODEL=llama3`)
76
+ - `anthropic-api` — the Anthropic API (`ANTHROPIC_API_KEY`)
77
+
78
+ Every engine gets per-task **model+effort tiering** automatically: bulk work
79
+ (extraction, routing) runs on the cheap tier, the answer you read on the strong
80
+ one — top quality while burning as little of your subscription as possible.
81
+
82
+ ## For agents (MCP)
83
+
84
+ ```bash
85
+ talamus mcp install # writes .mcp.json for Claude Code / Cursor / Desktop
86
+ talamus hook # prints a SessionEnd hook to auto-capture your work
87
+ ```
88
+
89
+ Agents `search` / `read_note` / `recall` / `overview` / `neighbors` to read the brain,
90
+ and `remember` to grow it. The graph is an **index, not the answer** — agents read the
91
+ real notes and cite them.
92
+
93
+ ## Browse it like a wiki
94
+
95
+ Open `notes/` as an Obsidian vault: notes cross-link with `[[wikilinks]]`, so you
96
+ navigate the knowledge by hovering and clicking. Prefer a dedicated app?
97
+ **`talamus ui`** — the local web workbench (`pip install talamus[ui]`) — gives you
98
+ chat, search, clickable wikilinks, graph navigation, and domain browsing.
99
+
100
+ ## How it works
101
+
102
+ Sources (Markdown, text, **PDF, DOCX, HTML, URLs**) are normalized and preserved; an
103
+ LLM extracts atomic **concept notes** (with sources, typed relations, and wikilinks);
104
+ Talamus builds rebuildable indexes (graph + BM25 + ontology) and a hierarchical
105
+ **domain overview**. Retrieval routes through the overview, then **reranks** a union of
106
+ graph + BM25 candidates, and fits the context to a **token budget** so answer cost stays
107
+ flat as the brain grows. Answers cite the notes they used, and `talamus eval` measures
108
+ retrieval quality (recall@k / MRR) so changes are judged by numbers, not vibes.
109
+
110
+ Storage is **hybrid**: `notes/*.md` is the human-editable view (Obsidian-compatible),
111
+ `.talamus/cache/` holds the machine truth (provenance) and the derived indexes;
112
+ `talamus reindex` folds your hand-edits back in. The core is **Python stdlib-only**;
113
+ extras (MCP, engines) are optional. See **[architecture](docs/architecture.md)**.
114
+
115
+ ## How it compares (measured)
116
+
117
+ A real head-to-head against a dense vector-DB RAG pipeline (sentence-transformers
118
+ + FAISS) and vanilla BM25, same corpus/queries/judgments
119
+ ([details](dev/research/2026-06-rs5-competitive-shootout.md)):
120
+
121
+ | corpus | metric | Talamus | BM25 | Vector DB |
122
+ |---|---|---|---|---|
123
+ | BEIR SciFact (English, dense's turf) | recall@10 | 0.776 | 0.776 | 0.783 |
124
+ | BEIR SciFact | hit@10 | 0.793 | 0.797 | 0.793 |
125
+ | Cross-language + vague (our turf) | recall@10 | **0.886** | 0.771 | 0.700 |
126
+ | Cross-language + vague | hit@10 | **0.971** | 0.829 | 0.743 |
127
+
128
+ **On the vector DB's home turf we tie it — with zero embedding infrastructure.
129
+ On cross-language and vague queries we win decisively** (the dense model lands
130
+ last). Plus time, meaning and verifiability (100% of notes source-resolvable;
131
+ 97.7% fewer tokens than loading the brain) — moats no vector DB has.
132
+
133
+ ## Use cases
134
+
135
+ - **Second brain** — compile your reading and notes into a connected, cited wiki.
136
+ - **Agent memory** — give your agents a local, structured, verifiable memory they
137
+ can both read and grow.
138
+
139
+ ## Status & roadmap
140
+
141
+ **Shipped** (tested, gate-green): the sources → notes → cited-answers loop;
142
+ **multi-brain** with a federated read index (`brains`, `--all-brains`); **repo scan**
143
+ with dry-run, secret redaction and resumable jobs (`scan`, `jobs`); **persistent
144
+ indexes** (sqlite/FTS5 — search p95 at 10.000 notes: **34 ms**); the **Ontology Lab**
145
+ (emergent relation types: induce → review → promote, with measured retrieval lift);
146
+ the **temporal model** (`timeline`, `ask --as-of`); **batch verification** with a
147
+ review queue; multi-format ingestion (PDF/DOCX/HTML/URL); the CLI dashboard; the
148
+ **MCP server** (read+write with explicit scopes); the **UI workbench** (11 views,
149
+ `talamus ui [--web]`).
150
+
151
+ **Experimental**: emergent-schema quality at large scale (metrics built-in:
152
+ `ontology eval`/`stability`); UI runtime polish (smoke-tested headless, verify
153
+ rendering with `talamus ui`).
154
+
155
+ **Roadmap** ([details](dev/STATE.md)): OCR &
156
+ more formats (PPTX/XLSX/EPUB/media), packaged installers, remote
157
+ authenticated MCP, synonym-merge for emergent types, graph canvas view.
158
+
159
+ ## Development
160
+
161
+ ```bash
162
+ pip install -e ".[dev,mcp]"
163
+ python dev.py # lint + types + tests
164
+ ```
165
+
166
+ ## License
167
+
168
+ Apache-2.0.
@@ -0,0 +1,63 @@
1
+ [build-system]
2
+ requires = ["setuptools>=69", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "talamus"
7
+ version = "1.0.0"
8
+ description = "Local-first knowledge compiler with graph-first retrieval for AI agents."
9
+ readme = "README.md"
10
+ requires-python = ">=3.11"
11
+ license = { text = "Apache-2.0" }
12
+ authors = [
13
+ { name = "Talamus Contributors" }
14
+ ]
15
+ dependencies = []
16
+
17
+ [project.optional-dependencies]
18
+ docling = ["docling>=2.0"]
19
+ mcp = ["mcp>=1.0"]
20
+ dev = ["ruff>=0.6", "mypy>=1.11"]
21
+ bench = [
22
+ "tiktoken>=0.7",
23
+ "rank-bm25>=0.2",
24
+ "faiss-cpu>=1.8",
25
+ "sentence-transformers>=3.0",
26
+ "mem0ai>=0.1",
27
+ ]
28
+ docs = ["mkdocs-material>=9"]
29
+ ui = ["fastapi>=0.110", "uvicorn>=0.29", "pywebview>=5.0"]
30
+ pdf = ["pypdf>=4"]
31
+
32
+ [project.scripts]
33
+ talamus = "talamus.cli:main"
34
+ talamus-mcp = "talamus.mcp_server:main"
35
+
36
+ [tool.setuptools.packages.find]
37
+ where = ["src"]
38
+
39
+ [tool.setuptools.package-data]
40
+ talamus = ["py.typed", "webapi/static/**/*"]
41
+
42
+ [tool.unittest]
43
+ start-dir = "tests"
44
+
45
+ [tool.ruff]
46
+ target-version = "py311"
47
+ line-length = 100
48
+ src = ["src", "tests"]
49
+
50
+ [tool.ruff.lint]
51
+ select = ["E", "F", "I", "W", "UP", "B"]
52
+
53
+ [tool.ruff.lint.per-file-ignores]
54
+ "tests/**" = ["E501"] # test data strings are legitimately long
55
+
56
+ [tool.mypy]
57
+ python_version = "3.11"
58
+ files = ["src"]
59
+ ignore_missing_imports = true
60
+ check_untyped_defs = true
61
+ warn_unused_ignores = true
62
+ warn_redundant_casts = true
63
+ no_implicit_optional = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ """Talamus local-first knowledge compiler core."""
2
+
3
+ __version__ = "0.1.0"
@@ -0,0 +1 @@
1
+ """Adattatori intercambiabili di Talamus (LLM, convertitori, ricerca, ...)."""