Skip to content

kentang2017/kinastro

Repository files navigation

⭐ 堅占星 KinAstro|八十八體系占星

KinAstro Version Systems Repo Size Python Streamlit FastAPI Swiss Ephemeris License

八十八體系占星排盤系統 — 中國・紫微斗數・策天飛星・十二星次・達摩一掌經・太玄數・五運六氣・萬化仙禽・六壬祿命・太乙命法・奇門祿命・六爻終身卦・鐵板神數・邵子神數・皇極經世・鬼谷分定經・滌器遺訣・北極神數・南極神數・子平八字・蠢子數・開元占經・韓國・土亭數・高棉・Reamker 占星・西洋・宇宙生物學・出生時間校正・天王星漢堡學派・Sabian 符號・Astrocartography・凱爾特樹木曆・希臘・和諧占星・古典主限推運・赫密士前世盤・靈性占星・人間圖・世俗占星・弗拉德命運輪盤・煉金占星・印度・Jaimini・納迪・KP 克里希納穆提・紅皮書 Lal Kitab・吠陀風水・宿曜道・泰國・緬甸・巴厘 Wariga・爪哇 Weton・馬來伊斯蘭占星(Bintang Duabelas/十二星)・馬來七星五刻占卜 Kinketika・蒙古祖爾海・藏傳時輪金剛・九星氣學・卡巴拉・猶太 Mazzalot・阿拉伯・Picatrix 占星魔法・也門・薩珊波斯・薩珊波斯進階版・柏柏爾占星・衣索比亞 Bahre Hasab・地占占星・瑪雅・安地斯・多貢天狼星宇宙學・阿茲特克・古埃及十度區間・巴比倫・蘇美/美索不達米亞・伊特魯里亞占星・亞美尼亞占星・波利尼西亞/夏威夷・拜占庭占星・醫學占星・傷寒鈐法・傳統卜卦占星・運動占星・歐洲地占・擇日占星 88-System Astrology Platform — Chinese, Zi Wei, Ce Tian Flying Stars, Twelve Ci (Jupiter Stations), Damo One Palm Scripture, Tai Xuan Shu, Wu Yun Liu Qi, WanHua XianQin, Da Liu Ren, Taiyi Life Method, Qimen Destiny, Lifetime Liu Yao, Tie Ban Shen Shu, Shao Zi Shen Shu, Huangji Jingshi, Ghost Valley Fen Ding Jing, Diqiyijue, Beiji Shenshu, Nanji Shenshu, Ziping Bazi, ChunZiShu, Kaiyuan Zhanjing, Korean Tojeong, Khmer Reamker, Western, Cosmobiology (Ebertin), Rectification, Uranian (Hamburg School), Sabian Symbols, Astrocartography, Celtic Tree Calendar, Hellenistic, Harmonic Astrology, Primary Directions, Trutine of Hermes, Esoteric Astrology (Seven Rays), Human Design, Mundane Astrology, Fludd Rota Simulator, Alchemical Astrology, Vedic, Jaimini, Nadi, KP Krishnamurti Paddhati, Lal Kitab, Vastu Shastra, Sukkayodo, Thai, Myanmar, Balinese Wariga, Javanese Weton, Bintang Duabelas (Twelve Stars), Kinketika (Malay Time Divination), Mongolian Zurkhai, Tibetan Kalachakra, Nine Star Ki, Kabbalah, Jewish Mazzalot, Arabic (incl. Picatrix & Shams al-Maʻrif), Picatrix Star Magic, Yemeni Rasulid, Sassanian Persian, Sassanian Persia (Advanced), Amazigh (Berber) Astrology, Ethiopian Bahre Hasab, Astronomical Geomancy, Maya, Andean Cosmology, Dogon Sirius Cosmology, Aztec, Egyptian Decans, Babylonian, Sumerian / Mesopotamian, Etruscan Astrology, Armenian Astrology, Polynesian / Hawaiian Star Lore, Byzantine Astrology, Medical Astrology (Iatromathematics), Shanghan Qianfa, Traditional Horary Astrology, Sports Astrology (Frawley), European Geomancy, Electional Astrology / Muhurta


📑 目錄 | Table of Contents


✨ 特色亮點 | Highlights

中文 English
🔮 八十八體系合一 在同一個介面中切換八十八種占星體系,無需來回切換工具 Switch between 88 astrology systems in one unified interface
🪐 精密天文計算 使用瑞士星曆表 (Swiss Ephemeris) pyswisseph 進行高精度天文計算 High-precision astronomical calculations powered by Swiss Ephemeris (pyswisseph)
🤖 AI 智慧分析 整合 Cerebras AI,一鍵生成命盤深度解讀報告 Integrated Cerebras AI for one-click in-depth chart analysis
🌏 全球化支援 內建全球多個主要城市,亦支援自訂經緯度即時排盤 Built-in global city presets with custom latitude/longitude support
🌐 中英雙語 介面支援中文與英文切換 Full Chinese and English bilingual interface
🎨 彩色互動介面 Streamlit 驅動的現代化 Web UI,響應式排盤結果 Modern interactive Web UI powered by Streamlit
📱 響應式設計 適配桌面與移動設備,隨時隨地查閱星盤 Responsive design for desktop and mobile devices
🔌 REST API FastAPI 後端提供所有體系的 JSON 計算 API,可獨立部署 FastAPI backend providing JSON computation APIs for all systems
💾 儲存與匯出 儲存/載入排盤參數,支援 TXT、CSV、PDF 匯出 Save/load chart parameters, export to TXT, CSV, PDF
🆓 開源免費 MIT 授權,完整原始碼可自由使用與擴展 Open-source under MIT License, free to use and extend

🧱 統一模型層 | Unified Model Layer

Phase 1 introduces a shared Pydantic v2 model layer in astro/models.py so systems can converge on one trustworthy interface without breaking existing Streamlit renderers.

  • BirthData validates date, time, timezone, latitude, longitude, and gender
  • BaseChartResult provides common chart fields and a system_specific escape hatch for traditions that need richer custom payloads
  • WesternChartResult and ZiweiChartResult are the first unified adapters
  • astro.compute_chart(system, birth_data) is the new foundation entry point for typed multi-system computation

This layer is currently additive: legacy compute functions still work, while new integrations can opt into the unified models by calling the new entrypoint or using as_model=True on the adapted systems.


🌙 紫微曆法精度 | Ziwei Calendar Accuracy

KinAstro now supports two Ziwei lunar-conversion paths:

  • Legacy compatibility path: the original lookup-table/approximation logic remains available for existing UI flows and backward compatibility
  • Astronomical model path: compute_ziwei_chart(..., as_model=True) and astro.compute_chart("ziwei", BirthData(...)) use Swiss Ephemeris to derive lunar months from precise new moons and principal solar terms (中氣)

The astronomical path follows the standard Chinese lunisolar rule set:

  1. Consecutive new moons define lunar month boundaries
  2. The month containing the winter solstice is treated as lunar month 11
  3. If a solstice-to-solstice span contains 13 lunar months, the first month without a principal term is marked as the leap month

This path is the recommended basis for professional-grade Ziwei calculation. The current validation target is 1800–2200; results outside that band are flagged for manual verification against an external almanac or ephemeris.


🪷 解讀系統 Phase 3 | Interpretation System

KinAstro now includes a dedicated structured Ziwei interpretation layer under astro/interpretation/:

  • astro/interpretation/ziwei.py builds a traditional template-first reading with explicit sections for 命宮、身宮、四化、星曜組合、 and 大限
  • astro/interpretation/ziwei_prompt_templates.py provides reusable Ziwei-specific prompts and few-shot examples for future multi-system prompt expansion
  • astro/interpretation/providers.py adds a thin provider abstraction so the same interpretation flow can target Cerebras or a local Ollama server

In app.py, Ziwei now exposes:

  1. Traditional mode – fully local, rule-based output without LLM calls
  2. Hybrid mode – traditional scaffold plus AI enhancement
  3. AI Only mode – same structured pipeline, reserved for stronger future RAG/LLM emphasis

The final interpretation is stored as editable markdown in the UI so users can revise or export it before generating reports.


📄 PDF 報告生成 Phase 4 | PDF Report Generation

KinAstro now includes a professional Ziwei PDF reporting stack under astro/report/:

  • astro/report/pdf_generator.py uses reportlab for page layout, header, footer, branded sections, and printable PDF assembly
  • astro/report/templates/ziwei.py provides the first production template, configurable report options, and a dedicated Pillow-based palace-grid PNG renderer optimized for export
  • generate_pdf_report("ziwei", ...) accepts ZiweiChartResult and ZiweiInterpretationResult directly, so the PDF uses structured fields such as Summary, 命宮分析, 身宮分析, 四化影響, 星群組合, 大限概述, AI notes, and the editable final interpretation

In the Streamlit Ziwei interpretation panel, users can now:

  1. Select the report template
  2. Choose whether AI-enhanced notes are included
  3. Preview the printable chart image
  4. Download a client-ready PDF directly

The implementation keeps TXT/CSV and other export paths untouched while adding a higher-quality PDF workflow for professional consultation delivery.


🧭 體系總覽 | Systems at a Glance

