fatebridge 0.1.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 (390) hide show
  1. fatebridge-0.1.0/LICENSE +201 -0
  2. fatebridge-0.1.0/NOTICE +42 -0
  3. fatebridge-0.1.0/PKG-INFO +158 -0
  4. fatebridge-0.1.0/README.md +113 -0
  5. fatebridge-0.1.0/pyproject.toml +115 -0
  6. fatebridge-0.1.0/setup.cfg +4 -0
  7. fatebridge-0.1.0/src/fatebridge/__init__.py +25 -0
  8. fatebridge-0.1.0/src/fatebridge/analysis/__init__.py +1 -0
  9. fatebridge-0.1.0/src/fatebridge/analysis/career.py +606 -0
  10. fatebridge-0.1.0/src/fatebridge/analysis/children.py +286 -0
  11. fatebridge-0.1.0/src/fatebridge/analysis/compatibility.py +1024 -0
  12. fatebridge-0.1.0/src/fatebridge/analysis/education.py +297 -0
  13. fatebridge-0.1.0/src/fatebridge/analysis/health.py +318 -0
  14. fatebridge-0.1.0/src/fatebridge/analysis/life_dimensions.py +202 -0
  15. fatebridge-0.1.0/src/fatebridge/analysis/marriage.py +784 -0
  16. fatebridge-0.1.0/src/fatebridge/analysis/personality.py +184 -0
  17. fatebridge-0.1.0/src/fatebridge/analysis/relatives.py +151 -0
  18. fatebridge-0.1.0/src/fatebridge/analysis/romance.py +252 -0
  19. fatebridge-0.1.0/src/fatebridge/analysis/timing_effects.py +754 -0
  20. fatebridge-0.1.0/src/fatebridge/analysis/wealth.py +413 -0
  21. fatebridge-0.1.0/src/fatebridge/api.py +678 -0
  22. fatebridge-0.1.0/src/fatebridge/application/__init__.py +1 -0
  23. fatebridge-0.1.0/src/fatebridge/application/bindings.py +219 -0
  24. fatebridge-0.1.0/src/fatebridge/application/description.py +186 -0
  25. fatebridge-0.1.0/src/fatebridge/application/discovery.py +159 -0
  26. fatebridge-0.1.0/src/fatebridge/application/examples.py +40 -0
  27. fatebridge-0.1.0/src/fatebridge/application/execution.py +166 -0
  28. fatebridge-0.1.0/src/fatebridge/application/projection.py +101 -0
  29. fatebridge-0.1.0/src/fatebridge/application/result_delivery.py +499 -0
  30. fatebridge-0.1.0/src/fatebridge/application/scenarios.py +157 -0
  31. fatebridge-0.1.0/src/fatebridge/application/tool_spec.py +72 -0
  32. fatebridge-0.1.0/src/fatebridge/cli.py +1115 -0
  33. fatebridge-0.1.0/src/fatebridge/core/__init__.py +1 -0
  34. fatebridge-0.1.0/src/fatebridge/core/almanac.py +712 -0
  35. fatebridge-0.1.0/src/fatebridge/core/astro/__init__.py +1 -0
  36. fatebridge-0.1.0/src/fatebridge/core/astro/aspects.py +320 -0
  37. fatebridge-0.1.0/src/fatebridge/core/astro/birth.py +89 -0
  38. fatebridge-0.1.0/src/fatebridge/core/astro/chart.py +323 -0
  39. fatebridge-0.1.0/src/fatebridge/core/astro/classical.py +347 -0
  40. fatebridge-0.1.0/src/fatebridge/core/astro/ephemeris.py +179 -0
  41. fatebridge-0.1.0/src/fatebridge/core/astro/geometry.py +200 -0
  42. fatebridge-0.1.0/src/fatebridge/core/astro/layout.py +102 -0
  43. fatebridge-0.1.0/src/fatebridge/core/astro/orbits.py +195 -0
  44. fatebridge-0.1.0/src/fatebridge/core/astro/parts.py +183 -0
  45. fatebridge-0.1.0/src/fatebridge/core/astro/profiles.py +262 -0
  46. fatebridge-0.1.0/src/fatebridge/core/astro/reference.py +408 -0
  47. fatebridge-0.1.0/src/fatebridge/core/astro/relationship.py +423 -0
  48. fatebridge-0.1.0/src/fatebridge/core/astro/relationship_charts.py +525 -0
  49. fatebridge-0.1.0/src/fatebridge/core/astro/runtime.py +36 -0
  50. fatebridge-0.1.0/src/fatebridge/core/astrology_election.py +420 -0
  51. fatebridge-0.1.0/src/fatebridge/core/astrology_events.py +221 -0
  52. fatebridge-0.1.0/src/fatebridge/core/astrology_horary.py +535 -0
  53. fatebridge-0.1.0/src/fatebridge/core/astrology_lifespan.py +1282 -0
  54. fatebridge-0.1.0/src/fatebridge/core/astrology_tables.py +197 -0
  55. fatebridge-0.1.0/src/fatebridge/core/calendar.py +307 -0
  56. fatebridge-0.1.0/src/fatebridge/core/canping.py +370 -0
  57. fatebridge-0.1.0/src/fatebridge/core/classical.py +388 -0
  58. fatebridge-0.1.0/src/fatebridge/core/classical_western.py +1204 -0
  59. fatebridge-0.1.0/src/fatebridge/core/divination.py +867 -0
  60. fatebridge-0.1.0/src/fatebridge/core/element_relations.py +320 -0
  61. fatebridge-0.1.0/src/fatebridge/core/elements.py +340 -0
  62. fatebridge-0.1.0/src/fatebridge/core/ephemeris_runtime.py +139 -0
  63. fatebridge-0.1.0/src/fatebridge/core/execution_context.py +105 -0
  64. fatebridge-0.1.0/src/fatebridge/core/export_contracts.py +405 -0
  65. fatebridge-0.1.0/src/fatebridge/core/export_parser.py +197 -0
  66. fatebridge-0.1.0/src/fatebridge/core/fengshui/__init__.py +1 -0
  67. fatebridge-0.1.0/src/fatebridge/core/fengshui/actions.py +145 -0
  68. fatebridge-0.1.0/src/fatebridge/core/fengshui/annual.py +80 -0
  69. fatebridge-0.1.0/src/fatebridge/core/fengshui/bazhai.py +240 -0
  70. fatebridge-0.1.0/src/fatebridge/core/fengshui/calendar.py +116 -0
  71. fatebridge-0.1.0/src/fatebridge/core/fengshui/context.py +445 -0
  72. fatebridge-0.1.0/src/fatebridge/core/fengshui/context_inputs.py +512 -0
  73. fatebridge-0.1.0/src/fatebridge/core/fengshui/directions.py +68 -0
  74. fatebridge-0.1.0/src/fatebridge/core/fengshui/interior_inputs.py +137 -0
  75. fatebridge-0.1.0/src/fatebridge/core/fengshui/interior_rules.py +234 -0
  76. fatebridge-0.1.0/src/fatebridge/core/fengshui/jinsuo.py +56 -0
  77. fatebridge-0.1.0/src/fatebridge/core/fengshui/layout.py +789 -0
  78. fatebridge-0.1.0/src/fatebridge/core/fengshui/layout_inputs.py +148 -0
  79. fatebridge-0.1.0/src/fatebridge/core/fengshui/layout_supplements.py +483 -0
  80. fatebridge-0.1.0/src/fatebridge/core/fengshui/material_application.py +128 -0
  81. fatebridge-0.1.0/src/fatebridge/core/fengshui/material_inputs.py +112 -0
  82. fatebridge-0.1.0/src/fatebridge/core/fengshui/materials.py +242 -0
  83. fatebridge-0.1.0/src/fatebridge/core/fengshui/method_details.py +179 -0
  84. fatebridge-0.1.0/src/fatebridge/core/fengshui/method_policy.py +446 -0
  85. fatebridge-0.1.0/src/fatebridge/core/fengshui/models.py +1261 -0
  86. fatebridge-0.1.0/src/fatebridge/core/fengshui/natal_interpretation.py +316 -0
  87. fatebridge-0.1.0/src/fatebridge/core/fengshui/output.py +317 -0
  88. fatebridge-0.1.0/src/fatebridge/core/fengshui/planning.py +473 -0
  89. fatebridge-0.1.0/src/fatebridge/core/fengshui/snapshot.py +316 -0
  90. fatebridge-0.1.0/src/fatebridge/core/fengshui/surface.py +387 -0
  91. fatebridge-0.1.0/src/fatebridge/core/fengshui/surface_inputs.py +124 -0
  92. fatebridge-0.1.0/src/fatebridge/core/fengshui/workstation.py +374 -0
  93. fatebridge-0.1.0/src/fatebridge/core/fengshui/workstation_inputs.py +160 -0
  94. fatebridge-0.1.0/src/fatebridge/core/fengshui/workstation_sources.py +42 -0
  95. fatebridge-0.1.0/src/fatebridge/core/fengshui/xuankong.py +275 -0
  96. fatebridge-0.1.0/src/fatebridge/core/gua_meanings.py +666 -0
  97. fatebridge-0.1.0/src/fatebridge/core/guolao_moira.py +499 -0
  98. fatebridge-0.1.0/src/fatebridge/core/heluo.py +789 -0
  99. fatebridge-0.1.0/src/fatebridge/core/knowledge_store.py +699 -0
  100. fatebridge-0.1.0/src/fatebridge/core/local_techniques/__init__.py +1 -0
  101. fatebridge-0.1.0/src/fatebridge/core/local_techniques/canping.py +120 -0
  102. fatebridge-0.1.0/src/fatebridge/core/local_techniques/chart.py +773 -0
  103. fatebridge-0.1.0/src/fatebridge/core/local_techniques/heluo.py +111 -0
  104. fatebridge-0.1.0/src/fatebridge/core/local_techniques/otherbu.py +340 -0
  105. fatebridge-0.1.0/src/fatebridge/core/local_techniques/qimen.py +268 -0
  106. fatebridge-0.1.0/src/fatebridge/core/local_techniques/sanshi.py +369 -0
  107. fatebridge-0.1.0/src/fatebridge/core/local_techniques/sixyao.py +796 -0
  108. fatebridge-0.1.0/src/fatebridge/core/local_techniques/suzhan.py +149 -0
  109. fatebridge-0.1.0/src/fatebridge/core/local_techniques/tongshefa.py +188 -0
  110. fatebridge-0.1.0/src/fatebridge/core/metaphysics/__init__.py +5 -0
  111. fatebridge-0.1.0/src/fatebridge/core/metaphysics/common.py +275 -0
  112. fatebridge-0.1.0/src/fatebridge/core/metaphysics/jinkou.py +227 -0
  113. fatebridge-0.1.0/src/fatebridge/core/metaphysics/liureng.py +367 -0
  114. fatebridge-0.1.0/src/fatebridge/core/metaphysics/liureng_transmissions.py +205 -0
  115. fatebridge-0.1.0/src/fatebridge/core/metaphysics/qimen.py +1005 -0
  116. fatebridge-0.1.0/src/fatebridge/core/metaphysics/taiyi.py +876 -0
  117. fatebridge-0.1.0/src/fatebridge/core/metaphysics/ziwei.py +853 -0
  118. fatebridge-0.1.0/src/fatebridge/core/output_base.py +15 -0
  119. fatebridge-0.1.0/src/fatebridge/core/output_bazi.py +446 -0
  120. fatebridge-0.1.0/src/fatebridge/core/output_charts.py +432 -0
  121. fatebridge-0.1.0/src/fatebridge/core/output_chinese.py +722 -0
  122. fatebridge-0.1.0/src/fatebridge/core/output_reference.py +166 -0
  123. fatebridge-0.1.0/src/fatebridge/core/output_western.py +732 -0
  124. fatebridge-0.1.0/src/fatebridge/core/predictive/__init__.py +1 -0
  125. fatebridge-0.1.0/src/fatebridge/core/predictive/_common.py +652 -0
  126. fatebridge-0.1.0/src/fatebridge/core/predictive/decennials.py +604 -0
  127. fatebridge-0.1.0/src/fatebridge/core/predictive/firdaria.py +109 -0
  128. fatebridge-0.1.0/src/fatebridge/core/predictive/primary_directions.py +1340 -0
  129. fatebridge-0.1.0/src/fatebridge/core/predictive/profections.py +209 -0
  130. fatebridge-0.1.0/src/fatebridge/core/predictive/progressions.py +58 -0
  131. fatebridge-0.1.0/src/fatebridge/core/predictive/returns.py +118 -0
  132. fatebridge-0.1.0/src/fatebridge/core/predictive/solar_arc.py +45 -0
  133. fatebridge-0.1.0/src/fatebridge/core/predictive/transit.py +84 -0
  134. fatebridge-0.1.0/src/fatebridge/core/predictive/western_timing.py +603 -0
  135. fatebridge-0.1.0/src/fatebridge/core/predictive/zodiacal_releasing.py +318 -0
  136. fatebridge-0.1.0/src/fatebridge/core/reproducibility.py +79 -0
  137. fatebridge-0.1.0/src/fatebridge/core/requests/__init__.py +1 -0
  138. fatebridge-0.1.0/src/fatebridge/core/requests/astrology.py +220 -0
  139. fatebridge-0.1.0/src/fatebridge/core/requests/base.py +50 -0
  140. fatebridge-0.1.0/src/fatebridge/core/requests/bazi.py +86 -0
  141. fatebridge-0.1.0/src/fatebridge/core/requests/birth.py +73 -0
  142. fatebridge-0.1.0/src/fatebridge/core/requests/calendar.py +62 -0
  143. fatebridge-0.1.0/src/fatebridge/core/requests/compatibility.py +128 -0
  144. fatebridge-0.1.0/src/fatebridge/core/requests/divination.py +272 -0
  145. fatebridge-0.1.0/src/fatebridge/core/requests/metaphysics.py +175 -0
  146. fatebridge-0.1.0/src/fatebridge/core/requests/reference.py +88 -0
  147. fatebridge-0.1.0/src/fatebridge/core/requests/timing.py +136 -0
  148. fatebridge-0.1.0/src/fatebridge/core/requests/western_events.py +170 -0
  149. fatebridge-0.1.0/src/fatebridge/core/requests/western_lifespan.py +236 -0
  150. fatebridge-0.1.0/src/fatebridge/core/requests/western_timing.py +93 -0
  151. fatebridge-0.1.0/src/fatebridge/core/response_models.py +439 -0
  152. fatebridge-0.1.0/src/fatebridge/core/rules.py +1753 -0
  153. fatebridge-0.1.0/src/fatebridge/core/schema_cache.py +105 -0
  154. fatebridge-0.1.0/src/fatebridge/core/sukuyo.py +134 -0
  155. fatebridge-0.1.0/src/fatebridge/core/timing.py +971 -0
  156. fatebridge-0.1.0/src/fatebridge/core/ziwei_tables.py +81 -0
  157. fatebridge-0.1.0/src/fatebridge/data/agent_examples.json +515 -0
  158. fatebridge-0.1.0/src/fatebridge/data/agent_scenarios.json +1996 -0
  159. fatebridge-0.1.0/src/fatebridge/data/canping/__init__.py +0 -0
  160. fatebridge-0.1.0/src/fatebridge/data/canping/canpingTiaowen.json +1 -0
  161. fatebridge-0.1.0/src/fatebridge/data/fengshui/desktop-bagua-v1.json +70 -0
  162. fatebridge-0.1.0/src/fatebridge/data/fengshui/expert-methods-v1.json +157 -0
  163. fatebridge-0.1.0/src/fatebridge/data/fengshui/expert-policy-v1.json +73 -0
  164. fatebridge-0.1.0/src/fatebridge/data/fengshui/interior-relations-v1.json +372 -0
  165. fatebridge-0.1.0/src/fatebridge/data/fengshui/layout-supplements-v1.json +313 -0
  166. fatebridge-0.1.0/src/fatebridge/data/fengshui/material-representations-v1.json +119 -0
  167. fatebridge-0.1.0/src/fatebridge/data/fengshui/method-reference-supplement-v1.json +957 -0
  168. fatebridge-0.1.0/src/fatebridge/data/fengshui/natal-interpretation-v1.json +158 -0
  169. fatebridge-0.1.0/src/fatebridge/data/fengshui/rules-v1.json +303 -0
  170. fatebridge-0.1.0/src/fatebridge/data/fengshui/workstation-authored-v1.json +380 -0
  171. fatebridge-0.1.0/src/fatebridge/data/fengshui/xuankong-v1.json +328 -0
  172. fatebridge-0.1.0/src/fatebridge/data/heluo/__init__.py +0 -0
  173. fatebridge-0.1.0/src/fatebridge/data/heluo/heluoTiaowen.json +3266 -0
  174. fatebridge-0.1.0/src/fatebridge/data/knowledge/__init__.py +3 -0
  175. fatebridge-0.1.0/src/fatebridge/data/knowledge/astro.json +678 -0
  176. fatebridge-0.1.0/src/fatebridge/data/knowledge/bazi.json +825 -0
  177. fatebridge-0.1.0/src/fatebridge/data/knowledge/index.json +361 -0
  178. fatebridge-0.1.0/src/fatebridge/data/knowledge/liureng.json +590 -0
  179. fatebridge-0.1.0/src/fatebridge/data/knowledge/qimen.json +2481 -0
  180. fatebridge-0.1.0/src/fatebridge/diagnostics.py +171 -0
  181. fatebridge-0.1.0/src/fatebridge/fetch_ephe.py +147 -0
  182. fatebridge-0.1.0/src/fatebridge/mcp_server.py +187 -0
  183. fatebridge-0.1.0/src/fatebridge/mcp_transport.py +184 -0
  184. fatebridge-0.1.0/src/fatebridge/py.typed +0 -0
  185. fatebridge-0.1.0/src/fatebridge/services/astrology.py +1174 -0
  186. fatebridge-0.1.0/src/fatebridge/services/bazi.py +1121 -0
  187. fatebridge-0.1.0/src/fatebridge/services/birth_context.py +58 -0
  188. fatebridge-0.1.0/src/fatebridge/services/birth_payload.py +100 -0
  189. fatebridge-0.1.0/src/fatebridge/services/calculation.py +13 -0
  190. fatebridge-0.1.0/src/fatebridge/services/calendar_input.py +64 -0
  191. fatebridge-0.1.0/src/fatebridge/services/calendar_tools.py +267 -0
  192. fatebridge-0.1.0/src/fatebridge/services/catalog/__init__.py +1 -0
  193. fatebridge-0.1.0/src/fatebridge/services/catalog/astro_bindings.py +94 -0
  194. fatebridge-0.1.0/src/fatebridge/services/catalog/astrology.py +136 -0
  195. fatebridge-0.1.0/src/fatebridge/services/catalog/bazi.py +155 -0
  196. fatebridge-0.1.0/src/fatebridge/services/catalog/compatibility.py +28 -0
  197. fatebridge-0.1.0/src/fatebridge/services/catalog/divination.py +215 -0
  198. fatebridge-0.1.0/src/fatebridge/services/catalog/fengshui.py +79 -0
  199. fatebridge-0.1.0/src/fatebridge/services/catalog/metaphysics.py +161 -0
  200. fatebridge-0.1.0/src/fatebridge/services/catalog/reference.py +77 -0
  201. fatebridge-0.1.0/src/fatebridge/services/catalog/timing.py +166 -0
  202. fatebridge-0.1.0/src/fatebridge/services/catalog/western_events.py +75 -0
  203. fatebridge-0.1.0/src/fatebridge/services/catalog/western_lifespan.py +184 -0
  204. fatebridge-0.1.0/src/fatebridge/services/catalog/western_timing.py +114 -0
  205. fatebridge-0.1.0/src/fatebridge/services/compatibility.py +144 -0
  206. fatebridge-0.1.0/src/fatebridge/services/divination.py +644 -0
  207. fatebridge-0.1.0/src/fatebridge/services/export_tools.py +43 -0
  208. fatebridge-0.1.0/src/fatebridge/services/fengshui.py +461 -0
  209. fatebridge-0.1.0/src/fatebridge/services/knowledge.py +223 -0
  210. fatebridge-0.1.0/src/fatebridge/services/metaphysics.py +1050 -0
  211. fatebridge-0.1.0/src/fatebridge/services/replay_metadata.py +224 -0
  212. fatebridge-0.1.0/src/fatebridge/services/run_metadata.py +140 -0
  213. fatebridge-0.1.0/src/fatebridge/services/snapshot_builders.py +69 -0
  214. fatebridge-0.1.0/src/fatebridge/services/structured_snapshot.py +192 -0
  215. fatebridge-0.1.0/src/fatebridge/services/timing.py +821 -0
  216. fatebridge-0.1.0/src/fatebridge/services/timing_snapshots.py +600 -0
  217. fatebridge-0.1.0/src/fatebridge/services/timing_state.py +323 -0
  218. fatebridge-0.1.0/src/fatebridge/services/tool_catalog.py +65 -0
  219. fatebridge-0.1.0/src/fatebridge/services/western_election.py +108 -0
  220. fatebridge-0.1.0/src/fatebridge/services/western_events.py +253 -0
  221. fatebridge-0.1.0/src/fatebridge/services/western_horary.py +115 -0
  222. fatebridge-0.1.0/src/fatebridge/services/western_lifespan.py +1081 -0
  223. fatebridge-0.1.0/src/fatebridge/services/western_timing.py +157 -0
  224. fatebridge-0.1.0/src/fatebridge/services/western_timing_tools.py +430 -0
  225. fatebridge-0.1.0/src/fatebridge/transports/__init__.py +1 -0
  226. fatebridge-0.1.0/src/fatebridge/transports/flags.py +26 -0
  227. fatebridge-0.1.0/src/fatebridge/transports/mcp.py +299 -0
  228. fatebridge-0.1.0/src/fatebridge/transports/rest.py +236 -0
  229. fatebridge-0.1.0/src/fatebridge/utils/__init__.py +1 -0
  230. fatebridge-0.1.0/src/fatebridge/utils/analysis_clock.py +29 -0
  231. fatebridge-0.1.0/src/fatebridge/utils/birth_input.py +176 -0
  232. fatebridge-0.1.0/src/fatebridge/utils/data.py +687 -0
  233. fatebridge-0.1.0/src/fatebridge/utils/elements.py +77 -0
  234. fatebridge-0.1.0/src/fatebridge/utils/errors.py +204 -0
  235. fatebridge-0.1.0/src/fatebridge/utils/formatting.py +95 -0
  236. fatebridge-0.1.0/src/fatebridge/utils/house_systems.py +210 -0
  237. fatebridge-0.1.0/src/fatebridge/utils/places.py +578 -0
  238. fatebridge-0.1.0/src/fatebridge/utils/runtime.py +114 -0
  239. fatebridge-0.1.0/src/fatebridge/utils/solar_time.py +258 -0
  240. fatebridge-0.1.0/src/fatebridge/utils/timezones.py +51 -0
  241. fatebridge-0.1.0/src/fatebridge.egg-info/PKG-INFO +158 -0
  242. fatebridge-0.1.0/src/fatebridge.egg-info/SOURCES.txt +388 -0
  243. fatebridge-0.1.0/src/fatebridge.egg-info/dependency_links.txt +1 -0
  244. fatebridge-0.1.0/src/fatebridge.egg-info/entry_points.txt +4 -0
  245. fatebridge-0.1.0/src/fatebridge.egg-info/requires.txt +20 -0
  246. fatebridge-0.1.0/src/fatebridge.egg-info/top_level.txt +1 -0
  247. fatebridge-0.1.0/tests/test_age_point.py +95 -0
  248. fatebridge-0.1.0/tests/test_agentic_contracts.py +426 -0
  249. fatebridge-0.1.0/tests/test_agentic_domain_outputs.py +516 -0
  250. fatebridge-0.1.0/tests/test_agentic_nested_outputs.py +566 -0
  251. fatebridge-0.1.0/tests/test_agentic_p2.py +425 -0
  252. fatebridge-0.1.0/tests/test_agentic_replay.py +583 -0
  253. fatebridge-0.1.0/tests/test_api_alignment.py +839 -0
  254. fatebridge-0.1.0/tests/test_architecture_boundaries.py +195 -0
  255. fatebridge-0.1.0/tests/test_architecture_review_optimizations.py +127 -0
  256. fatebridge-0.1.0/tests/test_astro_balance_nodes.py +35 -0
  257. fatebridge-0.1.0/tests/test_astro_true_solar.py +106 -0
  258. fatebridge-0.1.0/tests/test_astrology_tools.py +1172 -0
  259. fatebridge-0.1.0/tests/test_audit_corrections.py +195 -0
  260. fatebridge-0.1.0/tests/test_audit_fixes.py +239 -0
  261. fatebridge-0.1.0/tests/test_bazi_three_origins.py +42 -0
  262. fatebridge-0.1.0/tests/test_bazi_tools.py +180 -0
  263. fatebridge-0.1.0/tests/test_birth_place_not_found_warns.py +41 -0
  264. fatebridge-0.1.0/tests/test_birth_place_resolution.py +141 -0
  265. fatebridge-0.1.0/tests/test_birth_time_precision.py +1281 -0
  266. fatebridge-0.1.0/tests/test_calculation_review_optimizations.py +146 -0
  267. fatebridge-0.1.0/tests/test_calendar_audit_repairs.py +182 -0
  268. fatebridge-0.1.0/tests/test_calendar_context.py +166 -0
  269. fatebridge-0.1.0/tests/test_calendar_helper_tools.py +303 -0
  270. fatebridge-0.1.0/tests/test_canping_tool.py +126 -0
  271. fatebridge-0.1.0/tests/test_capability_discovery.py +80 -0
  272. fatebridge-0.1.0/tests/test_chinese_metaphysics.py +1094 -0
  273. fatebridge-0.1.0/tests/test_classical.py +129 -0
  274. fatebridge-0.1.0/tests/test_classical_oracle.py +97 -0
  275. fatebridge-0.1.0/tests/test_classical_phase2.py +109 -0
  276. fatebridge-0.1.0/tests/test_classical_phase3.py +99 -0
  277. fatebridge-0.1.0/tests/test_classical_phase4.py +110 -0
  278. fatebridge-0.1.0/tests/test_classical_phase4b.py +187 -0
  279. fatebridge-0.1.0/tests/test_classical_phase5.py +70 -0
  280. fatebridge-0.1.0/tests/test_classical_western.py +276 -0
  281. fatebridge-0.1.0/tests/test_cli.py +691 -0
  282. fatebridge-0.1.0/tests/test_codex_call_contracts.py +169 -0
  283. fatebridge-0.1.0/tests/test_codex_experience.py +483 -0
  284. fatebridge-0.1.0/tests/test_compatibility_structure.py +339 -0
  285. fatebridge-0.1.0/tests/test_complete_output_contracts.py +154 -0
  286. fatebridge-0.1.0/tests/test_current_local_datetime.py +41 -0
  287. fatebridge-0.1.0/tests/test_dayun_label.py +30 -0
  288. fatebridge-0.1.0/tests/test_divination_tools.py +1500 -0
  289. fatebridge-0.1.0/tests/test_doc_tool_counts.py +206 -0
  290. fatebridge-0.1.0/tests/test_documentation_integrity.py +75 -0
  291. fatebridge-0.1.0/tests/test_element_percentage_determinism.py +40 -0
  292. fatebridge-0.1.0/tests/test_element_primitive.py +43 -0
  293. fatebridge-0.1.0/tests/test_element_relations.py +185 -0
  294. fatebridge-0.1.0/tests/test_ephemeris_phase2b.py +223 -0
  295. fatebridge-0.1.0/tests/test_ephemeris_runtime.py +127 -0
  296. fatebridge-0.1.0/tests/test_essential_dignity.py +55 -0
  297. fatebridge-0.1.0/tests/test_export_audit_repairs.py +147 -0
  298. fatebridge-0.1.0/tests/test_export_knowledge_tools.py +292 -0
  299. fatebridge-0.1.0/tests/test_fengshui.py +431 -0
  300. fatebridge-0.1.0/tests/test_fengshui_analysis_progress.py +527 -0
  301. fatebridge-0.1.0/tests/test_fengshui_calendar_uncertainty.py +107 -0
  302. fatebridge-0.1.0/tests/test_fengshui_candidate_features.py +253 -0
  303. fatebridge-0.1.0/tests/test_fengshui_candidate_scope_expansion.py +299 -0
  304. fatebridge-0.1.0/tests/test_fengshui_context.py +753 -0
  305. fatebridge-0.1.0/tests/test_fengshui_context_fact_contract.py +300 -0
  306. fatebridge-0.1.0/tests/test_fengshui_expert_contracts.py +476 -0
  307. fatebridge-0.1.0/tests/test_fengshui_expert_policy_review.py +240 -0
  308. fatebridge-0.1.0/tests/test_fengshui_interior_relations.py +377 -0
  309. fatebridge-0.1.0/tests/test_fengshui_layout.py +398 -0
  310. fatebridge-0.1.0/tests/test_fengshui_material_facts.py +218 -0
  311. fatebridge-0.1.0/tests/test_fengshui_method_details_expansion.py +225 -0
  312. fatebridge-0.1.0/tests/test_fengshui_method_policy.py +537 -0
  313. fatebridge-0.1.0/tests/test_fengshui_planning.py +486 -0
  314. fatebridge-0.1.0/tests/test_fengshui_reference_intake.py +84 -0
  315. fatebridge-0.1.0/tests/test_fengshui_scope_integrity.py +229 -0
  316. fatebridge-0.1.0/tests/test_fengshui_shared_occupants.py +212 -0
  317. fatebridge-0.1.0/tests/test_fengshui_sharp_action_constraints.py +191 -0
  318. fatebridge-0.1.0/tests/test_fengshui_sourced_contracts.py +344 -0
  319. fatebridge-0.1.0/tests/test_fengshui_supplements.py +503 -0
  320. fatebridge-0.1.0/tests/test_fengshui_surfaces.py +450 -0
  321. fatebridge-0.1.0/tests/test_fengshui_surfaces_authored.py +439 -0
  322. fatebridge-0.1.0/tests/test_fengshui_systematic_contracts.py +422 -0
  323. fatebridge-0.1.0/tests/test_fengshui_workstation_authored.py +895 -0
  324. fatebridge-0.1.0/tests/test_fetch_ephe.py +89 -0
  325. fatebridge-0.1.0/tests/test_fixed_stars.py +174 -0
  326. fatebridge-0.1.0/tests/test_full_surface_validation.py +133 -0
  327. fatebridge-0.1.0/tests/test_golden_master.py +51 -0
  328. fatebridge-0.1.0/tests/test_guolao_moira_tool.py +194 -0
  329. fatebridge-0.1.0/tests/test_heluo_tool.py +95 -0
  330. fatebridge-0.1.0/tests/test_house_system_unification.py +178 -0
  331. fatebridge-0.1.0/tests/test_http_audit_repairs.py +187 -0
  332. fatebridge-0.1.0/tests/test_http_smoke.py +136 -0
  333. fatebridge-0.1.0/tests/test_jieqi_boundary_precision.py +53 -0
  334. fatebridge-0.1.0/tests/test_mcp_audit_repairs.py +165 -0
  335. fatebridge-0.1.0/tests/test_mcp_input_contracts.py +300 -0
  336. fatebridge-0.1.0/tests/test_mcp_protocol_result.py +43 -0
  337. fatebridge-0.1.0/tests/test_metaphysics_lunar_required.py +57 -0
  338. fatebridge-0.1.0/tests/test_ninth_part.py +68 -0
  339. fatebridge-0.1.0/tests/test_offline_house_systems.py +119 -0
  340. fatebridge-0.1.0/tests/test_output_projection_contracts.py +299 -0
  341. fatebridge-0.1.0/tests/test_output_shaping_parity.py +157 -0
  342. fatebridge-0.1.0/tests/test_performance_optimizations.py +224 -0
  343. fatebridge-0.1.0/tests/test_persian_directed.py +125 -0
  344. fatebridge-0.1.0/tests/test_planetary_hours.py +125 -0
  345. fatebridge-0.1.0/tests/test_predictive_audit_repairs.py +199 -0
  346. fatebridge-0.1.0/tests/test_primary_direction_aspect_meta.py +32 -0
  347. fatebridge-0.1.0/tests/test_progression_variants.py +121 -0
  348. fatebridge-0.1.0/tests/test_qimen_accuracy.py +114 -0
  349. fatebridge-0.1.0/tests/test_rate_limit_removal.py +85 -0
  350. fatebridge-0.1.0/tests/test_relationship_and_career_semantics.py +190 -0
  351. fatebridge-0.1.0/tests/test_relationship_focus.py +85 -0
  352. fatebridge-0.1.0/tests/test_request_catalog_isolation.py +43 -0
  353. fatebridge-0.1.0/tests/test_response_budget_contract.py +80 -0
  354. fatebridge-0.1.0/tests/test_result_delivery.py +262 -0
  355. fatebridge-0.1.0/tests/test_result_delivery_storage.py +305 -0
  356. fatebridge-0.1.0/tests/test_retired_entries.py +146 -0
  357. fatebridge-0.1.0/tests/test_run_metadata.py +110 -0
  358. fatebridge-0.1.0/tests/test_runtime_and_errors.py +398 -0
  359. fatebridge-0.1.0/tests/test_scenario_routing_coverage.py +139 -0
  360. fatebridge-0.1.0/tests/test_schema_cache.py +141 -0
  361. fatebridge-0.1.0/tests/test_seasonal_phase.py +48 -0
  362. fatebridge-0.1.0/tests/test_skills_engine_contract.py +170 -0
  363. fatebridge-0.1.0/tests/test_skills_interface_contract.py +181 -0
  364. fatebridge-0.1.0/tests/test_snapshot_builders.py +99 -0
  365. fatebridge-0.1.0/tests/test_structured_snapshot.py +65 -0
  366. fatebridge-0.1.0/tests/test_sukuyo.py +126 -0
  367. fatebridge-0.1.0/tests/test_swisseph_runtime_guards.py +81 -0
  368. fatebridge-0.1.0/tests/test_taiyi_kintaiyi_parity.py +90 -0
  369. fatebridge-0.1.0/tests/test_ten_god_knowledge_consistency.py +120 -0
  370. fatebridge-0.1.0/tests/test_ten_god_primitive.py +78 -0
  371. fatebridge-0.1.0/tests/test_third_party_correctness_fixes.py +243 -0
  372. fatebridge-0.1.0/tests/test_tool_spec.py +213 -0
  373. fatebridge-0.1.0/tests/test_true_solar_defaults.py +86 -0
  374. fatebridge-0.1.0/tests/test_western_analysis_clock.py +280 -0
  375. fatebridge-0.1.0/tests/test_western_election.py +125 -0
  376. fatebridge-0.1.0/tests/test_western_events.py +107 -0
  377. fatebridge-0.1.0/tests/test_western_horary.py +145 -0
  378. fatebridge-0.1.0/tests/test_western_lifespan.py +394 -0
  379. fatebridge-0.1.0/tests/test_western_timing.py +1158 -0
  380. fatebridge-0.1.0/tests/test_western_timing_tools.py +276 -0
  381. fatebridge-0.1.0/tests/test_xuankong.py +444 -0
  382. fatebridge-0.1.0/tests/test_xuankong_interpretation_contracts.py +670 -0
  383. fatebridge-0.1.0/tests/test_xuankong_interpretation_engine.py +227 -0
  384. fatebridge-0.1.0/tests/test_ziwei_brightness_coverage.py +58 -0
  385. fatebridge-0.1.0/tests/test_ziwei_brightness_crosscheck.py +49 -0
  386. fatebridge-0.1.0/tests/test_ziwei_horoscope.py +71 -0
  387. fatebridge-0.1.0/tests/test_ziwei_horoscope_crosscheck.py +83 -0
  388. fatebridge-0.1.0/tests/test_ziwei_lunar_year_boundary.py +82 -0
  389. fatebridge-0.1.0/tests/test_ziwei_tables.py +34 -0
  390. fatebridge-0.1.0/tests/test_ziwei_true_solar_time.py +50 -0
@@ -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 2026 thomas-yanxin
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.
@@ -0,0 +1,42 @@
1
+ FateBridge
2
+ Copyright (c) FateBridge contributors
3
+
4
+ This product is licensed under the Apache License, Version 2.0 (see LICENSE).
5
+
6
+ ------------------------------------------------------------------------------
7
+ Third-party components
8
+ ------------------------------------------------------------------------------
9
+
10
+ kintaiyi (太乙神数 / Tai Yi divination engine)
11
+ Source: https://github.com/kentang2017/kintaiyi
12
+ Author: kentang2017
13
+ License: MIT
14
+
15
+ fatebridge/core/metaphysics/taiyi.py contains a pure-Python port of the
16
+ 太乙統宗 人道命法 (life-chart) algorithm and its lookup tables, transcribed
17
+ from kintaiyi's kintaiyi.py and config.py. FateBridge does not depend on
18
+ kintaiyi at runtime; only the algorithm and constant tables were vendored,
19
+ and calendar / 节气 inputs are produced by FateBridge's own swisseph-backed
20
+ engine. The MIT license text below is retained as required.
21
+
22
+ MIT License
23
+
24
+ Copyright (c) 2023-2026 kentang2017
25
+
26
+ Permission is hereby granted, free of charge, to any person obtaining a copy
27
+ of this software and associated documentation files (the "Software"), to deal
28
+ in the Software without restriction, including without limitation the rights
29
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30
+ copies of the Software, and to permit persons to whom the Software is
31
+ furnished to do so, subject to the following conditions:
32
+
33
+ The above copyright notice and this permission notice shall be included in all
34
+ copies or substantial portions of the Software.
35
+
36
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
42
+ SOFTWARE.
@@ -0,0 +1,158 @@
1
+ Metadata-Version: 2.4
2
+ Name: fatebridge
3
+ Version: 0.1.0
4
+ Summary: FateBridge - A Model Context Protocol (MCP) server bridging ancient Chinese fortune telling wisdom with modern technology
5
+ Author-email: thomas-yanxin <yx20001210@163.com>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/thomas-yanxin/FateBridge
8
+ Project-URL: Repository, https://github.com/thomas-yanxin/FateBridge
9
+ Project-URL: Issues, https://github.com/thomas-yanxin/FateBridge/issues
10
+ Project-URL: Changelog, https://github.com/thomas-yanxin/FateBridge/blob/master/CHANGELOG.md
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
14
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
15
+ Classifier: Typing :: Typed
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Requires-Python: >=3.10
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ License-File: NOTICE
25
+ Requires-Dist: fastapi>=0.110.1
26
+ Requires-Dist: fastmcp>=3.4.2
27
+ Requires-Dist: kerykeion<6,>=5.5.0
28
+ Requires-Dist: lunardate>=0.2.2
29
+ Requires-Dist: packaging>=23.0
30
+ Requires-Dist: pydantic>=2.0.0
31
+ Requires-Dist: pyswisseph>=2.10.0
32
+ Requires-Dist: python-dateutil>=2.8.0
33
+ Requires-Dist: python-multipart>=0.0.9
34
+ Requires-Dist: pytz>=2024.1
35
+ Requires-Dist: uvicorn>=0.27.0
36
+ Provides-Extra: dev
37
+ Requires-Dist: jsonschema>=4.20.0; extra == "dev"
38
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
39
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
40
+ Requires-Dist: black>=23.0.0; extra == "dev"
41
+ Requires-Dist: isort>=5.12.0; extra == "dev"
42
+ Requires-Dist: mypy>=1.5.0; extra == "dev"
43
+ Requires-Dist: pyyaml>=6.0; extra == "dev"
44
+ Dynamic: license-file
45
+
46
+ # FateBridge
47
+
48
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
49
+ [![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue.svg)](pyproject.toml)
50
+ [![CI](https://github.com/thomas-yanxin/FateBridge/actions/workflows/ci.yml/badge.svg)](https://github.com/thomas-yanxin/FateBridge/actions/workflows/ci.yml)
51
+
52
+ FateBridge 是一个可在本地运行的 Python 后端能力库,把八字、紫微、传统占术、西方占星与风水规则组织成可调用、可复算、带来源的计算接口。应用通过 REST 接入,Agent 通过 MCP 调用,脚本通过 CLI 运行;当前版本为 **0.1.0**。
53
+
54
+ 当前提供 **86 个业务 REST 路由**、**87 个 FastMCP 工具**;中央目录含 88 条记录,CLI 可执行其中87条。三端共用领域计算,名称和请求形态见 [三端能力边界](docs/api-reference.md#24-三端能力边界)。完整 **13 family / 87 工具** 清单见 [算法覆盖矩阵](docs/algorithm-coverage.md)。
55
+
56
+ ## 从这里开始
57
+
58
+ | 你的目标 | 入口 |
59
+ | --- | --- |
60
+ | 在 Codex 中直接咨询 | [Codex 使用指南](docs/codex-guide.md) |
61
+ | 安装并发起第一次调用 | [快速入门](docs/getting-started.md) |
62
+ | 接入应用或 Agent | [接入指南](docs/agent-guide.md) · [API 参考](docs/api-reference.md) |
63
+ | 按问题选择工具或场景技能 | [场景路由](docs/scenario-routing.md) · [9 个 Onda 技能](skills/README.md) |
64
+ | 修改代码、规则或文档 | [开发指南](docs/development-guide.md) · [贡献指南](CONTRIBUTING.md) |
65
+ | 升级旧版调用或排查故障 | [迁移指南](docs/migration.md) · [故障排除](docs/troubleshooting.md) |
66
+
67
+ 完整导航和各文档职责见 [文档中心](docs/README.md)。
68
+
69
+ ## 能力概览
70
+
71
+ | 领域 | 计算内容 |
72
+ | --- | --- |
73
+ | 八字与双人关系 | 命盘,事业、财运、婚姻等九项专题,双人配合、宿曜相性 |
74
+ | 时运与历法 | 大运、流年、流月、流日、流时、节气与农历 |
75
+ | 中国术数与占卜 | 紫微、奇门、六壬、太乙、金口诀、梅花、六爻及本地技法 |
76
+ | 西方占星 | 本命与流派盘、关系盘、返照、行运、主限及时主等推运 |
77
+ | 风水空间 | 八宅、金锁基础砂水、年星、玄空历史宅盘,以及按事实分层的布局与物件审查 |
78
+
79
+ 风水的输入、来源与适用范围见 [家居风水](docs/fengshui.md);各工具精度、依赖与未覆盖项目见 [算法覆盖](docs/algorithm-coverage.md)。
80
+
81
+ ## 快速开始
82
+
83
+ 需要 Python 3.10+,当前 CI 覆盖 3.10–3.13。通过 PyPI 安装:
84
+
85
+ ```bash
86
+ python -m pip install fatebridge==0.1.0
87
+ ```
88
+
89
+ 源码开发安装需要 Git,以下为 macOS / Linux 示例;Windows 和全部配置见 [快速入门](docs/getting-started.md#安装)。
90
+
91
+ ```bash
92
+ git clone https://github.com/thomas-yanxin/FateBridge.git
93
+ cd FateBridge
94
+ uv venv --python 3.12
95
+ source .venv/bin/activate
96
+ uv pip install -e .
97
+ ```
98
+
99
+ ### CLI:安装后直接调用
100
+
101
+ CLI 不需要启动服务。以下命令使用虚构体验资料:
102
+
103
+ ```bash
104
+ fatebridge describe bazi_birth --detail input
105
+ fatebridge bazi_birth --birth-year 1990 --birth-month 5 --birth-day 15 --birth-hour 10 --birth-minute 30 --gender 男 --birth-place 北京 --birth-timezone Asia/Shanghai --fields bazi_birth.day_master --strict-fields
106
+ ```
107
+
108
+ ### REST:启动后发起请求
109
+
110
+ ```bash
111
+ API_HOST=127.0.0.1 fatebridge-api
112
+ ```
113
+
114
+ 另开一个终端执行:
115
+
116
+ ```bash
117
+ curl http://localhost:8010/health
118
+ curl -X POST http://localhost:8010/api/cn/bazi/birth -H 'Content-Type: application/json' -d '{"birth_year":1990,"birth_month":5,"birth_day":15,"birth_hour":10,
119
+ "birth_minute":30,"gender":"男","birth_place":"北京",
120
+ "birth_timezone":"Asia/Shanghai","use_true_solar_time":true}'
121
+ ```
122
+
123
+ 交互文档位于 `http://localhost:8010/docs`。独立命盘数据位于 `bazi_birth`;配置了 `FATEBRIDGE_API_KEYS` 时,业务请求还需密钥头。监听地址默认 `0.0.0.0`,本机使用以上命令限制到 `127.0.0.1`;配置与部署说明见 [快速入门](docs/getting-started.md#配置环境变量) 和 [安全策略](SECURITY.md)。
124
+
125
+ ### MCP:交给 host 启动
126
+
127
+ MCP 使用 stdio。先运行 `fatebridge doctor --mcp --scenario onda-shiye`,再按返回的绝对路径命令注册。完整 Codex 配置、虚构对话和连接检查见 [Codex 使用指南](docs/codex-guide.md)。
128
+
129
+ ## 调用与结果
130
+
131
+ - 用 `fatebridge discover --family bazi` 或 REST `/api/tools?detail=summary&family=bazi` 筛选能力,再读取所选工具契约。已知 Schema 时可直接调用。
132
+ - 成功结果默认带 `run_metadata`,记录工具、时间和计算口径;复现还需保存原输入与运行环境。
133
+ - 用 `fields` 控制响应体积,`strict_fields=true` 拒绝无效路径。MCP 默认预算 8192 字符,超限后通过 `result_delivery` 读取同一次结果。
134
+ - **需要完整 JSON 或全部时间线时,首次调用 `fields=null`**,再按 [完整结果交付](docs/agent-guide.md#完整结果交付与同次导出) 保存与校验;摘要投影无法恢复未选字段。
135
+
136
+ 字段、错误与端口差异见 [API 参考](docs/api-reference.md),Python / JavaScript 客户端例子见 [接入指南](docs/agent-guide.md)。
137
+
138
+ ## 开发与验证
139
+
140
+ 源码位于 `src/fatebridge/`;中央目录装配领域声明,REST / MCP / CLI 共用服务与算法。[架构说明](docs/architecture.md) 介绍调用链与模块职责。
141
+
142
+ 安装开发依赖后运行:
143
+
144
+ ```bash
145
+ uv pip install -e ".[dev]"
146
+ python scripts/check_docs.py
147
+ python -m pytest -q tests/test_doc_tool_counts.py tests/test_scenario_routing_coverage.py
148
+ ```
149
+
150
+ 代码变更还需运行领域测试与 CI 对应检查,命令见 [开发指南](docs/development-guide.md)。提交方式见 [贡献指南](CONTRIBUTING.md),版本变化见 [CHANGELOG](CHANGELOG.md)。
151
+
152
+ ## 使用范围与许可
153
+
154
+ 计算验证关注历法、规则与数值的一致性;传统解释及分数是文化参考,分数不代表现实成功概率。规则来源、三端一致、黄金快照和真实模型对话分别提供不同证据。
155
+
156
+ 核心星盘支持本地星历与近似路径,应检查实际返回的 `chart_profile.ephemeris_model` 和 `run_metadata.engine_is_approximate`;西占推运、事件与生命周期工具缺少后端依赖时明确报错。项目包含后端、CLI 与技能资料,前端与部署控制由接入方提供。
157
+
158
+ 代码采用 [Apache-2.0](LICENSE),第三方组件见 [NOTICE](NOTICE);星历数据单独获取,见 [星历数据与精度](docs/getting-started.md#星历数据与精度)。
@@ -0,0 +1,113 @@
1
+ # FateBridge
2
+
3
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
4
+ [![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue.svg)](pyproject.toml)
5
+ [![CI](https://github.com/thomas-yanxin/FateBridge/actions/workflows/ci.yml/badge.svg)](https://github.com/thomas-yanxin/FateBridge/actions/workflows/ci.yml)
6
+
7
+ FateBridge 是一个可在本地运行的 Python 后端能力库,把八字、紫微、传统占术、西方占星与风水规则组织成可调用、可复算、带来源的计算接口。应用通过 REST 接入,Agent 通过 MCP 调用,脚本通过 CLI 运行;当前版本为 **0.1.0**。
8
+
9
+ 当前提供 **86 个业务 REST 路由**、**87 个 FastMCP 工具**;中央目录含 88 条记录,CLI 可执行其中87条。三端共用领域计算,名称和请求形态见 [三端能力边界](docs/api-reference.md#24-三端能力边界)。完整 **13 family / 87 工具** 清单见 [算法覆盖矩阵](docs/algorithm-coverage.md)。
10
+
11
+ ## 从这里开始
12
+
13
+ | 你的目标 | 入口 |
14
+ | --- | --- |
15
+ | 在 Codex 中直接咨询 | [Codex 使用指南](docs/codex-guide.md) |
16
+ | 安装并发起第一次调用 | [快速入门](docs/getting-started.md) |
17
+ | 接入应用或 Agent | [接入指南](docs/agent-guide.md) · [API 参考](docs/api-reference.md) |
18
+ | 按问题选择工具或场景技能 | [场景路由](docs/scenario-routing.md) · [9 个 Onda 技能](skills/README.md) |
19
+ | 修改代码、规则或文档 | [开发指南](docs/development-guide.md) · [贡献指南](CONTRIBUTING.md) |
20
+ | 升级旧版调用或排查故障 | [迁移指南](docs/migration.md) · [故障排除](docs/troubleshooting.md) |
21
+
22
+ 完整导航和各文档职责见 [文档中心](docs/README.md)。
23
+
24
+ ## 能力概览
25
+
26
+ | 领域 | 计算内容 |
27
+ | --- | --- |
28
+ | 八字与双人关系 | 命盘,事业、财运、婚姻等九项专题,双人配合、宿曜相性 |
29
+ | 时运与历法 | 大运、流年、流月、流日、流时、节气与农历 |
30
+ | 中国术数与占卜 | 紫微、奇门、六壬、太乙、金口诀、梅花、六爻及本地技法 |
31
+ | 西方占星 | 本命与流派盘、关系盘、返照、行运、主限及时主等推运 |
32
+ | 风水空间 | 八宅、金锁基础砂水、年星、玄空历史宅盘,以及按事实分层的布局与物件审查 |
33
+
34
+ 风水的输入、来源与适用范围见 [家居风水](docs/fengshui.md);各工具精度、依赖与未覆盖项目见 [算法覆盖](docs/algorithm-coverage.md)。
35
+
36
+ ## 快速开始
37
+
38
+ 需要 Python 3.10+,当前 CI 覆盖 3.10–3.13。通过 PyPI 安装:
39
+
40
+ ```bash
41
+ python -m pip install fatebridge==0.1.0
42
+ ```
43
+
44
+ 源码开发安装需要 Git,以下为 macOS / Linux 示例;Windows 和全部配置见 [快速入门](docs/getting-started.md#安装)。
45
+
46
+ ```bash
47
+ git clone https://github.com/thomas-yanxin/FateBridge.git
48
+ cd FateBridge
49
+ uv venv --python 3.12
50
+ source .venv/bin/activate
51
+ uv pip install -e .
52
+ ```
53
+
54
+ ### CLI:安装后直接调用
55
+
56
+ CLI 不需要启动服务。以下命令使用虚构体验资料:
57
+
58
+ ```bash
59
+ fatebridge describe bazi_birth --detail input
60
+ fatebridge bazi_birth --birth-year 1990 --birth-month 5 --birth-day 15 --birth-hour 10 --birth-minute 30 --gender 男 --birth-place 北京 --birth-timezone Asia/Shanghai --fields bazi_birth.day_master --strict-fields
61
+ ```
62
+
63
+ ### REST:启动后发起请求
64
+
65
+ ```bash
66
+ API_HOST=127.0.0.1 fatebridge-api
67
+ ```
68
+
69
+ 另开一个终端执行:
70
+
71
+ ```bash
72
+ curl http://localhost:8010/health
73
+ curl -X POST http://localhost:8010/api/cn/bazi/birth -H 'Content-Type: application/json' -d '{"birth_year":1990,"birth_month":5,"birth_day":15,"birth_hour":10,
74
+ "birth_minute":30,"gender":"男","birth_place":"北京",
75
+ "birth_timezone":"Asia/Shanghai","use_true_solar_time":true}'
76
+ ```
77
+
78
+ 交互文档位于 `http://localhost:8010/docs`。独立命盘数据位于 `bazi_birth`;配置了 `FATEBRIDGE_API_KEYS` 时,业务请求还需密钥头。监听地址默认 `0.0.0.0`,本机使用以上命令限制到 `127.0.0.1`;配置与部署说明见 [快速入门](docs/getting-started.md#配置环境变量) 和 [安全策略](SECURITY.md)。
79
+
80
+ ### MCP:交给 host 启动
81
+
82
+ MCP 使用 stdio。先运行 `fatebridge doctor --mcp --scenario onda-shiye`,再按返回的绝对路径命令注册。完整 Codex 配置、虚构对话和连接检查见 [Codex 使用指南](docs/codex-guide.md)。
83
+
84
+ ## 调用与结果
85
+
86
+ - 用 `fatebridge discover --family bazi` 或 REST `/api/tools?detail=summary&family=bazi` 筛选能力,再读取所选工具契约。已知 Schema 时可直接调用。
87
+ - 成功结果默认带 `run_metadata`,记录工具、时间和计算口径;复现还需保存原输入与运行环境。
88
+ - 用 `fields` 控制响应体积,`strict_fields=true` 拒绝无效路径。MCP 默认预算 8192 字符,超限后通过 `result_delivery` 读取同一次结果。
89
+ - **需要完整 JSON 或全部时间线时,首次调用 `fields=null`**,再按 [完整结果交付](docs/agent-guide.md#完整结果交付与同次导出) 保存与校验;摘要投影无法恢复未选字段。
90
+
91
+ 字段、错误与端口差异见 [API 参考](docs/api-reference.md),Python / JavaScript 客户端例子见 [接入指南](docs/agent-guide.md)。
92
+
93
+ ## 开发与验证
94
+
95
+ 源码位于 `src/fatebridge/`;中央目录装配领域声明,REST / MCP / CLI 共用服务与算法。[架构说明](docs/architecture.md) 介绍调用链与模块职责。
96
+
97
+ 安装开发依赖后运行:
98
+
99
+ ```bash
100
+ uv pip install -e ".[dev]"
101
+ python scripts/check_docs.py
102
+ python -m pytest -q tests/test_doc_tool_counts.py tests/test_scenario_routing_coverage.py
103
+ ```
104
+
105
+ 代码变更还需运行领域测试与 CI 对应检查,命令见 [开发指南](docs/development-guide.md)。提交方式见 [贡献指南](CONTRIBUTING.md),版本变化见 [CHANGELOG](CHANGELOG.md)。
106
+
107
+ ## 使用范围与许可
108
+
109
+ 计算验证关注历法、规则与数值的一致性;传统解释及分数是文化参考,分数不代表现实成功概率。规则来源、三端一致、黄金快照和真实模型对话分别提供不同证据。
110
+
111
+ 核心星盘支持本地星历与近似路径,应检查实际返回的 `chart_profile.ephemeris_model` 和 `run_metadata.engine_is_approximate`;西占推运、事件与生命周期工具缺少后端依赖时明确报错。项目包含后端、CLI 与技能资料,前端与部署控制由接入方提供。
112
+
113
+ 代码采用 [Apache-2.0](LICENSE),第三方组件见 [NOTICE](NOTICE);星历数据单独获取,见 [星历数据与精度](docs/getting-started.md#星历数据与精度)。
@@ -0,0 +1,115 @@
1
+ # setuptools>=77 is required for the PEP 639 SPDX ``license``/``license-files``
2
+ # expression used below (older setuptools rejects the string form).
3
+ [build-system]
4
+ requires = ["setuptools>=77.0.0", "wheel"]
5
+ build-backend = "setuptools.build_meta"
6
+
7
+ [project]
8
+ name = "fatebridge"
9
+ # Single source of truth: src/fatebridge/__init__.py::__version__. REST (api.py),
10
+ # MCP (mcp_server.py) and the packaging metadata all read that one value.
11
+ dynamic = ["version"]
12
+ description = "FateBridge - A Model Context Protocol (MCP) server bridging ancient Chinese fortune telling wisdom with modern technology"
13
+ authors = [{name = "thomas-yanxin", email = "yx20001210@163.com"}]
14
+ # PEP 639: SPDX expression + explicit license files (LICENSE + NOTICE, the
15
+ # latter required by Apache-2.0 §4d). The old ``License ::`` classifier is
16
+ # intentionally dropped — setuptools>=77 rejects it alongside an SPDX string.
17
+ license = "Apache-2.0"
18
+ license-files = ["LICENSE", "NOTICE"]
19
+ readme = "README.md"
20
+ requires-python = ">=3.10"
21
+ classifiers = [
22
+ "Development Status :: 4 - Beta",
23
+ "Intended Audience :: Developers",
24
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
25
+ "Topic :: Software Development :: Libraries :: Python Modules",
26
+ "Typing :: Typed",
27
+ "Programming Language :: Python :: 3",
28
+ "Programming Language :: Python :: 3.10",
29
+ "Programming Language :: Python :: 3.11",
30
+ "Programming Language :: Python :: 3.12",
31
+ "Programming Language :: Python :: 3.13",
32
+ ]
33
+ dependencies = [
34
+ "fastapi>=0.110.1",
35
+ "fastmcp>=3.4.2",
36
+ # The predictive adapter and numerical fixtures target Kerykeion 5.
37
+ # Version 6 changes return calculations and bundled ephemeris data layout.
38
+ "kerykeion>=5.5.0,<6",
39
+ "lunardate>=0.2.2",
40
+ "packaging>=23.0", # doctor checks installed dependency version constraints
41
+ "pydantic>=2.0.0",
42
+ "pyswisseph>=2.10.0",
43
+ "python-dateutil>=2.8.0",
44
+ "python-multipart>=0.0.9",
45
+ "pytz>=2024.1",
46
+ "uvicorn>=0.27.0",
47
+ ]
48
+
49
+ [project.optional-dependencies]
50
+ dev = [
51
+ "jsonschema>=4.20.0", # validate published output contracts in transport tests
52
+ "pytest>=7.0.0",
53
+ "pytest-asyncio>=0.21.0",
54
+ "black>=23.0.0",
55
+ "isort>=5.12.0",
56
+ "mypy>=1.5.0",
57
+ "pyyaml>=6.0", # test_skills_interface_contract parses agents/interface.yaml
58
+ ]
59
+
60
+ [project.urls]
61
+ Homepage = "https://github.com/thomas-yanxin/FateBridge"
62
+ Repository = "https://github.com/thomas-yanxin/FateBridge"
63
+ Issues = "https://github.com/thomas-yanxin/FateBridge/issues"
64
+ Changelog = "https://github.com/thomas-yanxin/FateBridge/blob/master/CHANGELOG.md"
65
+
66
+ [project.scripts]
67
+ fatebridge = "fatebridge.cli:main"
68
+ fatebridge-api = "fatebridge.api:main"
69
+ fatebridge-mcp = "fatebridge.mcp_server:main"
70
+
71
+ [tool.setuptools.dynamic]
72
+ version = {attr = "fatebridge.__version__"}
73
+
74
+ [tool.setuptools.packages.find]
75
+ where = ["src"]
76
+ include = ["fatebridge*"]
77
+
78
+ # packages.find discovers *code* only. The engines load their reference data at
79
+ # runtime via ``Path(__file__).parents[1] / "data" / ...`` (canping, heluo,
80
+ # knowledge_store), so the JSON payloads MUST be declared here or an installed
81
+ # wheel raises FileNotFoundError. ``py.typed`` ships the PEP 561 typed marker.
82
+ [tool.setuptools.package-data]
83
+ fatebridge = ["py.typed", "data/**/*.json"]
84
+
85
+ [tool.pytest.ini_options]
86
+ testpaths = ["tests"]
87
+
88
+ [tool.black]
89
+ line-length = 88
90
+ target-version = ['py310']
91
+
92
+ [tool.isort]
93
+ profile = "black"
94
+ multi_line_output = 3
95
+
96
+ [tool.mypy]
97
+ python_version = "3.10"
98
+ warn_return_any = true
99
+ warn_unused_configs = true
100
+ disallow_untyped_defs = true
101
+
102
+ [[tool.mypy.overrides]]
103
+ module = [
104
+ "dateutil",
105
+ "dateutil.*",
106
+ "fastmcp",
107
+ "fastmcp.*",
108
+ "kerykeion",
109
+ "lunardate",
110
+ "lunardate.*",
111
+ "pytz",
112
+ "swisseph",
113
+ "yaml",
114
+ ]
115
+ ignore_missing_imports = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,25 @@
1
+ """
2
+ FateBridge - Fortune Telling System
3
+
4
+ A backend-only Python toolkit bridging Chinese metaphysics, divination and
5
+ offline Western astrology. The same domain capabilities are exposed through
6
+ three interfaces (FastAPI REST, FastMCP, and the ``fatebridge`` CLI), all
7
+ derived from a single central tool catalog
8
+ (``fatebridge.services.tool_catalog``).
9
+
10
+ See the docs/ directory for the full algorithm coverage matrix and the
11
+ developer / Agent integration guide.
12
+
13
+ Public API
14
+ ----------
15
+ FateBridge is consumed through its three transports rather than as a library of
16
+ importable functions. The programmatic entry point is the central tool catalog
17
+ ``fatebridge.services.tool_catalog`` (every REST route, MCP tool and CLI
18
+ subcommand is derived from it). This top-level module intentionally exposes only
19
+ metadata; deeper capabilities live under ``fatebridge.services`` / ``.core``.
20
+ """
21
+
22
+ __version__ = "0.1.0"
23
+ __author__ = "thomas-yanxin"
24
+
25
+ __all__ = ["__version__", "__author__"]
@@ -0,0 +1 @@
1
+ """FateBridge analysis modules."""