💡 體系按分類顯示:熱門 → 三式 → 中國 → 西方 → 印度 → 亞洲 → 中東 → 非洲 → 隱祕與原民傳統 → 古代文明 → 醫占 (含拜占庭占星) → 傳統卜卦占星 → 擇日占星;目前清單已與側邊欄同步,納入皇極經世(Huangji Jingshi)、伊諾克占星(Enochian Astrology)、所羅門占星(Goetia / Solomonic Astrology)、馬來伊斯蘭占星 Bintang Duabelas(十二星)、馬來 Ilmu Nujum、馬來七星五刻占卜 Kinketika、地占占星(Astronomical Geomancy)、伊特魯里亞占星(Etruscan Astrology)、吠陀風水(Vastu Shastra)、歐洲地占(European Geomancy)、弗拉德命運輪盤(Fludd Rota Simulator)、煉金占星(Alchemical Astrology)、衣索比亞 Bahre Hasab(Ethiopian Bahre Hasab)、亞美尼亞占星(Armenian Astrology)、拿破崙命運之書(Napoleon's Book of Fate)與運動占星(Sports Astrology)

Systems displayed by category: Popular → Three Formulae → Chinese → Western → Indian → Asian → Middle East → Africa → Obscure & Indigenous → Ancient → Medical Astrology (incl. Byzantine Astrology) → Traditional Horary → Electional; the list is now aligned with the sidebar and includes Huangji Jingshi, Enochian Astrology, Goetia / Solomonic Astrology, Bintang Duabelas (Twelve Stars), Malay Ilmu Nujum, Kinketika (Malay Time Divination), Astronomical Geomancy, Etruscan Astrology, Vastu Shastra, European Geomancy, Fludd Rota Simulator, Alchemical Astrology, Ethiopian Bahre Hasab, Armenian Astrology, Napoleon's Book of Fate, and Sports Astrology (Frawley)

# 體系 System 黃道 Zodiac 子功能 Sub-features
⭐ 熱門 Popular
1 🌍 西洋占星 Western 回歸 Tropical 本命盤・行星過運・太陽回歸・合盤比較・Ptolemy 尊貴
2 🌟 紫微斗數 Zi Wei 農曆 Lunar 十四主星・十二宮位・五行局
🔮 三式 Three Formulae
3 🔮 六壬祿命 Da Liu Ren 農曆 Lunar 天地盤・四課・三傳・十二宮・論命分析・響應式手機版
4 🌟 太乙命法 Taiyi 農曆 Lunar 命宮身宮・十二宮・陽九百六行限・出身卦・五柱卦象
5 🔮 奇門祿命 Qimen Destiny 農曆 Lunar 奇門遁甲局・六親分析・八門八神九星・格局推斷
🀄 中國 Chinese
6 🔮 鬼谷分定經 Ghost Valley Fen Ding Jing 農曆 Lunar 兩頭鉗・天干排盤・十二宮・星曜・格局斷語
7 🔢 鐵板神數 Tie Ban Shen Shu 農曆 Lunar 八卦加則・安命安身・考刻分・條文查詢・萬千百十號
8 🔯 邵子神數 Shao Zi Shen Shu 農曆 Lunar 洛書九宮起集・後天八卦配卦・四位條文號・64鑰匙細調
9 🏮 皇極經世 Huangji Jingshi 農曆 Lunar 邵雍元會運世體系・先天四卦・歷史朝代年表・跨體系時間主對照
10 🀄 七政四餘 Chinese 恆星 Sidereal 本命盤・神煞・年限大運・流時對盤・張果星宗・擇日
11 🐦‍⬛ 萬化仙禽 WanHua XianQin 農曆 Lunar 二十八宿禽星・十二宮・吞啗合戰・相胎賦・貴賤格
12 🔢 十二星次 Twelve Ci 回歸 Tropical 木星分野・十二次環形盤・歲星方位
13 🌠 策天飛星 Ce Tian 農曆 Lunar 十八飛星・十一正曜七副曜・飛星四化・單宮獨斷
14 🖐️ 達摩一掌經 Damo 農曆 Lunar 十二宮掌紋・前世今生六道・四柱星宮・互動手掌 SVG
15 ☰ 太玄數占星 Tai Xuan Shu 農曆 Lunar 揚雄《太玄》八十首・干支七政・四柱聯動・本命問卜
16 🌿 五運六氣 Wu Yun Liu Qi 農曆 Lunar 五運・六氣・主運客運・主氣客氣・司天在泉・運氣格局
17 🔯 六爻終身卦 Lifetime Liu Yao 農曆 Lunar 納甲排盤・六親六神・大限流年・合婚分析・終身本命推命
18 ⭐ 北極神數 Beiji Shenshu 農曆 Lunar 北斗七星破軍星・奇門九星・六十四卦・二十八宿・區分同八字異命
19 ☰ 南極神數 Nanji Shenshu 農曆 Lunar 四柱八字・二十八宿・建除十二辰・246條手稿條文・五大神數之一
20 🀄 子平八字 Ziping Bazi 農曆 Lunar 四柱八字・十神格局・用神・大運・傳統水墨命盤 SVG
21 🌀 滌器遺訣 Diqiyijue 農曆 Lunar 邵子氣數・三大分析分頁・流年推演・古訣對照
22 ☵ 蠢子數 ChunZiShu 農曆 Lunar 二十八宿・七政四餘・度數詩詞・4574 筆命例・女命婚姻子息推算
23 📜 開元占經 Kaiyuan Zhanjing 農曆 Lunar 唐代《開元占經》・五星二十八宿・月占與日食占・五音占候
🏛️ 西方 Western
24 🏺 希臘 Hellenistic 回歸 Tropical Greek Lots・Egyptian Bounds・Profections・Zodiacal Releasing・擴充 Lots・Valens Synkrasis・百論
25 ✡ 卡巴拉 Kabbalah 回歸 Tropical 生命之樹・希伯來字母・塔羅
26 ✡ 猶太 Mazzalot 恆星 Sidereal 大衛之星盤・十二支派・Sefer Yetzirah 字母
27 🗺️ Astrocartography 地點占星 回歸 Tropical AC/MC/IC/DC 搬遷線・互動 Plotly 地圖・過運搬遷線
28 ♅ 天王星漢堡學派 Uranian 回歸 Tropical 8 超海王星虛點・90° 度盤・中點樹・行星圖像
29 🌟 Sabian Symbols 回歸 Tropical 360 度符號・Marc Edmund Jones 原著・SVG 視覺化・關鍵字解讀
30 🌳 凱爾特樹木曆 Celtic Tree Calendar 回歸 Tropical 13 月樹曆・Beth-Luis-Nion 體系・歐甘文字・凱爾特守護樹
31 🔬 宇宙生物學 Cosmobiology (Ebertin) 回歸 Tropical Ebertin 中點樹・90° 轉盤・COSI 行星組合詮釋・合盤比對
32 🔮 出生時間校正 Rectification 回歸 Tropical 初級方向・太陽弧・次進法・流年小限・黃道釋放・加權評分
33 🎵 和諧占星 Harmonic Astrology 回歸 Tropical John Addey 諧波・H5 才能・H7 靈性・H9 進化・神聖幾何曼陀羅
34 ⚷ 古典主限推運 Primary Directions 回歸 Tropical Placidus 世間主限・Ptolemy 黃道主限・奈包德時間鍵・順向/逆向主限
35 ☿ 赫密士前世盤 Trutine of Hermes 回歸 Tropical 托勒密《百句箴言》・出生前世盤・月亮↔上升互換・靈魂入身印記
36 ✨ 靈性占星 Esoteric Astrology (Seven Rays) 回歸 Tropical Alice Bailey 七道光線・靈魂光線・靈性統治星・七芒星曼陀羅
37 🔮 伊諾克占星 Enochian Astrology 回歸 Tropical 30 以太層・四守望塔・守護天使・Sigillum Dei Aemeth・天使魔法
38 ⬡ 所羅門占星 Goetia / Solomonic Astrology 回歸 Tropical 72 靈體對應・本命行星映射・印記圖像・儀式選時・召喚/遣返指引
39 ☯ 人間圖 Human Design 回歸 Tropical Ra Uru Hu・類型/策略/權威・九大中心・BodyGraph・閘門/通道
40 🌍 世俗占星 Mundane Astrology 回歸 Tropical 國家/城市星盤・Ingress 季節盤・日月食政治事件・世界大事週期分析
41 ⚙ 弗拉德命運輪盤 Fludd Rota Simulator 回歸 Tropical 文藝復興同心圓命運輪盤・四環旋轉機制・行星度數驅動
42 ⚗️ 煉金占星 Alchemical Astrology 回歸 Tropical 帕拉塞爾蘇斯傳統・七大行星金屬草藥礦物對應・符號論・四大煉金階段・Opus Magnum
🪷 印度 Indian
43 🙏 印度占星 Vedic 恆星 Sidereal 星座盤・大運 Dasha・Ashtakavarga・Yogas・BPHS・Varga 分盤
44 🔱 納迪 Nadi 恆星 Sidereal 三大脈輪・27 星宿・納迪宮分
45 🕉️ 闍彌尼 Jaimini 恆星 Sidereal Chara Karaka・Rashi Drishti・Argala・Arudha Pada・Chara Dasha
46 🔮 KP 占星 Krishnamurti Paddhati 恆星 Sidereal Rasi/Star/Sub Lords・Ruling Planets・Significators・Horary 問卜・北印度鑽石盤
47 📕 紅皮書占星 Lal Kitab 恆星 Sidereal 業力化解 Upay・十二宮祕方・行星補救・35 年生命週期・手紋
48 🪔 吠陀風水 Vastu Shastra 恆星 Sidereal 八方位吉凶・Vastu Purusha Mandala・五行平衡・空間評分
🌏 亞洲 Asian
49 🈳 宿曜道 Sukkayodo 恆星 Sidereal 二十八宿・六曜・方盤
50 🐘 泰國占星 Thai 恆星 Sidereal 泰式盤面・九宮格占卜・พรหมชาติ
51 🐉 老撾占星 Laos Horasat 恆星 Sidereal 老撾曆法・生肖命理・星曜主宰・吉日推算
52 🇲🇲 緬甸 Mahabote 星期制 Weekday 八方位・七宮・行星大運
53 🏝️ 巴厘 Wariga 巴厘曆 Wuku Wuku 210 天週期・Wewaran 九層週期・Neptu 數值・吉凶判斷
54 🇲🇳 祖爾海 Zurkhai 藏曆 Tibetan 12 生肖・五行・擇吉
55 🏔️ 藏傳時輪金剛 Tibetan 藏曆 Tibetan Mewa 九宮・Parkha 八卦・五力系統・時輪金剛曼荼羅
56 🌟 九星氣學 Nine Star Ki 洛書 Lo Shu 本命星・月命星・日命星・五行・洛書九宮・相性分析
57 🔮 土亭數 Tojeong Shu 農曆 Lunar 先天數後天數・格局代碼・129 格局斷語・三元
58 🇰🇭 高棉占星 Khmer Astrology 數理 Numerology Reamker 史詩・32 格預言・八大命主・羅摩之箭・bè 祭壇儀式
59 🏺 爪哇 Weton / Primbon 爪哇曆 Javanese Saptawara×Pancawara・Neptu 值・合婚計算・35 天 Weton 週期・Primbon 本命詳解
60 ⭐ 馬來伊斯蘭占星 Bintang Duabelas(十二星) 數理 Numerology Jawi Abjad・Hisab Nama・十二星宮・行星時辰・Azimat
61 🧭 馬來 Ilmu Nujum(八風・七星・龍行) 數理/方位 八風定向・Bintang Tujuh 七星・龍行週期・馬來手稿傳統・行旅/擇時判讀
62 🌙 馬來七星五刻占卜 Kinketika (Malay Time Divination) 數理/時辰 Ketika Lima 五時刻・Bintang Tujuh 七星時刻・Baik/Nahas/Sederhana 三判斷・活動規劃器
63 🌺 波利尼西亞/夏威夷 Polynesian / Hawaiian 恆星 Sidereal 星辰知識・32 方位羅盤・Hōkūleʻa 守護宮位・導航星術
☪ 中東 Middle East
64 ☪ 阿拉伯 Arabic 回歸 Tropical 阿拉伯點・Picatrix 星體魔法・太陽知識大全・MS164 手稿
65 🕌 也門 Yemeni 恆星 Sidereal 28 月宿護符魔法・Anwāʼ 天氣預兆・Firdaria 週期
66 🏛️ 薩珊波斯 Sassanian Persian 恆星 Sidereal 菱形 12 宮星盤・Firdar 生命週期・Hyleg/Alcocoden・皇家恆星・Profections・Almuten・阿拉伯點
67 🏛️ 薩珊波斯進階版 Sassanian Persia (Advanced) 恆星 Sidereal 正確 Firdaria 序列・Hyleg/Alcocoden 三範圍・多德卡特摩里亞・反射點・14 阿拉伯點
68 ✦ Picatrix 占星魔法 Picatrix Star Magic 回歸 Tropical 15 顆 Behenian 根源恆星・護符圖像・寶石草藥・星盤激活偵測
69 ⵣ 柏柏爾占星 Amazigh Astrology 恆星 Sidereal 七曜・固定星・Lots 命運點・四方位季節象徵・北非柏柏爾星空傳統
70 🔮 地占占星 Astronomical Geomancy 隨機點數・16 地占圖形・12 宮排列・占星格局判斷
🌍 非洲 Africa
71 🇪🇹 衣索比亞 Bahre Hasab 衣索比亞曆 Ethiopian 衣索比亞傳統曆法・太陽月亮週期・節日計算・聖徒紀念日・科普特傳統
72 🜂 多貢天狼星宇宙學 Dogon Sirius Cosmology 文化宇宙學 Cosmology Sirius A/B/C(Po Tolo/Emme Ya)・Sigui 50 年週期・跨文化比較
🜁 隱祕與原民傳統 Obscure & Indigenous
73 ✶ 亞美尼亞占星 Armenian Astrology 回歸 Tropical Armenian Zodiac 名稱・Haykian 古曆換算・Orion/Hayk 可見度・祖靈命運關鍵詞・Natal/Transit/Solar Return
🏺 古代文明 Ancient
74 🏺 瑪雅 Maya 瑪雅曆 Maya Cal. Tzolkin・Haab・Long Count
75 🌿 印加/安地斯占星 Andean Cosmology 文化宇宙學 Cosmology Ceque 聖地線路・南十字 Chakana・昴宿星農曆觀測
76 🦅 阿茲特克 Aztec 阿茲特克曆 Tonalpohualli・Trecena・守護神祇
77 🏛️ 古埃及 Decans 回歸 Tropical 36 Decans・塔羅・Dendera 輪盤圖
78 🏛️ 巴比倫 Babylonian 恆星 Sidereal MUL.APIN 星表・K.8538 星盤・Enūma Anu Enlil 預兆
79 𒀭 蘇美/美索不達米亞 Sumerian / Mesopotamian 恆星 Sidereal MUL.APIN 星表・Enūma Anu Enlil 預兆・K.8538 尼尼微星盤・七大行星神
80 🏺 伊特魯里亞占星 Etruscan Astrology 皮亞琴察青銅肝臟・天宮十六區(Templum XVI)・閃電占卜・haruspicy
⚕️ 醫占 Medical Astrology
81 ✚ 拜占庭占星 Byzantine Astrology 回歸 Tropical 政治星盤(皇帝・城市・宗教)・地震占・月行占・雷鳴占・基督教占星融合・赫費斯提翁傳統
82 ⚕️ 醫學占星 Medical Astrology 回歸 Tropical 黃道人體質分析・四液質・埃及三十六旬星身體對照・療癒擇時・疾病危機日計算
83 🌿 傷寒鈐法 Shanghan Qianfa 農曆 Lunar 六經辨證・干支鈐法推算・六經歸屬・經方推薦・傳經預後
📜 傳統卜卦占星 Traditional Horary Astrology
84 👑 拿破崙命運之書 Napoleon's Book of Fate 16 題×16 數字命運占問・字母神諭表・書占決疑・經典 fortune-book 傳統
85 📜 傳統卜卦占星 Traditional Horary 回歸 / 恆星 西洋卜卦(Lilly/Bonatti)・吠陀問卜(Prashna Marga)・嚴格限制(Strictures)・應期推算・問題徵象主・問卜星盤
86 🏟️ 運動占星 Sports Astrology 回歸 Tropical Frawley 運動問卜法・1/7宮勝負判斷・Event Chart・球隊本命對照・爆冷指標・概率化勝負傾向
87 🜃 歐洲地占 European Geomancy 16 地占圖形・Shield Chart・House Chart・Judge 判決位
⏳ 擇日 Electional
88 ⏳ 擇日占星 Electional / Muhurta 回歸 / 恆星 西方 Lilly/Bonatti 擇日・行星時・吠陀五曆・婚姻擇日・Panchanga・最佳吉時搜尋

🔍 各體系詳細介紹 | System Details

💡 點擊展開各體系的詳細介紹 / Click to expand each system's details

🀄 七政四餘(中國傳統占星)| Chinese Traditional Astrology

中國千年傳承的占星術,以恆星黃道為基礎。

Ancient Chinese astrology with a thousand-year heritage, based on the sidereal zodiac.

  • 七政 / Seven Governors:太陽、太陰(月亮)、水星、金星、火星、木星、土星 — Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn
  • 四餘 / Four Extras:羅睺(北交點)、計都(南交點)、月孛(遠地點)、紫氣 — Rahu (North Node), Ketu (South Node), Yuebei (Apogee), Ziqi
  • 十二宮 / Twelve Houses:命宮、財帛宮、兄弟宮、夫妻宮、子女宮、僕役宮 etc.
  • 二十八宿 / 28 Mansions:東方青龍、北方玄武、西方白虎、南方朱雀 — Azure Dragon, Black Tortoise, White Tiger, Vermilion Bird
  • 十二星次 / Twelve Jupiter Stations:星紀、玄枵、娵訾、降婁、大梁、實沈 etc.
  • 相位 / Aspects:合、沖、刑、三合、六合 — Conjunction, Opposition, Square, Trine, Sextile
  • 金融占星 / Financial Astrology:新增七政四餘金融占星,整合江恩理論(Gann Theory)用於宏觀股市週期與共振分析 — Added Seven-Luminaries financial astrology with Gann Theory for macro stock-cycle and resonance analysis
📂 六個子分頁 | 6 Sub-tabs
子分頁 功能
本命盤 二十八宿環形盤面、八字四柱、行星表、宮位表、相位摘要
神煞 30+ 神煞(天乙貴人、文昌星、驛馬等)、十二長生
年限大運 行星主運週期,以命宮地支與性別推算
流時對盤 自選日期時間的流時盤與本命盤對照
張果星宗 星入宮位解讀(1060 條星宮語句)、128 星組格局
擇日 天干地支評分的日期挑選工具

🌟 紫微斗數(Zi Wei Dou Shu)

中國傳統命理學最重要的排盤體系之一,相傳由陳希夷整理創立。

One of the most important Chinese traditional fortune-telling systems, attributed to Chen Xiyi.

  • 十四主星 / 14 Major Stars:紫微、天機、太陽、武曲、天同、廉貞;天府、太陰、貪狼、巨門、天相、天梁、七殺、破軍
  • 十二宮位 / 12 Palaces:命宮、兄弟宮、夫妻宮、子女宮、財帛宮、疾厄宮、遷移宮、交友宮、官祿宮、田宅宮、福德宮、父母宮
  • 五行局 / Five Element Groups:水二局、木三局、金四局、土五局、火六局
  • 農曆排盤 / Lunar Calendar:以農曆生辰(年、月、日、時辰)為基礎 — Chart based on lunar birth date and time
🌠 策天飛星紫微斗數(Ce Tian 18 Flying Stars)

紫微斗數的古法前身與重要分支,源自明代《十八飛星策天紫微斗數全集》。

An ancient predecessor and important branch of Zi Wei Dou Shu, from the Ming Dynasty text «Collection of Ce Tian 18 Flying Stars Zi Wei Dou Shu».

  • 十八飛星 / 18 Flying Stars:十一正曜 + 七副曜,每宮必有正副曜,不存在空宮 — 11 primary + 7 auxiliary stars, no empty palaces
  • 飛星技術 / Flying Star Technique:星曜由本宮飛入他宮,產生吉凶影響,早於後世四化飛星系統 — Stars fly from home palace to other palaces, predating the Four Transformation system
  • 單宮獨斷 / Single Palace Interpretation:以單宮解讀為主,較少使用三方四會 — Focuses on single-palace interpretation rather than trine/square groupings
  • 節氣影響 / Solar Term Effects:需計算節氣對星曜落度的影響 — Solar terms affect star placement
  • 農曆排盤 / Lunar Calendar:使用農曆新年查找表搭配朔望月計算 — Chart based on lunar new year lookup tables with synodic month calculations
🔢 十二星次(Twelve Ci / Jupiter Stations)

中國古代木星分野系統,以冬至點為黃道 0° 起點,將 360° 等分為十二次。

Ancient Chinese Jupiter-station system. Starting from the winter-solstice point as 0° ecliptic longitude, the ecliptic is divided into twelve equal 30° sections.

  • 十二星次 / Twelve Ci:星紀、玄枵、娵訾、降婁、大梁、實沈、鶉首、鶉火、鶉尾、壽星、大火、析木 — 12 Jupiter stations from Xingji to Ximu
  • 木星定位 / Jupiter Position:根據木星在回歸黃道上的實際位置判定所在星次 — Determined by Jupiter's tropical ecliptic longitude
  • 冬至起算 / Winter Solstice Origin:以冬至點(摩羯座 0°)為黃道 0° 起點 — Winter solstice (Capricorn 0°) as ecliptic origin
  • SVG 環形盤 / Wheel Chart:視覺化十二次環形盤面 — Interactive SVG wheel chart
📂 兩個子分頁 | 2 Sub-tabs
子分頁 功能
環形盤 Wheel 十二星次 SVG 視覺化環形盤面
詳細分析 Detail 木星星次歸屬、行星位置、星次解讀

🖐️ 達摩一掌經(Damo One Palm Scripture)

以左手掌十二地支為宮位,配合十二星與六道,透過年月日時四柱推算前世今生因果業力的命理系統。

A fortune-telling system using the twelve Earthly Branches on the left palm, combined with twelve stars and six realms, to deduce past-life karma through the four pillars of birth.

  • 十二宮掌位 / 12 Palm Positions:子至亥十二地支排列於左手掌 — 12 Earthly Branches arranged on the left palm
  • 十二星 / 12 Stars:天貴、天厄、天權、天破、天奸、天文、天福、天驛、天孤、天刃、天藝、天壽 — 12 destiny stars
  • 六道 / Six Realms:佛道、鬼道、人道、畜道、修羅道、仙道 — Buddha, Ghost, Human, Animal, Asura, Immortal
  • 四宮推演 / Four Palace Derivation:年宮(父母宮)→ 月宮 → 日宮 → 時宮,男順女逆 — Year → Month → Day → Hour palace, male forward / female backward
  • 互動手掌 SVG / Interactive Palm SVG:視覺化十二宮位掌圖,高亮四宮 — Interactive SVG palm chart highlighting the four palaces
  • 前世今生 / Past & Present Life:四宮各得一星一道,推斷命運因果 — Each palace receives a star and realm for karmic analysis
🌍 西洋占星(Western Astrology)

全球最流行的占星體系,以回歸黃道為基準。

The world's most popular astrology system, based on the tropical zodiac.

  • 十大星曜 / Celestial Bodies:太陽、月亮、水星、金星、火星、木星、土星、天王星、海王星、冥王星、北交點 — Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, North Node
  • 十二星座 / 12 Zodiac Signs:白羊座至雙魚座(含守護星與元素屬性)— Aries to Pisces (with ruling planets and element attributes)
  • 十二宮位 / 12 Houses:Placidus 分宮制,自動計算宮首度數 — Placidus house system with automatic cusp calculation
  • 五大相位 / 5 Major Aspects:合、沖、刑、三合、六合 — Conjunction, Opposition, Square, Trine, Sextile
  • 逆行檢測 / Retrograde Detection:自動標記逆行中的星曜 — Automatic retrograde planet labeling
  • 輪盤圖 / Wheel Chart:視覺化星盤輪圖 — Interactive visual wheel chart
📂 五個子分頁 | 5 Sub-tabs
子分頁 功能
本命盤 Natal 星盤輪圖、恆星合相(25 顆古典恆星)、小行星(Chiron、Ceres、Pallas、Juno、Vesta)、匯出 TXT/CSV/PDF
行星過運 Transit 即時過運行星與本命盤的相位分析
太陽回歸 Solar Return Newton-Raphson 精密太陽回歸盤計算
合盤比較 Synastry 雙人交叉相位、和諧分數、元素相容性分析
Ptolemy 尊貴 Dignity 行星本質尊貴表(廟、旺、界、三分、面)

🙏 印度占星 Jyotish(Vedic Astrology)

源於印度的古老占星體系,使用恆星黃道與 Lahiri 歲差。

Ancient Indian astrology system using the sidereal zodiac with Lahiri ayanamsa.

  • 九曜 Navagraha:太陽、月亮、火星、水星、木星、金星、土星、羅睺、計都 — Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu
  • 十二星座 Rashi:Mesha(白羊)至 Meena(雙魚)— Mesha (Aries) to Meena (Pisces)
  • 二十七宿 Nakshatra:Ashwini 至 Revati,每宿 13°20',各分四足 (Pada) — 27 lunar mansions, each 13°20', divided into 4 padas
  • 南印度方盤 / South Indian Chart:宮位固定・行星流動的 4×4 網格 — Fixed-house, planet-moving 4×4 grid
  • 北印度方盤 / North Indian Chart:以 Lagna 為起點的旋轉宮系統 — Lagna-based rotating house system
  • 歲差修正 / Ayanamsa Correction:內建 Lahiri Ayanamsa 自動校正
📂 六個子分頁 | 6 Sub-tabs
子分頁 功能
星座盤 Rashi 南印度 / 北印度方盤、行星配置
大運 Dasha Vimshottari 120 年大運(含 Antardasha 子期)、Yogini 36 年大運
Ashtakavarga 七行星 Bhinnashtakavarga + Sarvashtakavarga 積分表
Yogas 12 種瑜伽檢測(Gajakesari、Kemdruma、Gandanta、5 Mahapurusha 等)
BPHS Brihat Parashara Hora Shastra 解析引擎
Varga 分盤 Shodasa Varga 16 分盤(D1–D60),含 Navamsa (D9)、Dashamsha (D10) 等

🈳 宿曜道(日本 Yōjōdō)| Japanese Sukkayodo

9 世紀由空海大師自印度傳入日本,融合佛教密宗與道家思想。

Brought to Japan by Kūkai (Kōbō Daishi) in the 9th century, blending Esoteric Buddhism with Taoist thought.

  • 二十八宿 / 28 Mansions:比印度多出 Abhijit(牛宿),共 28 宿 — Includes Abhijit (absent in Indian system), totaling 28 mansions
  • 六曜 Rokuyō:先勝・友引・先負・仏滅・大安・赤口 — Six daily fortune indicators
  • Moon 定曜:六曜由 Moon 所在宿決定 — Rokuyō determined by Moon's mansion
  • 宿曜道方盤 / Sukkayodo Chart:4×7 網格,二十八宿沿圓環排列 — 4×7 grid with 28 mansions in circular arrangement
  • 象徵符號 / Symbols:每宿有獨特漢字符號(馬、彡、卍、兔、蚯…)— Unique kanji symbols for each mansion
🐘 泰國占星(Thai Astrology)

以印度 Jyotish 為基礎,融合泰國佛教文化與本土占星傳統。

Based on Indian Jyotish, blended with Thai Buddhist culture and local astrological traditions.

  • 九曜 / Nine Planets:與印度 Jyotish 相同(太陽至計都)— Same as Vedic Navagraha (Sun to Ketu)
  • 十二星座 / 12 Signs:泰語命名的恆星黃道星座 — Sidereal zodiac signs with Thai names
  • 日主星 / Day Lord:根據出生星期判定守護星(星期日=太陽,星期一=月亮…)— Ruling planet based on birth weekday
  • 泰式方盤 / Thai Chart:泰語標示的占星盤面 — Thai-labeled astrological chart
  • 九宮格 / Nine Grid:泰國傳統九宮格排盤與占卜 — Traditional Thai nine-grid divination
  • พรหมชาติ / Brahma Jati:根據出生年份(12 生肖)、月份、星期推算命理,含年運輪與符咒改運法 — Fortune reading based on birth year (12 zodiac), month, weekday, with annual fortune wheel and remedies
✡ 卡巴拉占星(Kabbalah Astrology)

結合猶太神祕主義與占星術,以回歸黃道呈現。

Combining Jewish mysticism with astrology, presented in the tropical zodiac.

  • 生命之樹 / Tree of Life:十個質點(Sephiroth)對應不同行星能量 — Ten Sephiroth corresponding to planetary energies
  • 二十二希伯來字母 / 22 Hebrew Letters:對應黃道星座與行星 — Mapped to zodiac signs and planets
  • 塔羅對應 / Tarot Correspondence:每個星座對應一張塔羅大牌 — Each sign corresponds to a Major Arcana card
  • 回歸黃道 / Tropical Zodiac:與西洋占星相同的黃道系統 — Same zodiac system as Western astrology
✡ 猶太 Mazzalot 占星(Jewish Mazzalot Astrology)

源自 Talmud(塔木德)與 Sefer Yetzirah(創造之書)的猶太傳統黃道體系。

Jewish zodiac system rooted in the Talmud and Sefer Yetzirah (Book of Creation).

  • 十二 Mazzalot(מַזָּלוֹת):猶太傳統黃道十二星座,對應人格特質 — 12 Jewish zodiac signs with personality traits (Talmud Shabbat 156a)
  • 十二支派 / Twelve Tribes:以色列十二支派與 Mazzalot 的對應(Midrash Bamidbar Rabbah 2:7)— Twelve Tribes of Israel mapped to zodiac signs
  • Sefer Yetzirah 字母對應:22 個希伯來字母分三類——3 母字母(元素)、7 雙字母(行星)、12 簡單字母(星座)— Hebrew letter classifications
  • 大衛之星盤 / Star of David Wheel:SVG 視覺化的大衛之星黃道盤 — Interactive SVG Star of David zodiac chart
  • 恆星黃道 / Sidereal Zodiac:使用 Fagan-Bradley Ayanamsa 計算 — Calculated with Fagan-Bradley Ayanamsa
📂 三個子分頁 | 3 Sub-tabs
子分頁 功能
大衛之星 Star of David 大衛之星 SVG 視覺化黃道盤
本命盤 Natal 行星位置、Mazzalot 歸屬、支派對應
預言解讀 Omens 塔木德與 Midrash 占星解讀

☪ 阿拉伯占星(Arabic Astrology)

源自中世紀伊斯蘭黃金時代,融合希臘與波斯天文傳統。

Originating from the medieval Islamic Golden Age, blending Greek and Persian astronomical traditions.

  • 阿拉伯點 / Arabic Parts (Lots):透過上升點與行星經度加減運算,推導幸運點、精神點等敏感度數 — Derived from Ascendant and planetary longitudes (Part of Fortune, Part of Spirit, etc.)
  • 日夜盤 / Sect:根據太陽位置區分日盤與夜盤,影響阿拉伯點公式 — Day/night chart distinction based on Sun's position
  • 行星廟旺落陷 / Essential Dignities:入廟、入旺、落陷、入弱 — Domicile, Exaltation, Detriment, Fall
  • 回歸黃道 / Tropical Zodiac:使用 Placidus 宮位制 — Using Placidus house system
📂 五個子分頁 | 5 Sub-tabs
子分頁 功能
阿拉伯盤 Chart 阿拉伯點計算、行星尊貴、日夜盤判定
Picatrix 星體魔法 28 月宿瀏覽、月宿查詢、行星時計算、護符推薦(資料來自 Greer & Warnock 2011、Attrell & Porreca 2019)
太陽知識大全 Shams al-Maʻārif 行星屬性、星座特質、Riyada 靈性修煉、伊斯蘭祈禱、Wafq 數字方陣
參考文獻 Reference 阿拉伯占星古籍參考資料
MS164 手稿 阿拉伯占星手稿瀏覽器

🕌 也門占星(Yemeni / Rasulid Astrology)

南阿拉伯半島最古老的占星傳統之一,源自示巴王國,在 13 世紀 Rasulid 王朝時期達到頂峰。

One of the oldest astrological traditions of the southern Arabian Peninsula, originating from the Kingdom of Saba' and flourishing under the 13th-century Rasulid dynasty.

  • 28 月宿 / Manazil al-Qamar:月宿護符魔法 (Talismanic Magic)、醫療與農業擇時 — Lunar mansion talismanic magic, medical and agricultural timing
  • Anwāʼ 天氣預兆:天氣星宿預兆系統 — Weather omen system based on star risings
  • 附庸星 / Affiliated Planets:也門本土的附庸星(Subsidiary Planets)傳統 — Local subsidiary planetary tradition
  • 阿拉伯點 / Arabic Parts:幸運點、精神點等計算 — Part of Fortune, Part of Spirit, etc.
  • Firdaria 週期:行星主運週期系統 — Planetary period system
  • 核心文獻 / Key Text:al-Malik al-Ashraf《Kitāb al-Tabṣira fī ʿIlm al-Nujūm》(星學洞見之書)
📂 三個子分頁 | 3 Sub-tabs
子分頁 功能
曼荼羅 Mandala 也門月宿曼荼羅 SVG 視覺化
本命盤 Natal 行星位置、月宿分析、阿拉伯點
預兆 Omens Anwāʼ 天氣預兆解讀

🏺 瑪雅占星(Maya Astrology)

源自瓜地馬拉瑪雅文明的天文與曆法傳統。

Rooted in the astronomical and calendar traditions of the Guatemalan Maya civilization.

  • Long Count(長紀年):以 B'ak'tun、Ka'tun、Tu'n、Winal、K'in 計算天數 — Counting days in B'ak'tun, Ka'tun, Tu'n, Winal, K'in
  • Tzolkin(神聖曆):260 天循環,13 數字 × 20 神明名 — 260-day sacred calendar, 13 numbers × 20 day signs
  • Haab(民用曆):365 天,18 月 × 20 日 + 5 Wayeb 無日 — 365-day civil calendar, 18 months × 20 days + 5 Wayeb days
  • Calendar Round:Tzolkin × Haab 同步循環,約 52 年一輪 — Synchronized Tzolkin–Haab cycle, approximately 52-year rotation
  • 行星疊加 / Planetary Overlay:結合西方占星行星位置對應 Tzolkin 能量 — Western planetary positions mapped to Tzolkin energies
🇲🇲 緬甸占星(Mahabote / Myanmar Astrology)

緬甸傳統占星術,Mahabote (မဟာဘုတ်) 意為「大創造」。

Traditional Myanmar astrology; Mahabote (မဟာဘုတ်) means "Great Creation".

  • 七曜行星 / Seven Planets:日、月、火、水、木、金、土,對應星期日至星期六 — Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, mapped to Sunday–Saturday
  • 羅睺 / Rahu:星期三傍晚出生者歸羅睺管轄 — Wednesday evening births governed by Rahu
  • 八方位 / Eight Directions:每顆行星對應一個羅盤方位 — Each planet corresponds to a compass direction
  • 七宮位 / Seven Houses:本命、壽命、意識、身體、權勢、死亡、道德 — Birth, Longevity, Consciousness, Body, Power, Death, Morality
  • 行星大運 / Atar (Planetary Periods):七星循環共 96 年,主宰人生各階段 — Seven-planet cycle totaling 96 years, governing life stages
  • 計算公式 / Formula:Mahabote 值 = (緬甸年 + 星期數) mod 7 — Mahabote value = (Myanmar year + weekday number) mod 7
  • 動物守護 / Animal Signs:每個星期對應守護動物(鳥翼獅、虎、獅、有牙象、鼠、天竺鼠、龍)— Weekday animal signs (Galon, Tiger, Lion, Tusked Elephant, Rat, Guinea Pig, Dragon)
🏛️ 古埃及十度區間(Decanic Astrology / 36 Decans)

源自古埃及數千年前的天文計時系統,是西洋占星學最古老的分區技法之一。

Originating from ancient Egypt's astronomical timekeeping system thousands of years ago, one of the oldest division techniques in Western astrology.

  • 36 個 Decans:黃道 360° 每 10° 劃分為一個 Decan,每個星座含 3 個 Decan — 360° zodiac divided into 36 segments of 10° each, 3 per sign
  • 古埃及星神 / Egyptian Star Deities:每個 Decan 對應一位古埃及神靈(來自棺蓋對角星表、Dendera Zodiac 等文獻)— Each Decan maps to an Egyptian deity (from coffin lid diagonal star tables, Dendera Zodiac, etc.)
  • 迦勒底行星統治 / Chaldean Order:Mars → Sun → Venus → Mercury → Moon → Saturn → Jupiter 循環
  • 三重統治 / Triplicity:根據元素分配行星統治權 — Planetary rulership by elemental triplicity
  • 塔羅小阿卡納 / Minor Arcana:Golden Dawn 傳統,36 Decans 對應塔羅牌 2–10 號 — Golden Dawn tradition, 36 Decans mapped to Tarot cards 2–10
  • 本質尊貴 / Essential Dignities:Face/Decan 尊貴計分(+1 分),含完整廟旺落陷摘要 — Face/Decan dignity scoring (+1), with full dignity summary
  • Plotly 輪盤圖 / Wheel Chart:視覺化 36 Decans 的 Dendera Zodiac 外環 — Interactive Plotly visualization of the Dendera Zodiac outer ring

📖 此工具為文化、歷史與占星學習用途。古埃及 Decans 起源於數千年前的天文計時系統,現代解讀僅供參考。

This tool is for cultural, historical, and astrological learning purposes. Ancient Egyptian Decans originated from an astronomical timekeeping system thousands of years ago; modern interpretations are for reference only.

🔱 納迪占星(Nadi Jyotish)

源自南印度泰米爾那德邦的古代棕櫚葉手稿傳統,以三種「納迪脈輪」為核心。

Originating from the ancient palm-leaf manuscript tradition of Tamil Nadu, South India, centered on three Nadi pulse types.

  • 三大納迪脈輪 / Three Nadi Types
    • Aadi Nadi(初脈 / 風型 Vata):神經系統、思維活動、風元素 — Nervous system, mental activity, air element
    • Madhya Nadi(中脈 / 火型 Pitta):消化代謝、熱情意志、火元素 — Digestion, willpower, fire element
    • Antya Nadi(末脈 / 水型 Kapha):體液免疫、穩定耐力、水土元素 — Immunity, endurance, water/earth elements
  • 27 星宿 Nakshatra:依次歸屬三大脈輪,每 9 宿為一輪 — 27 lunar mansions cyclically assigned to three Nadis, 9 per cycle
  • 納迪宮分 / Nadi Amsha:每宮 30° 分成 150 個小分,每小分 12' — Each sign divided into 150 sub-divisions of 12' each
  • 命主納迪 / Janma Nadi:以出生月亮所在星宿決定 — Determined by the Moon's Nakshatra at birth
  • 上升納迪 / Lagna Nadi:以上升點所在星宿決定 — Determined by the Ascendant's Nakshatra
  • 恆星黃道 / Sidereal Zodiac:使用 Lahiri Ayanamsa 計算 — Calculated with Lahiri Ayanamsa
🕉️ Jaimini 占星(Jaimini Astrology)

源自古印度聖人 Jaimini 所著之《Jaimini Sutras》(約公元前 2 世紀),與 Parashara 體系並列為 Jyotish 兩大核心流派。

Based on the «Jaimini Sutras» (~2nd century BCE), one of the two core schools of Jyotish alongside the Parashara system.

  • Chara Karaka(可變徵象星):以行星在星座內的實際度數動態分配 7 種角色(Atmakaraka、Amatyakaraka 等)— Dynamic role assignment based on actual planetary degrees
  • Rashi Drishti(星座視線):以整個星座之間的相互視線取代 Graha Drishti — Whole-sign aspects replacing planetary aspects
  • Argala(介入)與 Virodhargala(阻擋):分析某宮位對另一宮位的干預效果 — Analyzing intervention effects between houses
  • Arudha Pada(虛象宮):反映外在世界對命主的感知 — Reflecting external world's perception of the native
  • Chara Dasha(可變大運):以星座為單位的大運系統 — Sign-based planetary period system
  • Sthira Karaka(固定徵象星):每顆行星永遠代表固定主題 — Fixed planetary significators
📂 兩個子分頁 | 2 Sub-tabs
子分頁 功能
Jaimini Chart Chara Karaka 排列、Rashi Drishti、Argala、Arudha Pada
Chara Dasha 可變大運週期推算

🔮 KP 占星(Krishnamurti Paddhati / KP Astrology)

由印度占星家 K.S. Krishnamurti (1908-1972) 創立,結合了西洋占星的宮位系統與印度占星的 Nakshatra(27 宿)系統,以精確預測事件發生時機而聞名。

Created by Indian astrologer K.S. Krishnamurti (1908-1972), combining Western house systems with Vedic Nakshatras (27 lunar mansions), renowned for precise event timing predictions.

  • KP New Ayanamsa:固定值 23.848333°,與 Lahiri 略有不同 — Fixed value 23.848333°, slightly different from Lahiri
  • Placidus 宮位系統:使用西洋占星的 Placidus 宮位制計算 12 宮頭 — Western Placidus house system for 12 cusps
  • Rasi/Star/Sub Lords(三層主星):每顆行星/宮頭都有星座主、宿度主、分主 — Three-tier lordship: Rasi, Star, and Sub Lords
  • 249 個 Sub 區間:27 宿 × 9 Sub,嚴格按照 Vimshottari Dasha 比例分割 — 27 Nakshatras × 9 Subs = 249 divisions, following Vimshottari Dasha proportions
  • Ruling Planets(時辰主星):用於 Horary 問卜與事件擇時 — Used for Horary astrology and event timing
  • Significators(徵兆星):分類為 Very Strong / Strong / Weak 三個等級 — Classified into Very Strong, Strong, and Weak categories
📂 核心功能 | Core Features
功能 說明
Rasi/Star/Sub Lords 每顆行星的三層主星系統
Ruling Planets 時辰主星計算(Day Lord + Star Lord + Sub Lord + Moon Sign Lord + Moon Star Lord)
Significators 12 宮徵兆星分析(Very Strong / Strong / Weak)
Horary Mode 問卜模式,使用提問時間與地點
北印度鑽石盤 North Indian Diamond Style SVG 星盤圖

🇲🇳 蒙古祖爾海(Mongolian Zurkhai)

蒙古傳統占星術 (Зурхай / Shar Zurkhai),源自藏傳佛教曆算體系。

Traditional Mongolian astrology (Зурхай / Shar Zurkhai), derived from the Tibetan Buddhist calendar system.

  • 12 生肖 / 12 Animal Signs:鼠、牛、虎、兔、龍、蛇、馬、羊、猴、雞、狗、豬 — Rat, Ox, Tiger, Rabbit, Dragon, Snake, Horse, Sheep, Monkey, Rooster, Dog, Pig
  • 五行 / Five Elements:木、火、土、金、水,各分陰陽 — Wood, Fire, Earth, Metal, Water, each with yin and yang
  • 60 年循環 / 60-Year Cycle:12 生肖 × 5 元素 — 12 animals × 5 elements
  • 擇吉 / Auspicious Timing:結婚、出行、建屋、醫療等吉凶計算 — Marriage, travel, construction, medical treatment timing
  • 障礙年 / Obstacle Years:特定年齡對應的災厄年份 — Specific ages corresponding to calamity years
  • 元素相生相剋 / Elemental Cycles:木→火→土→金→水→木(相生);木→土→水→火→金→木(相剋)— Generation: Wood→Fire→Earth→Metal→Water→Wood; Destruction: Wood→Earth→Water→Fire→Metal→Wood

📖 此計算依循蒙古傳統祖爾海古法,僅供文化學習與參考,重要決定請諮詢合格的蒙古占星師 (Zurkhaič) 或喇嘛。

Calculations follow traditional Mongolian Zurkhai methods for cultural learning and reference only. For important decisions, consult a qualified Mongolian astrologer (Zurkhaič) or Lama.

🏔️ 藏傳時輪金剛占星(Tibetan Kalachakra Astrology)

時輪金剛續 (Kalachakra Tantra) 為藏傳占星的根本古法,融合印度天文學、中國干支體系與苯教本土元素。

Based on the Kalachakra Tantra, the fundamental text of Tibetan astrology, blending Indian astronomy, Chinese stem-branch system, and indigenous Bön elements.

  • 藏曆 / Lunisolar Calendar (lo-tho):陰陽合曆,以六十年循環 (rab-byung) 為週期 — Lunisolar calendar with 60-year cycles
  • 九宮 Mewa (sMe-ba dgu):1–9 九個數字,對應顏色、方位、吉凶 — 9 numbers mapped to colors, directions, and fortune
  • 八卦 Parkha (sPar-kha brgyad):八方位,類似易經八卦 — Eight directions, similar to I Ching trigrams
  • 五力 / Five Forces:La(魂)、Sok(命)、Lu(身體)、Wangthang(權勢)、Lungta(風馬)— Soul, Life, Body, Power, Wind Horse
  • 五行 (ḥByung-ba):木 (Shing)、火 (Me)、土 (Sa)、金 (Lcags)、水 (Chu) — Wood, Fire, Earth, Metal, Water
  • 十二生肖 (lo-rtags):鼠 (Byi-ba) 至豬 (Phag),搭配五行組成六十年循環 — 12 animals × 5 elements = 60-year cycle
  • 時輪金剛曼荼羅 / Kalachakra Mandala:SVG 視覺化的時輪金剛壇城 — Interactive SVG Kalachakra Mandala visualization
📂 五個子分頁 | 5 Sub-tabs
子分頁 功能
曼荼羅 Mandala 時輪金剛曼荼羅 SVG 視覺化
本命盤 Natal 行星位置、藏曆年月、生肖五行
Mewa 九宮 出生 Mewa 數字、顏色、方位
五力 Forces La・Sok・Lu・Wangthang・Lungta 分析
九曜 Planets 七星 + Rahu + Ketu 的藏傳解讀

📖 此計算依循藏傳占星古法,僅供文化學習與參考。重要決定請諮詢合格的藏傳占星師 (rTsis-pa) 或上師。

Calculations follow traditional Tibetan astrological methods for cultural learning and reference only. For important decisions, consult a qualified Tibetan astrologer (rTsis-pa) or Lama.

🌟 九星氣學(Japanese Nine Star Ki / Kyūsei Kigaku)

源自中國洛書九宮、在日本廣泛發展的傳統命理體系,以九顆飛星與五行理論為核心。

Rooted in the Chinese Lo Shu Square and widely developed in Japan, centered on nine flying stars and Five-Element theory.

  • 九顆飛星 / Nine Stars:一白水星(北・水)、二黑土星(西南・土)、三碧木星(東・木)、四綠木星(東南・木)、五黃土星(中宮・土)、六白金星(西北・金)、七赤金星(西・金)、八白土星(東北・土)、九紫火星(南・火)
  • 本命星 / Year Star (Principal Star):以立春(約2月4日)為新年起點,依出生年份推算 — Based on solar year starting at Li Chun (~Feb 4)
  • 月命星 / Month Star:飛星法推算,依年份組別與太陽月份逆時針飛宮 — Flying star method, moving counterclockwise by solar month
  • 日命星 / Day Star:以9天循環錨定太陽月起點推算 — 9-day repeating cycle anchored to solar month start
  • 洛書九宮 / Lo Shu Square:3×3 方格,數字 1–9 各方位排布,橫豎斜總和均為 15 — 3×3 grid, horizontal/vertical/diagonal sums all equal 15
  • 五行相性 / Five-Element Compatibility:依五行相生相剋推算命星相性評分 — Compatibility scoring based on elemental generation/destruction cycles
  • 立春節氣 / Li Chun Node:每年約2月4日為九星新年,出生在立春前者用前一年 — Annual cutoff ~Feb 4; births before Li Chun use prior year

📖 此計算依循九星氣學傳統古法,僅供文化學習與參考。重要決定請諮詢合格的九星氣學師。

Calculations follow traditional Nine Star Ki methods for cultural learning and reference only. For important decisions, consult a qualified Nine Star Ki practitioner.

♅ 天王星占星・漢堡學派(Uranian Astrology — Hamburg School)

由德國占星師 Alfred Witte 於 1920–1941 年創立,以 90° 度盤與行星圖像(Planetary Pictures)為核心技法,超越傳統相位系統。

Founded by German astrologer Alfred Witte 1920–1941, centered on the 90° Dial and Planetary Pictures, surpassing the traditional aspect system.

  • 8 超海王星虛點 / 8 Transneptunian Planets (TNPs):Cupido(家庭・藝術)、Hades(腐化・隱秘)、Zeus(意志・軍事)、Kronos(權威・卓越)、Apollon(擴展・成功)、Admetos(延遲・收縮)、Vulkanus(力量・影響)、Poseidon(靈性・真理)
  • 90° 度盤 / 90° Dial:所有經度 mod 90°,將合、刑、對、半刑全部壓縮至同一分析盤 — All longitudes mod 90°, collapsing hard aspects into one dial
  • 中點樹 / Midpoint Tree:計算所有行星對的中點,依緊密度排序 — All planetary pair midpoints sorted by orb tightness
  • 行星圖像 / Planetary Pictures (A+B−C=D):Witte《Regelwerk》規則 — 任意三星中點等於第四星即形成圖像格局 — Witte's Regelwerk: any three-planet midpoint equaling a fourth forms a picture
  • 回歸黃道 / Tropical Zodiac:與西洋占星相同的黃道系統 — Same zodiac system as Western astrology
📂 四個子分頁 | 4 Sub-tabs
子分頁 功能
90° 度盤 Dial 所有行星(含 TNPs)的 90° 度盤視覺化
中點樹 Midpoints 行星對中點列表,依緊密度排序
行星圖像 Pictures A+B−C=D 行星圖像格局計算
TNP 虛點 Planets 八顆超海王星虛點位置與含義

🏺 希臘占星(Hellenistic Astrology)

古希臘羅馬時期的占星體系,是西洋占星的源頭,以整宮制(Whole-sign Houses)與希臘點為核心。

The astrology of the Greco-Roman era — the root of modern Western astrology, centered on Whole-sign Houses and Greek Lots.

  • 希臘點 / Greek Lots (Kleros):Fortune、Spirit、Eros、Necessity、Courage、Victory、Nemesis — 七大希臘點計算
  • Egyptian Bounds / Terms:古代行星界(Bounds)尊貴體系 — Ancient planetary boundaries dignity system
  • 年限推進 / Annual Profections:每年宮位前進一個星座,決定年度時間主(Time Lord)
  • 黃道釋放 / Zodiacal Releasing (L1):以 Fortune Lot 為起點的主限週期推算 — Major period calculation from Lot of Fortune
  • 行星狀態評分 / Planetary Condition:綜合尊貴、Sect、相位的行星狀態評分 — Composite scoring of dignity, sect, and aspects
  • Sect 分析 / Sect Analysis:日盤與夜盤的行星派別判定 — Diurnal/nocturnal sect classification
  • 希臘方盤 / Greek Horoscope (θέμα):仿古方盤(Whole-sign houses, ASC 左、MC 上)— Square chart after L 497
📂 八個子分頁 | 8 Sub-tabs
子分頁 功能
Greek Chart θέμα SVG 方盤視覺化,仿古希臘碑文格式
Natal Analysis 行星狀態、Sect、尊貴摘要
Profections 年齡、推進星座、年度 Time Lord
Zodiacal Releasing L1 主限週期表(各星座與統治星)
Greek Lots 七大希臘點的星座、度數、宮位、含義
Extended Lots 擴充 Lots 更多希臘點計算與解讀
Valens Synkrasis 行星組合 Vettius Valens 行星混合組合分析
百論 Centiloquy 托勒密百條占星格言 (Ptolemy's Centiloquy)

🐦‍⬛ 萬化仙禽(WanHua XianQin / Star-Animal Divination)

源自明代古籍《新刻劉伯溫萬化仙禽》(朱國祥著)的演禽術,以二十八宿禽星為核心的中國傳統命理系統。

Star-Animal Divination system based on the Ming Dynasty classical text «新刻劉伯溫萬化仙禽» by Zhu Guoxiang, centered on the 28 Lunar Mansion Animal Stars.

  • 二十八宿禽星 / 28 Mansion Animal Stars:角木蛟、亢金龍、氐土貉、房日兔 …… 每宿配一禽獸與五行 — Each mansion paired with an animal and Five-Element attribute
  • 三元起宿 / Three Cycles Starting Mansion:上元・中元・下元六甲旬起頭宿推算 — Deriving the starting mansion from the Three Cycles (Upper, Middle, Lower)
  • 十二宮 / Twelve Palaces:命宮、財帛、兄弟、田宅、子女、奴僕、夫妻、疾厄、遷移、官祿、福德、相貌 — Life, Wealth, Siblings, Property, Children, Servants, Spouse, Illness, Travel, Career, Fortune, Appearance
  • 推命星・身星 / Life Star & Body Star:從農曆生辰推算命宮星與身宮星 — Deriving Life Star and Body Star from lunar birth data
  • 吞啗・合戰 / Swallow-Bite & Alliance-Battle:禽星之間的生剋吞噬與合戰判斷 — Inter-star relationships of dominance, alliance, and conflict
  • 情性賦 / Personality Verse:依命星五行特質的性情描述 — Character description based on the Life Star's elemental nature
  • 格局判斷 / Pattern Evaluation:得時得地的吉凶格局評定 — Auspicious/inauspicious pattern assessment based on timing and position
📂 三個子分頁 | 3 Sub-tabs
子分頁 功能
起盤結果 十二宮禽星排布、命星身星、衍生星、吞啗合戰分析、情性賦、格局判斷
相胎賦 命星與胎星的 28 組配合論斷(形品、喜忌、斷曰)
貴賤格 貴格(吉利格局)與賤格(凶煞格局)參考表

🦅 阿茲特克占星(Aztec Astrology)

源自中美洲阿茲特克文明的天文與曆法傳統,與瑪雅體系有密切淵源。

Rooted in the astronomical and calendar traditions of the Aztec civilization of Mesoamerica, closely related to the Maya system.

  • Tonalpohualli(神聖曆):260 天循環,13 數字 × 20 日徵(day signs),使用 Nahuatl(納瓦特爾語)命名 — 260-day sacred calendar, 13 numbers × 20 day signs in Nahuatl
  • 二十日徵 / 20 Day Signs:Cipactli(鱷魚)、Ehēcatl(風)、Calli(房屋)等,每個對應守護神祇 — Cipactli (Crocodile), Ehēcatl (Wind), Calli (House), etc., each with patron deity
  • Trecena:13 天為一個週期,每個 Trecena 由第一天的日徵命名 — 13-day period named after its first day sign
  • 方位與顏色 / Direction & Color:每個日徵對應特定的羅盤方位與顏色 — Each day sign maps to a compass direction and color
  • 行星疊加 / Planetary Overlay:結合西方占星行星位置對應 Tonalpohualli 能量 — Western planetary positions mapped to Tonalpohualli energies
🏛️ 古巴比倫占星(Babylonian / Chaldean Astrology)

所有西洋占星體系的直接源頭,起源於美索不達米亞文明。

The direct ancestor of all Western astrology systems, originating from Mesopotamian civilization.

  • MUL.APIN 星表:約公元前 1000 年的天文目錄泥板,記錄 66 顆恆星/星座的升沒時間 — Astronomical catalog tablet (~1000 BCE) recording rising/setting times of 66 stars/constellations
  • 12 宮黃道 / 12 Zodiac Signs:使用 Akkadian(阿卡德語)古名,如 LU.HUN.GA(白羊)、GU4.AN.NA(金牛)— Using Akkadian names: LU.HUN.GA (Aries), GU4.AN.NA (Taurus), etc.
  • 七大行星神 / Seven Planetary Deities:Shamash(太陽)、Sin(月)、Nabu(水星)、Ishtar(金星)、Nergal(火星)、Marduk(木星)、Ninurta(土星)
  • K.8538 星盤 / Planisphere:SVG 視覺化的尼尼微古星盤(8 楔形區間) — SVG visualization of the Nineveh planisphere (8 wedge sectors)
  • Enūma Anu Enlil:美索不達米亞天文預兆集,將天體現象與吉凶對應 — Mesopotamian omen compendium linking celestial phenomena to fortune
📂 三個子分頁 | 3 Sub-tabs
子分頁 功能
星盤 Planisphere K.8538 尼尼微星盤 SVG 視覺化
星座盤 Natal 行星位置、MUL.APIN 黃道宮位
預兆 Omens Enūma Anu Enlil 天文預兆解讀

🗺️ Astrocartography 地點占星(搬遷線)

以出生時刻的行星位置投射至全球地圖,顯示各行星在地球上何處具有角度力量。

Projects birth-time planetary positions onto a world map, showing where each planet holds angular power on Earth.

  • 四條線 / Four Lines:AC 線(上升線)、MC 線(中天線)、IC 線(底天線)、DC 線(下降線)— Ascendant, Midheaven, Imum Coeli, Descendant lines
  • 球面三角計算 / Spherical Trigonometry:使用球面三角公式精密計算每條線的地理軌跡 — Precise geographic trajectory via spherical trigonometry
  • 互動地圖 / Interactive Map:Plotly 驅動的全球互動搬遷線地圖,支援行星與線型篩選 — Plotly-powered interactive world map with planet and line-type filters
  • Paran 交叉點:兩條線在同一緯度交叉,代表兩顆行星能量同時角化 — Latitude crossing points where two planetary energies simultaneously angularize
  • 過運搬遷線 / Transit Lines:即時過運行星的搬遷線計算 — Real-time transit planet relocation lines
📂 三個子分頁 | 3 Sub-tabs
子分頁 功能
互動地圖 Map Plotly 全球搬遷線互動地圖
數據表 Table 各行星各線型的經緯度數據
過運 Transit 過運行星搬遷線分析

🔮 六壬祿命(Da Liu Ren / Six Ren Destiny)

古代三式之一,以天地盤推演吉凶,依據《六壬論命秘要》實作完整論命邏輯。

One of the Three Ancient Formulae (San Shi), using celestial and terrestrial boards to deduce fortune, based on the classic «Six Ren Destiny Secrets».

  • 天地盤 / Celestial & Terrestrial Boards:以日干支及月將排列天盤地盤 — Arrange boards based on day stems/branches and monthly general
  • 四課 / Four Lessons:從天地盤中取出四組干支 — Four pairs of stems/branches derived from the boards
  • 三傳 / Three Transmissions:初傳、中傳、末傳,推演事態發展 — Initial, Middle, Final transmissions for event progression
  • 十二宮 / Twelve Palaces:命宮、兄弟、夫妻、子女等十二宮分析 — Twelve palace analysis for life areas
  • 論命分析 / Destiny Analysis:身命判斷、女命專論、五節總決、二十四格、十六局、流年月令、壽夭推算 — Comprehensive fate analysis including gender-specific readings, patterns, and longevity
🌟 太乙命法(Taiyi Life Method)

古代三式之首,太乙神數以出生年月日時推算個人命運。

The foremost of the Three Ancient Formulae; Taiyi Shen Shu calculates personal destiny from birth date and time.

  • 命宮身宮 / Life & Body Palaces:以出生時辰計算命宮與身宮位置 — Calculate Life Palace and Body Palace from birth time
  • 十二宮排列 / Twelve Palaces:太乙命法十二宮排布 — Twelve palace arrangement in Taiyi method
  • 陽九百六行限 / Yang Nine & Hundred Six Periods:推算人生各階段運勢 — Life-stage fortune calculation
  • 出身卦 / Birth Hexagram:依出生資訊推算先天卦象 — Innate hexagram derived from birth data
  • 五柱卦象 / Five Pillar Hexagrams:年柱、月柱、日柱、時柱、命柱卦象分析 — Year, Month, Day, Hour, Life pillar hexagram analysis
🔮 奇門祿命(Qimen Destiny Analysis)

以出生時辰的奇門遁甲局為主,推斷一生窮通壽夭吉凶禍福。

Using the Qi Men Dun Jia chart of the birth hour to deduce lifelong fortune and misfortune.

  • 奇門遁甲局 / Qi Men Chart:以出生時辰排列奇門遁甲局 — Qi Men Dun Jia chart based on birth hour
  • 六親分析 / Six Relations:父母、兄弟、子孫、官祿、妻財、疾厄宮位分析 — Analysis of six relational palaces
  • 八門八神九星 / Eight Gates, Eight Spirits, Nine Stars:奇門遁甲核心要素解讀 — Core Qi Men elements interpretation
  • 格局推斷 / Pattern Deduction:吉格凶格判斷,推斷一生命運走向 — Auspicious/inauspicious pattern assessment for life trajectory
🔯 六爻終身卦(Lifetime Liu Yao / Lifelong Hexagram)

以出生年月日時的農曆干支數字演算,得出固定終身本命卦象,與隨機占卜截然不同的本命終身推命系統。

A fixed lifetime hexagram derived from the lunar Ganzhi of the birth date and time — a lifelong natal destiny system entirely distinct from random divination.

  • 納甲排盤 / Najia Layout:以干支納甲法安置六爻卦位 — Assign hexagram lines using the Najia stem-branch method
  • 六親六神 / Six Relatives & Six Spirits:父母、兄弟、子孫、官祿、妻財配合六神斷象 — Six relational lines combined with Six Spirit interpretations
  • 大限流年 / Major & Annual Periods:推算各大限與流年運勢 — Calculate major life-cycle and yearly fortune periods
  • 合婚分析 / Compatibility Analysis:以終身卦進行合婚六爻對照 — Cross-chart compatibility analysis using the lifelong hexagram
🔢 鐵板神數(Tie Ban Shen Shu / Iron Plate Divination)

中國傳統命理學中的高階數術,以八卦、干支、納音五行為基礎,透過嚴密的數理推算生成萬千百十號與條文斷語。

An advanced Chinese numerological divination system using Bagua, Ganzhi, and Nayin Five Elements to generate unique identification numbers and destiny verses through precise calculations.

  • 八卦加則例 / Bagua Addition Rules:天干配卦、地支配卦、河洛配數 — Heavenly Stem to Trigram, Earthly Branch to Trigram, He-Luo number mapping
  • 安命安身 / Life & Body Palace:推算命宮與身宮位置 — Calculate Life Palace and Body Palace positions
  • 紫微斗數安星 / Zi Wei Star Placement:安紫微斗數十四主星 — Place the 14 Major Stars of Zi Wei Dou Shu
  • 六十納音五行局 / Sixty Nayin Five Elements:納音五行局數計算 — Nayin Five Element group calculation
  • 考刻分 / Time Refinement:時分 8 刻×15 分=120 分精細推算 — Refine birth time into 8 ke × 15 fen = 120 divisions
  • 秘鈔密碼表 / Secret Code Tables:條文查詢與萬千百十號生成 — Verse lookup and unique ID number generation
  • 條文查詢 / Verse Lookup:數千條命運斷語查詢 — Access thousands of destiny verses
🔯 邵子神數(Shao Zi Shen Shu / Shaozi Divine Numbers)

源自北宋邵雍(邵康節)易學體系,洛書九宮配天干起集,後天八卦配卦取位,組成四位條文號查詢命運詩讖,並以64個鑰匙進行精細命格細調。

Rooted in the Song Dynasty I Ching philosophy of Shao Yong (Shao Kangjie), using the Lo Shu Nine Palaces to assign collection numbers and the Later Heaven Bagua to derive positional digits, forming a four-digit verse ID for destiny lookup, refined by 64 key patterns.

  • 洛書九宮起集 / Lo Shu Nine Palaces:年柱天干對應九宮集號(1–9) — Year Heavenly Stem maps to Lo Shu palace collection number
  • 後天八卦配卦 / Later Heaven Bagua:月日時天干各取配卦序號(1–8) — Month/Day/Hour Heavenly Stems each map to a Bagua positional digit
  • 四位條文號 / Four-Digit Verse ID:四位數字(集+月+日+時)組成條文號查詢命運詩讖 — Four digits form the destiny verse ID for lookup
  • 64鑰匙進階細調 / 64-Key Refinement:以天干地支總數、河洛數推算基礎數(1–64),對應64鑰匙進行特殊命格細調 — Base number (1–64) derived via stem/branch sums and He-Luo number, mapped to 64 key patterns for refined analysis
  • 特殊事項 / Special Notes:克妻、過房、填房、貴子、孤等命格特徵快速指標 — Quick indicators for special life patterns: spouse conflict, adoption, remarriage, noble sons, solitary fate
  • 條文庫 / Verse Database:4000+ 條命運詩讖資料庫,支援集別篩選與關鍵字搜尋 — 4000+ destiny verses with collection filter and keyword search
📂 三個子分頁 | 3 Sub-tabs
子分頁 功能
命盤 🔯 四位神數號碼、四柱配卦表、條文詩讖、河洛數、納音五行
64鑰匙 🗝️ 天干地支起數過程、基礎數(1–64)、64鑰匙名稱・特殊事項・時辰資訊・運限資訊
條文庫 📚 完整條文庫瀏覽,支援集別篩選、關鍵字搜尋、分頁顯示

🔮 鬼谷分定經(Ghost Valley Fen Ding Jing / Two-End Pincers)

相傳為戰國時期鬼谷子所創,又稱「兩頭鉗」,以出生年時天干排盤,配合十二宮與星曜,推斷一生命運的古典命理系統。

Attributed to the Warring States period sage Ghost Valley (Guiguzi), also known as "Two-End Pincers," using birth year and hour Heavenly Stems to arrange the chart with twelve palaces and stars for destiny analysis.

  • 兩頭鉗 / Two-End Pincers:以年干與時干為「兩頭」排盤 — Chart arrangement based on Year and Hour Heavenly Stems
  • 天干排盤 / Heavenly Stem Chart:年時天干組合成卦象 — Year and Hour Stems combine to form hexagram patterns
  • 十二宮 / Twelve Palaces:命宮、兄弟、夫妻、子女等十二宮位 — Twelve palaces: Life, Siblings, Spouse, Children, etc.
  • 星曜配置 / Star Configuration:各宮星曜排列與相互作用 — Star placement and interactions in each palace
  • 格局斷語 / Pattern Judgments:依星曜組合判斷吉凶格局 — Auspicious/inauspicious patterns based on star combinations
  • 古文斷語 / Classical Verses:傳統古文形式的命運斷語 — Destiny judgments in classical Chinese verse format
🌟 Sabian Symbols(薩比安符號)

由 Marc Edmund Jones 於 1925 年創立,將黃道 360 度每度賦予一個獨特的象徵符號與關鍵字,是現代占星學重要的解讀工具。

Created by Marc Edmund Jones in 1925, assigning a unique symbolic image and keyword to each of the 360 zodiac degrees, an essential interpretive tool in modern astrology.

  • 360 個符號 / 360 Symbols:黃道每度對應一個獨特象徵圖像 — Unique symbolic image for each zodiac degree
  • Marc Edmund Jones 原著 / Original Jones Version:1953 年原始版本,非 Lynda Hill 現代改編 — 1953 original version, not the modern Lynda Hill adaptation
  • SVG 視覺化 / SVG Visualization:純 SVG 渲染的符號盤面 — Pure SVG-rendered symbol chart
  • 關鍵字解讀 / Keyword Interpretation:每個符號含關鍵字、正負面詮釋、公式 — Each symbol includes keyword, positive/negative interpretation, formula
  • 行星符號查詢 / Planetary Symbol Lookup:查詢任意行星所在度數的薩比安符號 — Look up Sabian symbols for any planetary position
🏝️ 巴厘 Wariga(Balinese Wariga Calendar)

巴厘島傳統曆法系統,使用 Wuku 210天週期與 Wewaran 九層週期進行吉凶判斷。

Traditional Balinese calendar system using the 210-day Wuku cycle and nine-layer Wewaran cycles for auspiciousness determination.

  • Wuku 週期 / Wuku Cycle:210 天為一個完整循環,分為 30 個 Wuku 週期 — 210-day cycle divided into 30 Wuku periods
  • Wewaran 九層週期 / Nine Wewaran Layers:Eka Wara(1天)至 Dasa Wara(10天),共九層週期 — Nine cyclical layers from Eka Wara (1-day) to Dasa Wara (10-day)
  • Neptu / Urip 數值 / Neptu Values:每個 Wara 日名有對應的 Neptu 數值,用於吉凶計算 — Numerical values assigned to each day name for fortune calculation
  • 吉凶判斷 / Auspiciousness:依古典 Lontar Wariga 規則進行日期吉凶評估 — Date auspiciousness based on classical Lontar Wariga rules

📖 此計算依循巴厘傳統古法,僅供文化學習與參考。

Calculations follow traditional Balinese methods for cultural learning and reference only.

☰ 太玄數占星(Tai Xuan Shu)

源自西漢揚雄《太玄經》,仿《周易》三才三分取象,建立八十一首九贊的三進制宇宙哲學體系。

Based on Yang Xiong's Tai Xuan Jing (Han Dynasty), modeled after the I Ching's ternary cosmological framework with 81 Shou × 9 Zan.

  • 八十一首 / 81 Shou:取代《易》六十四卦,以三才(天地人)三進制建立八十一卦象 — 81 Shou replace the I Ching's 64 hexagrams using a ternary (Heaven-Earth-Man) system
  • 九贊 / Nine Zan:每首九個階段,配合日期推算行運吉凶 — Nine stages per Shou for timing fortune analysis
  • 七政四餘聯動 / Seven Luminaries Link:本命太玄首與二十八宿、七政四餘相互配合 — Natal Shou linked with 28 Mansions and Seven Luminaries
  • 本命排盤 / Natal Chart:根據出生干支計算命宮首 — Natal Shou based on birth GanZhi
  • 即時問卜 / Real-time Divination:以當前時間起卦,支援即時問事 — Real-time divination mode
🌿 五運六氣(Wu Yun Liu Qi / Five Movements and Six Climates)

源自《黃帝內經》天文氣象醫學理論,以干支紀年推算年度氣候節律與健康趨勢,是中醫運氣學說的核心體系。

Rooted in the Yellow Emperor's Classic of Medicine, using the Ganzhi year cycle to derive annual climatic rhythms and health trends — the core system of Traditional Chinese Medicine's Yun Qi (Movement-Climate) theory.

  • 五運 / Five Movements:歲運(中運)、主運五步、客運五步;依天干推算木火土金水五行歲主 — Annual movement (Zhong Yun), fixed host movements and variable guest movements; derived from Heavenly Stems
  • 六氣 / Six Climates:主氣六步(固定)、客氣六步(逐年輪轉);司天之氣與在泉之氣 — Six fixed host climates and six rotating guest climates; Governing Heaven qi and Ground Water qi
  • 司天在泉 / Governing Heaven & Ground Water:以年支推算司天(上半年)與在泉(下半年)之氣 — Annual branch determines the qi governing upper (first half) and lower (second half) year
  • 運氣格局 / Movement-Climate Patterns:天符、歲會、太乙天符等特殊運氣格局分析 — Special pattern analysis: Tian Fu, Sui Hui, Tai Yi Tian Fu
  • 健康趨勢 / Health Trend:依運氣推算年度易發疾病與養生建議 — Annual disease susceptibility and wellness guidance based on Yun Qi
🌳 凱爾特樹木曆(Celtic Tree Calendar — Graves 1948)

英國詩人兼學者 Robert Graves 於 1948 年《白色女神》中重建的 Beth-Luis-Nion 樹木字母曆法,以 13 個月樹木守護神為核心。

Beth-Luis-Nion tree-alphabet calendar reconstructed by Robert Graves in The White Goddess (1948), centered on 13 monthly tree-guardian archetypes.

⚠️ 此為 Robert Graves 1948 年的詩意重建,非古代凱爾特考古傳統。

This is Graves' 1948 poetic reconstruction, not an archaeologically verified ancient Celtic tradition.

  • 13 月樹曆 / 13-Month Tree Calendar:Beth (樺樹)、Luis (花椒)、Nion (白蠟樹) 等 13 個月份,每月對應一種守護樹 — 13 months each governed by a sacred tree
  • 歐甘文字 / Ogham Script:古愛爾蘭樹木字母系統,每字母對應一種樹 — Ancient Irish tree-alphabet, one letter per tree
  • 守護樹 / Guardian Tree:依出生日期確定個人守護樹及其凱爾特神話象徵 — Personal guardian tree determined by birth date
📕 紅皮書占星 Lal Kitab(Red Book Astrology)

印度占星師 Pt. Roop Chand Joshi 的傳奇占星系統,以固定的卡爾普拉什坤德里(白羊=第一宮)為基礎,著重業力化解與實用補救。

The legendary Indian astrology system by Pt. Roop Chand Joshi, using a fixed Kal Purush Kundli (Aries = House 1) and renowned for its practical karma-dissolving Upay (remedies).

  • 固定宮位 / Fixed Houses:白羊座永遠為第一宮,各星的宮位效應由此定義 — Aries is always House 1; planetary effects defined accordingly
  • 業力化解 Upay / Karma Remedies:為每個星曜宮位組合提供獨特的補救方法(漂流河中・埋地・施捨等)— Unique remedies for each planet-house combination (river offerings, burial, charity, etc.)
  • 35 年生命週期 / 35-Year Life Cycle:以 35 年為一大周期分析命運走向 — 35-year cycle for life trajectory analysis
  • 手紋配合 / Palmistry Integration:結合手相解讀強化命盤判斷 — Palmistry integrated with chart reading
🏺 爪哇 Weton / Primbon(Javanese Weton)

源自爪哇島的傳統曆法與命理系統,以 Saptawara(七曜週)× Pancawara(五曜週)組合推算個人命運。

Rooted in the traditional Javanese calendar and fortune-telling system, combining the 7-day Saptawara with the 5-day Pancawara cycle to deduce personal destiny.

  • Saptawara × Pancawara:七曜 (Minggu–Sabtu) × 五曜 (Legi–Kliwon) = 35 天一輪的 Weton 組合 — 7-day × 5-day = 35-day Weton cycle
  • Neptu 值 / Neptu Score:每個 Saptawara 與 Pancawara 日名有對應 Neptu 數值,用於合婚與擇日 — Numeric scores assigned to each day name for marriage compatibility and date selection
  • 合婚計算 / Marriage Compatibility:兩人 Neptu 總和對應九種婚姻運勢判斷 — Combined Neptu sum maps to nine marriage fortune categories
  • 35 天 Weton 週期 / 35-Day Cycle:追蹤出生 Weton 在 35 天循環中的位置 — Tracks birth Weton position within the 35-day repeating cycle
  • Primbon 本命詳解 / Primbon Profile:依 Weton 查詢傳統 Betaljemur Adammakna 命書解讀 — Traditional Betaljemur Adammakna manuscript readings by Weton

📖 算法依循《Primbon Betaljemur Adammakna》古法,僅供文化學習與參考。

Calculations follow the classical Primbon Betaljemur Adammakna, for cultural learning and reference only.

⭐ 馬來伊斯蘭占星(Bintang Duabelas / 十二星)

源自馬來世界與伊斯蘭手稿傳統的數理占星工具箱,結合 Jawi/阿拉伯字母數值、十二星宮、行星時辰與護符實務。

A Malay-Islamic manuscript tradition toolkit combining Jawi/Arabic letter numerology, twelve-star houses, planetary hours, and practical talisman work.

  • Abjad / Jawi 數值:把阿拉伯字母、Jawi 或常見 Romanized 姓名轉換為數值總和 — Convert Arabic, Jawi, or common romanized names into Abjad totals
  • Hisab Nama:以餘數法推算疾病來源、失蹤占、婚姻相合與胎兒占 — Modular remainder divination for illness source, missing-person, marriage, and fetal readings
  • 十二星宮 / Twelve Star Houses:由本人與母親姓名決定所屬星宮與十二宮位 — Derive the star-sign house from the querent and mother-name totals
  • 行星時辰 / Planetary Hours:依星期、日夜與日出日落切換吉凶時段 — Compute auspicious or difficult hours from weekday day/night sequences
  • Azimat:依目的提供護符文字、建議時機與簡要使用指引 — Offer talisman formulas, timing hints, and practical notes by purpose

📖 此模組以文化、文獻與民俗實務整理為主,供研究、學習與傳統方法比較參考。

This module is presented for cultural, manuscript, and folk-practice study, useful for learning and comparative traditional research.

🌺 波利尼西亞/夏威夷星辰知識(Polynesian / Hawaiian Star Lore)

源自太平洋波利尼西亞文化的傳統星辰導航知識,以出生時星辰的升落與中天位置推算守護宮位。

Rooted in the traditional Polynesian navigation star knowledge of the Pacific, using the rising, setting, and culmination of stars at birth to determine the guardian house.

  • 夏威夷恆星 / Hawaiian Stars:採用傳統夏威夷星名(如 Hōkūleʻa、Hokupa'a)與方位對應 — Traditional Hawaiian star names (e.g. Hōkūleʻa, Hokupa'a) mapped to directions
  • 升落中天狀態 / Star Status:計算出生時各恆星的升起(Rising)、落下(Setting)、中天(Culminating)狀態 — Computes rising, setting, and culminating status of each star at birth
  • 32 方位羅盤 / 32-House Compass:波利尼西亞傳統將天際分為 32 個方位宮位 — Traditional Polynesian sky divided into 32 compass houses
  • 守護宮位 / Guardian House:依出生時 Hōkūleʻa 所在位置推算個人守護宮 — Personal guardian house determined by Hōkūleʻa's position at birth
  • 季節對應 / Season Mapping:星辰知識與夏威夷傳統季節(Māhoe Mua/Hope)對應 — Stars mapped to traditional Hawaiian seasons

📖 此工具為文化、歷史與天文學習用途,呈現波利尼西亞傳統航海星辰知識。

This tool is for cultural, historical, and astronomical learning purposes, presenting traditional Polynesian navigational star knowledge.

✚ 拜占庭占星(Byzantine Astrology)

源自東羅馬帝國(公元4–15世紀)的占星傳統,融合希臘化與阿拉伯技法,涵蓋政治星盤、基督教-占星融合、自然預兆占卜。

The astrological tradition of the Eastern Roman Empire (4th–15th century CE), bridging Hellenistic and Arabic techniques, covering political horoscopes, Christian-astrological syncretism, and omen divination.

  • 政治星盤 / Political Horoscopes:皇帝即位、城市奠基、宗教事件的星盤推算 — Horoscopes for imperial enthronements, city foundations, and religious events
  • 地震占 Seismologia:以星象推算地震時機與烈度徵兆 — Earthquake timing and intensity omens from planetary positions
  • 月行占 Selenodromia:月相週期預兆分析 — Moon phase cycle omen analysis
  • 雷鳴占 Vrontologia:雷鳴聲方位與行星對應的預兆體系 — Thunder direction and planetary correspondence omen system
  • 主要文獻:赫費斯提翁(Hephaestion of Thebes)、保羅·亞歷山大里亞(Paulus Alexandrinus)、雷托里烏斯(Rhetorius)、埃德薩的塞奧菲盧斯(Theophilus of Edessa)、約翰·阿布拉米烏斯(John Abramius)

🚀 快速開始 | Quick Start

# 1. 複製儲存庫 / Clone the repository
git clone https://github.com/kentang2017/kinastro.git
cd kinastro

# 2. 安裝相依套件 / Install dependencies
pip install -r requirements.txt

# 3. 啟動 Streamlit 前端 / Start the Streamlit frontend
streamlit run app.py

# 4.(可選)啟動 FastAPI 後端 / (Optional) Start the FastAPI backend
uvicorn api_server:app --reload

需求 / Requirements:Python 3.9+


🔌 API 後端 | API Backend

堅占星提供獨立的 FastAPI 後端 (api_server.py),將天文計算與 Streamlit UI 分離,支援程式化呼叫。

Kin Astro provides a standalone FastAPI backend (api_server.py) that separates astronomical computation from the Streamlit UI, enabling programmatic access.

# 啟動 API 伺服器 / Start the API server
uvicorn api_server:app --reload

# 瀏覽互動式文件 / Browse interactive docs
# http://127.0.0.1:8000/docs

支援的 API 端點 | Available Endpoints:

端點 Endpoint 體系 System
POST /api/chinese 七政四餘 Chinese
POST /api/ziwei 紫微斗數 Zi Wei
POST /api/huangji 皇極經世 Huangji Jingshi
POST /api/western 西洋占星 Western
POST /api/vedic 印度占星 Vedic
POST /api/kp KP 占星 Krishnamurti Paddhati
POST /api/thai 泰國占星 Thai
POST /api/kabbalistic 卡巴拉 Kabbalah
POST /api/arabic 阿拉伯 Arabic
POST /api/maya 瑪雅 Maya
POST /api/mahabote 緬甸 Myanmar
POST /api/decans 古埃及 Decans
POST /api/nadi 納迪 Nadi
POST /api/zurkhai 祖爾海 Zurkhai
POST /api/damo 達摩一掌經 Damo
POST /api/hellenistic 希臘 Hellenistic
POST /api/compute 全體系一次計算 All systems at once
GET /api/health 健康檢查 Health check
GET /api/systems 列出所有體系 List all systems

所有端點接受出生參數(年、月、日、時、分、時區、經緯度),回傳 JSON 格式的排盤結果。

All endpoints accept birth parameters (year, month, day, hour, minute, timezone, lat/long) and return JSON chart data.


📁 專案結構 | Project Structure

kinastro/
├── app.py                          # Streamlit 主應用程式 / Main Streamlit application
├── api_server.py                   # FastAPI 後端 API / FastAPI backend API
├── frontend/
│   └── custom_theme.py             # 自訂主題模組 / Custom theme module
├── styles/
│   └── custom.css                  # 全域 CSS 樣式 / Global CSS styles
├── astro/
│   ├── i18n.py                     # 中英雙語國際化 / Chinese-English i18n module
│   ├── models.py                   # 統一 Pydantic 命盤模型 / Unified chart models
│   ├── icons.py                    # 體系圖示與文化色彩 / System icons & colors
│   ├── chart_theme.py              # 統一色彩主題 + 響應式 CSS / Unified theme + mobile CSS
│   ├── chart_renderer_v2.py        # 文化風 SVG 渲染器 / Cultural SVG chart wrapper
│   ├── ai_analysis.py              # Cerebras AI 智慧分析 / AI analysis integration
│   ├── interpretations.py          # 文字解讀引擎 / Text interpretation engine
│   ├── interpretations_base.py     # 解讀引擎基類 / Interpretation engine base
│   ├── natal_summary.py            # 命盤摘要生成 / Natal summary generator
│   ├── export.py                   # TXT/CSV/PDF 匯出 / Chart export
│   ├── cross_compare.py            # 跨體系比較 / Cross-system comparison
│   ├── world_map.py                # 互動世界地圖 / Interactive SVG world map
│   ├── swe_init.py                 # Swiss Ephemeris 初始化 / Swiss Ephemeris init
│   ├── astrocartography.py         # Astrocartography 地點占星 / Astrocartography module
│   │
│   │  ── 三式(Three Formulae) ──
│   ├── sanshi/
│   │   ├── liuren.py               # 大六壬排盤 / Da Liu Ren divination
│   │   ├── lunming.py              # 六壬論命分析 / Liu Ren destiny analysis
│   │   ├── taiyi.py                # 太乙命法 / Taiyi Life Method
│   │   ├── qimen.py                # 奇門遁甲 / Qi Men Dun Jia
│   │   └── qimen_luming.py         # 奇門祿命 / Qi Men destiny analysis
│   │
│   │  ── 七政四餘(Chinese Traditional) ──
│   ├── qizheng/
│   │   ├── calculator.py           # 核心計算引擎 / Core calculation engine
│   │   ├── chart_renderer.py       # UI 渲染(含 SVG 環形盤)/ UI renderer
│   │   ├── constants.py            # 常量與參考資料 / Constants & reference data
│   │   ├── shensha.py              # 神煞計算 / Divine Stars
│   │   ├── qizheng_dasha.py        # 年限大運 / Planetary Periods
│   │   ├── qizheng_transit.py      # 流時對盤 / Transit Comparison
│   │   ├── qizheng_electional.py   # 擇日工具 / Electional Tool
│   │   └── zhangguo.py             # 張果星宗 / Zhangguo Star Readings
│   │
│   │  ── 紫微斗數(Zi Wei) ──
│   ├── ziwei.py                    # 紫微斗數排盤 / Zi Wei Dou Shu module
│   ├── cetian_ziwei.py             # 策天十八飛星 / Ce Tian 18 Flying Stars
│   ├── twelve_ci.py                # 十二星次 / Twelve Ci (Jupiter Stations)
│   │
│   │  ── 達摩一掌經(Damo) ──
│   ├── damo/
│   │   ├── calculator.py           # 排盤核心計算 / Core computation
│   │   └── renderer.py             # Streamlit 渲染 / UI rendering
│   │
│   │  ── 西洋占星(Western) ──
│   ├── western/
│   │   ├── western.py              # 本命盤 / Natal chart
│   │   ├── western_transit.py      # 行星過運 / Transit analysis
│   │   ├── western_return.py       # 太陽回歸 / Solar & Lunar Return
│   │   ├── western_synastry.py     # 合盤比較 / Synastry
│   │   ├── fixed_stars.py          # 恆星合相 / Fixed star conjunctions
│   │   ├── asteroids.py            # 小行星 / Asteroids (Chiron, Ceres…)
│   │   ├── hellenistic.py          # 希臘占星 / Hellenistic astrology
│   │   ├── ptolemy_dignities.py    # Ptolemy 尊貴表 / Ptolemy dignities
│   │   ├── uranian.py              # 天王星漢堡學派 / Uranian (Hamburg School) astrology
│   │   └── advanced_bodies.py      # Parans・Heliacal risings・小行星相位 / Advanced bodies
│   │
│   │  ── 印度占星(Vedic) ──
│   ├── vedic/
│   │   ├── indian.py               # Vedic (Jyotish) 排盤 / Vedic chart
│   │   ├── vedic_dasha.py          # Vimshottari & Yogini 大運 / Dasha cycles
│   │   ├── ashtakavarga.py         # Ashtakavarga 積分 / Ashtakavarga scoring
│   │   ├── vedic_yogas.py          # Yoga 檢測 / Yoga detections
│   │   ├── nadi.py                 # 納迪占星 / Nadi Jyotish
│   │   ├── varga.py                # Shodasa Varga 分盤 / Divisional charts (D1–D60)
│   │   ├── bphs_engine.py          # BPHS 解析引擎 / BPHS engine
│   │   └── bphs_data.py            # BPHS 資料庫 / BPHS structured data
│   ├── jaimini.py                  # Jaimini 占星 / Jaimini astrology
│   │
│   │  ── 阿拉伯占星(Arabic) ──
│   ├── arabic/
│   │   ├── arabic.py               # 阿拉伯占星 / Arabic astrology
│   │   ├── picatrix_data.py        # Picatrix 月宿資料 / Picatrix mansions data
│   │   ├── picatrix_mansions.py    # Picatrix 月宿計算 / Picatrix calculations
│   │   ├── talisman_generator.py   # 護符生成器 / Talisman generator
│   │   ├── shams_maarif.py         # Shams al-Maʻārif 渲染 / Shams rendering
│   │   ├── ms164_browser.py        # MS164 手稿瀏覽 / MS164 manuscript browser
│   │   ├── riyada.py               # Riyada 靈性修煉 / Spiritual exercises
│   │   └── wafq.py                 # Wafq 數字方陣 / Numeric squares
│   │
│   │  ── 古埃及(Egyptian) ──
│   ├── egyptian/
│   │   ├── decans.py               # 古埃及十度區間 / Egyptian Decans
│   │   └── decans_data.py          # Decans 資料庫 / Decans data
│   │
│   │  ── 萬化仙禽(WanHua XianQin) ──
│   ├── chinstar/
│   │   ├── chinstar.py             # 演禽起盤核心 / Core charting engine
│   │   ├── xiangtai_fu.json        # 相胎賦資料 / Birth Combination data
│   │   └── gui_jian_ge.json        # 貴賤格資料 / Noble/Ignoble Patterns data
│   │
│   │  ── 巴厘(Balinese) ──
│   ├── wariga/
│   │   ├── calculator.py           # Wuku/Wewaran 計算 / Wuku/Wewaran calculator
│   │   ├── constants.py            # 巴厘曆常量 / Balinese calendar constants
│   │   └── renderer.py             # Streamlit 渲染 / UI rendering
│   │
│   │  ── 納迪(Nadi)──
│   ├── nadi/
│   │   └── data/                   # 納迪 JSON 資料 / Nadi JSON data
│   │
│   │  ── 其他體系(Other Systems) ──
│   ├── sukkayodo.py                # 宿曜道 / Japanese Sukkayodo
│   ├── thai.py                     # 泰國占星 / Thai astrology
│   ├── brahma_jati.py              # พรหมชาติ 泰國命理 / Thai Brahma Jati
│   ├── kabbalistic.py              # 卡巴拉占星 / Kabbalistic astrology
│   ├── jewish_mazzalot.py          # 猶太 Mazzalot 占星 / Jewish Mazzalot astrology
│   ├── maya.py                     # 瑪雅占星 / Maya astrology
│   ├── aztec.py                    # 阿茲特克占星 / Aztec astrology
│   ├── babylonian.py               # 巴比倫占星 / Babylonian astrology
│   ├── mahabote.py                 # 緬甸占星 / Myanmar (Mahabote)
│   ├── zurkhai.py                  # 蒙古祖爾海 / Mongolian Zurkhai
│   ├── tibetan.py                  # 藏傳時輪金剛 / Tibetan Kalachakra
│   ├── nine_star_ki.py             # 九星氣學 / Japanese Nine Star Ki
│   ├── yemeni.py                   # 也門占星 / Yemeni Rasulid astrology
│   │
│   │  ── 古典與參考(Classics & Reference) ──
│   ├── classic/                    # 古典文獻(百論等)/ Classical texts
│   ├── reference/                  # 參考資料 / Reference materials
│   ├── template/                   # 新增體系模板 / New system template
│   └── data/                       # JSON 資料檔 / JSON data files
│
├── tests/
│   ├── test_calculator.py          # 計算模組單元測試 / Calculator unit tests
│   ├── test_new_astrology.py       # 多體系測試 / Multi-system tests
│   ├── test_advanced_features.py   # 進階功能測試 / Advanced feature tests
│   ├── test_chart_models.py        # 統一模型與 adapter 測試 / Unified model tests
│   ├── test_chinstar.py            # 萬化仙禽測試 / WanHua XianQin tests
│   ├── test_astrocartography.py    # Astrocartography 測試 / Astrocartography tests
│   └── test_twelve_ci.py           # 十二星次測試 / Twelve Ci tests
├── docs/
│   └── CONTRIBUTING.md             # 貢獻指南 / Contributing guide
├── requirements.txt                # Python 相依套件 / Python dependencies
├── pyproject.toml                  # 專案中繼資料 / Project metadata
├── CHANGELOG.md                    # 變更日誌 / Changelog
├── CONTRIBUTING.md                 # 貢獻指南 / Contributing guide
└── README.md                       # 本說明文件 / This documentation

🛠️ 技術棧 | Tech Stack

元件 Component 技術 Technology
前端框架 Frontend Streamlit ≥ 1.52 — 互動式 Python Web 框架
後端框架 Backend FastAPI ≥ 0.115 — 高效能 Python API 框架;Uvicorn — ASGI 伺服器
星曆計算 Ephemeris pyswisseph ≥ 2.10 — 瑞士星曆表
AI 分析 AI Analysis Cerebras Cloud SDK — 快速推理 AI 命盤解讀
視覺化 Visualization Plotly ≥ 6.0 — 互動式圖表;svgwrite — SVG 盤面
資料模型 Data Models Pydantic v2 — 統一 chart schema 與輸入驗證
PDF 匯出 Export fpdf2 ≥ 2.7 — PDF 生成
語言 Language Python 3.9+
黃道系統 Zodiac 恆星黃道 (Lahiri) & 回歸黃道 / Sidereal & Tropical

🧪 執行測試 | Run Tests

pip install -r requirements.txt
pip install pytest
python -m pytest tests/

🤝 貢獻 | Contributing

歡迎提交 Issue 或 Pull Request!詳見 CONTRIBUTING.md

Contributions via Issues and Pull Requests are welcome! See CONTRIBUTING.md for guidelines.


📜 授權 | License

本專案採用 MIT License 授權。

This project is licensed under the MIT License.

About

堅占星 - 88種中外占星祿命體系合一排盤工具 kinastro - 88 all-in-one astrology & birth chart systems in python streamlit platform

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors