summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-ichingshifa.spec150
-rw-r--r--sources2
3 files changed, 122 insertions, 31 deletions
diff --git a/.gitignore b/.gitignore
index 9feebdf..2f86ebe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/ichingshifa-3.1.8.tar.gz
+/ichingshifa-3.1.9.tar.gz
diff --git a/python-ichingshifa.spec b/python-ichingshifa.spec
index b7f024e..fa7ab6a 100644
--- a/python-ichingshifa.spec
+++ b/python-ichingshifa.spec
@@ -1,21 +1,22 @@
%global _empty_manifest_terminate_build 0
Name: python-ichingshifa
-Version: 3.1.8
+Version: 3.1.9
Release: 1
Summary: A package of iching stalk divination in Traditional Chinese Language. Python周易筮法,納甲六爻,起卦不求人。
License: MIT License
URL: https://github.com/kentang2017/iching_shifa
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1f/d9/557d751b8a40ca7296bb3910cc12e2aed66c617b3abfc12a040a1cf82375/ichingshifa-3.1.8.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/42/15/ab95736220192e90dc2716903b54a0ae58e1485be25c7fb14f5aa03b219f/ichingshifa-3.1.9.tar.gz
BuildArch: noarch
%description
-# Python IchingShifa Python 周易 筮法 卜卦 (stalk divination)
+# Python IchingShifa Python 周易 筮法 六爻 卜卦 (stalk divination)
[![Python](https://img.shields.io/pypi/pyversions/ichingshifa)](https://pypi.org/project/ichingshifa/)
[![PIP](https://img.shields.io/pypi/v/ichingshifa)](https://pypi.org/project/ichingshifa/)
[![Downloads](https://img.shields.io/pypi/dm/ichingshifa)](https://pypi.org/project/ichingshifa/)
-[![TG](https://img.shields.io/badge/chat-on%20telegram-blue)](https://t.me/gnatnek)
+[![TG Me](https://img.shields.io/badge/chat-on%20telegram-blue)](https://t.me/gnatnek)
+[![TG Channel](https://img.shields.io/badge/chat-on%20telegram-red)](https://t.me/numerology_coding)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?logo=paypal&style=flat-square)](https://www.paypal.me/kinyeah) 
![alt text](https://upload.wikimedia.org/wikipedia/commons/a/af/French_Polished_Yarrow_stalks_from_LPKaster.jpg "Stalk divination")
@@ -74,15 +75,18 @@ _The above method is advocated by ZhuXi, a Confucian of Song Dynasty_
![alt text](https://github.com/kentang2017/iching_shifa/blob/master/data/results.png?raw=true)
-## **3. 納甲 Najia **:
-
+## **3. 納甲 Najia**
其後漢元帝師從梁人焦延壽的京房開創京氏易學,把筮法加入干支納甲,後世學者再加以五行、五星、六親及二十八宿等加以詳推。
-Later on, an iching expert Jing Fang during the Han Dynasty created a najia method of hexagram interpretation amongiching. which correlates their separate lines with elements of the Chinese calendar.
+Later on, an iching expert Jing Fang during the Han Dynasty created a najia method of hexagram interpretation among iching. which correlates their separate lines with elements of the Chinese calendar.
## **4. 安裝套件 Installation**:
```
+pip install sxtwl
+pip install ephem
+pip install numpy
+pip install cn2an
pip install --upgrade ichingshifa
```
@@ -98,14 +102,40 @@ ichingshifa.Iching().current_bookgua() #按現在的年月日時起卦,此法
ichingshifa.Iching().decode_gua("787987", "庚寅") #手動起卦,從下而上,起本卦之卦納甲
ichingshifa.Iching().qigua_now() #{'日期': '辛丑年戊戌月庚寅日甲申時', '大衍筮法': ['887888', '謙', '謙', {0: '亨,君子有終。', 1: '初六:謙謙君子,用涉大川,吉。', 2: '六二,鳴謙,貞吉。', 3: '九三,勞謙,君子有終,吉。', 4: '六四:無不利,撝謙。', 5: '六五:不富,以其鄰,利用侵伐,無不利。', 6: '上六:鳴謙,利用行師,征邑國。', 7: '彖︰謙,亨,天道下濟而光明,地道卑而上行。天道虧盈而益謙,地道變盈而流謙,鬼神害盈而福謙,人道惡盈而好謙。謙尊而光,卑而不可踰,君子之終也。'}, ('動爻有【0】根。', '主要看【謙】卦彖辭。', '謙,亨,天道下濟而光明,地道卑而上行。天道虧盈而益謙,地道變盈而流謙,鬼神害盈而福謙,人道惡盈而好謙。謙尊而光,卑而不可踰,君子之終也。')], '本卦': {'卦': '謙', '五星': '太白', '世應卦': '五世卦', '星宿': ['亢', '角', '軫', '翼', '張', '星'], '天干': ['丙', '丙', '丙', '癸', '癸', '癸'], '地支': ['辰', '午', '申', '丑', '亥', '酉'], '五行': ['土', '火', '金', '土', '水', '金'], '世應爻': ['初', '應', '三', '四', '世', '六'], '身爻': '兄癸酉金', '六親用神': ['父', '官', '兄', '父', '子', '兄'], '伏神': {'伏神所在爻': '官', '伏神六親': '妻', '伏神排爻數字': 1, '本卦伏神所在爻': '官丙午火', '伏神爻': '妻丁卯木'}, '六獸': ['虎', '武', '龍', '雀', '陳', '蛇'], '納甲': ['丙辰', '丙午', '丙申', '癸丑', '癸亥', '癸酉'], '建月': ['庚申', '辛酉', '壬戌', '癸亥', '甲子', '乙丑'], '積算': [['乙丑', '丙寅', '丁卯', '戊辰', '己巳', '庚午'], ['辛未', '壬申', '癸酉', '甲戌', '乙亥', '丙子'], ['丁丑', '戊寅', '己卯', '庚辰', '辛巳', '壬午'], ['癸未', '甲申', '乙酉', '丙戌', '丁亥', '戊子'], ['己丑', '庚寅', '辛卯', '壬辰', '癸巳', '甲午'], ['乙未', '丙申', '丁酉', '戊戌', '己亥', '庚子'], ['辛丑', '壬寅', '癸卯', '甲辰', '乙巳', '丙午'], ['丁未', '戊申', '己酉', '庚戌', '辛亥', '壬子'], ['癸丑', '甲寅', '乙卯', '丙辰', '丁巳', '戊午'], ['己未', '庚申', '辛酉', '壬戌', '癸亥', '甲子']]}, '之卦': {'卦': '謙', '五星': '太白', '世應卦': '五世卦', '星宿': ['亢', '角', '軫', '翼', '張', '星'], '天干': ['丙', '丙', '丙', '癸', '癸', '癸'], '地支': ['辰', '午', '申', '丑', '亥', '酉'], '五行': ['土', '火', '金', '土', '水', '金'], '世應爻': ['初', '應', '三', '四', '世', '六'], '身爻': '兄癸酉金', '六親用神': ['父', '官', '兄', '父', '子', '兄'], '伏神': {'伏神所在爻': '官', '伏神六親': '妻', '伏神排爻數字': 1, '本卦伏神所在爻': '官丙午火', '伏神爻': '妻丁卯木'}, '六獸': ['虎', '武', '龍', '雀', '陳', '蛇'], '納甲': ['丙辰', '丙午', '丙申', '癸丑', '癸亥', '癸酉'], '建月': ['庚申', '辛酉', '壬戌', '癸亥', '甲子', '乙丑'], '積算': [['乙丑', '丙寅', '丁卯', '戊辰', '己巳', '庚午'], ['辛未', '壬申', '癸酉', '甲戌', '乙亥', '丙子'], ['丁丑', '戊寅', '己卯', '庚辰', '辛巳', '壬午'], ['癸未', '甲申', '乙酉', '丙戌', '丁亥', '戊子'], ['己丑', '庚寅', '辛卯', '壬辰', '癸巳', '甲午'], ['乙未', '丙申', '丁酉', '戊戌', '己亥', '庚子'], ['辛丑', '壬寅', '癸卯', '甲辰', '乙巳', '丙午'], ['丁未', '戊申', '己酉', '庚戌', '辛亥', '壬子'], ['癸丑', '甲寅', '乙卯', '丙辰', '丁巳', '戊午'], ['己未', '庚申', '辛酉', '壬戌', '癸亥', '甲子']]}, '飛神': ''}
+print(Iching().display_pan(2023,5,27,16,0))
+起卦時間︰2023年5月27日12時0分
+農曆︰二零二三年四月九日
+干支︰癸卯年 丁巳月 乙酉日 壬午時
+
+          泰卦                泰卦
+六神  伏神  本   卦              之   卦
+玄武       星 子癸酉金 應▅▅ ▅▅      星 子癸酉金 應▅▅ ▅▅  
+白虎       張 妻癸亥水 五▅▅ ▅▅      張 妻癸亥水 五▅▅ ▅▅
+螣蛇       翼 兄癸丑土 四▅▅ ▅▅      翼 兄癸丑土 四▅▅ ▅▅
+勾陳       軫 兄甲辰土 世▅▅▅▅▅      軫 兄甲辰土 世▅▅▅▅▅
+朱雀       角 官甲寅木 二▅▅▅▅▅      角 官甲寅木 二▅▅▅▅▅
+青龍       亢 妻甲子水 初▅▅▅▅▅      亢 妻甲子水 初▅▅▅▅▅
+
+
+【大衍筮法】
+求得【泰之泰】,動爻有【0】根。泰,小往大來,吉亨,則是天地交而萬物通也,上下交而其志同也。內陽而外陰,內健而外順,內君子而外小人。君子道長,小人道消也。
+
+泰卦
+【卦辭】︰小往大來,吉亨。
+【彖】︰泰,小往大來,吉亨,則是天地交而萬物通也,上下交而其志同也。內陽而外陰,內健而外順,內君子而外小人。君子道長,小人道消也。
+上六:城復於隍,勿用師。 自邑告命,貞吝。
+六五:帝乙歸妹,以祉元吉。
+六四:翩翩不富,以其鄰,不戒以孚。
+九三:無平不陂,無往不復,艱貞無咎。 勿恤其孚,於食有福。
+九二:包荒,用馮河,不遐遺,朋亡,得尚於中行。
+初九:拔茅茹,以其夤,征吉。
+
```
## **6. 軟件 Application**
A mobile app of Ichingshifa written in Kivy
https://github.com/kentang2017/iching_shifa/blob/master/kinshifa-0.2-release.apk
-
-
%package -n python3-ichingshifa
Summary: A package of iching stalk divination in Traditional Chinese Language. Python周易筮法,納甲六爻,起卦不求人。
Provides: python-ichingshifa
@@ -113,12 +143,13 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-ichingshifa
-# Python IchingShifa Python 周易 筮法 卜卦 (stalk divination)
+# Python IchingShifa Python 周易 筮法 六爻 卜卦 (stalk divination)
[![Python](https://img.shields.io/pypi/pyversions/ichingshifa)](https://pypi.org/project/ichingshifa/)
[![PIP](https://img.shields.io/pypi/v/ichingshifa)](https://pypi.org/project/ichingshifa/)
[![Downloads](https://img.shields.io/pypi/dm/ichingshifa)](https://pypi.org/project/ichingshifa/)
-[![TG](https://img.shields.io/badge/chat-on%20telegram-blue)](https://t.me/gnatnek)
+[![TG Me](https://img.shields.io/badge/chat-on%20telegram-blue)](https://t.me/gnatnek)
+[![TG Channel](https://img.shields.io/badge/chat-on%20telegram-red)](https://t.me/numerology_coding)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?logo=paypal&style=flat-square)](https://www.paypal.me/kinyeah) 
![alt text](https://upload.wikimedia.org/wikipedia/commons/a/af/French_Polished_Yarrow_stalks_from_LPKaster.jpg "Stalk divination")
@@ -177,15 +208,18 @@ _The above method is advocated by ZhuXi, a Confucian of Song Dynasty_
![alt text](https://github.com/kentang2017/iching_shifa/blob/master/data/results.png?raw=true)
-## **3. 納甲 Najia **:
-
+## **3. 納甲 Najia**
其後漢元帝師從梁人焦延壽的京房開創京氏易學,把筮法加入干支納甲,後世學者再加以五行、五星、六親及二十八宿等加以詳推。
-Later on, an iching expert Jing Fang during the Han Dynasty created a najia method of hexagram interpretation amongiching. which correlates their separate lines with elements of the Chinese calendar.
+Later on, an iching expert Jing Fang during the Han Dynasty created a najia method of hexagram interpretation among iching. which correlates their separate lines with elements of the Chinese calendar.
## **4. 安裝套件 Installation**:
```
+pip install sxtwl
+pip install ephem
+pip install numpy
+pip install cn2an
pip install --upgrade ichingshifa
```
@@ -201,24 +235,51 @@ ichingshifa.Iching().current_bookgua() #按現在的年月日時起卦,此法
ichingshifa.Iching().decode_gua("787987", "庚寅") #手動起卦,從下而上,起本卦之卦納甲
ichingshifa.Iching().qigua_now() #{'日期': '辛丑年戊戌月庚寅日甲申時', '大衍筮法': ['887888', '謙', '謙', {0: '亨,君子有終。', 1: '初六:謙謙君子,用涉大川,吉。', 2: '六二,鳴謙,貞吉。', 3: '九三,勞謙,君子有終,吉。', 4: '六四:無不利,撝謙。', 5: '六五:不富,以其鄰,利用侵伐,無不利。', 6: '上六:鳴謙,利用行師,征邑國。', 7: '彖︰謙,亨,天道下濟而光明,地道卑而上行。天道虧盈而益謙,地道變盈而流謙,鬼神害盈而福謙,人道惡盈而好謙。謙尊而光,卑而不可踰,君子之終也。'}, ('動爻有【0】根。', '主要看【謙】卦彖辭。', '謙,亨,天道下濟而光明,地道卑而上行。天道虧盈而益謙,地道變盈而流謙,鬼神害盈而福謙,人道惡盈而好謙。謙尊而光,卑而不可踰,君子之終也。')], '本卦': {'卦': '謙', '五星': '太白', '世應卦': '五世卦', '星宿': ['亢', '角', '軫', '翼', '張', '星'], '天干': ['丙', '丙', '丙', '癸', '癸', '癸'], '地支': ['辰', '午', '申', '丑', '亥', '酉'], '五行': ['土', '火', '金', '土', '水', '金'], '世應爻': ['初', '應', '三', '四', '世', '六'], '身爻': '兄癸酉金', '六親用神': ['父', '官', '兄', '父', '子', '兄'], '伏神': {'伏神所在爻': '官', '伏神六親': '妻', '伏神排爻數字': 1, '本卦伏神所在爻': '官丙午火', '伏神爻': '妻丁卯木'}, '六獸': ['虎', '武', '龍', '雀', '陳', '蛇'], '納甲': ['丙辰', '丙午', '丙申', '癸丑', '癸亥', '癸酉'], '建月': ['庚申', '辛酉', '壬戌', '癸亥', '甲子', '乙丑'], '積算': [['乙丑', '丙寅', '丁卯', '戊辰', '己巳', '庚午'], ['辛未', '壬申', '癸酉', '甲戌', '乙亥', '丙子'], ['丁丑', '戊寅', '己卯', '庚辰', '辛巳', '壬午'], ['癸未', '甲申', '乙酉', '丙戌', '丁亥', '戊子'], ['己丑', '庚寅', '辛卯', '壬辰', '癸巳', '甲午'], ['乙未', '丙申', '丁酉', '戊戌', '己亥', '庚子'], ['辛丑', '壬寅', '癸卯', '甲辰', '乙巳', '丙午'], ['丁未', '戊申', '己酉', '庚戌', '辛亥', '壬子'], ['癸丑', '甲寅', '乙卯', '丙辰', '丁巳', '戊午'], ['己未', '庚申', '辛酉', '壬戌', '癸亥', '甲子']]}, '之卦': {'卦': '謙', '五星': '太白', '世應卦': '五世卦', '星宿': ['亢', '角', '軫', '翼', '張', '星'], '天干': ['丙', '丙', '丙', '癸', '癸', '癸'], '地支': ['辰', '午', '申', '丑', '亥', '酉'], '五行': ['土', '火', '金', '土', '水', '金'], '世應爻': ['初', '應', '三', '四', '世', '六'], '身爻': '兄癸酉金', '六親用神': ['父', '官', '兄', '父', '子', '兄'], '伏神': {'伏神所在爻': '官', '伏神六親': '妻', '伏神排爻數字': 1, '本卦伏神所在爻': '官丙午火', '伏神爻': '妻丁卯木'}, '六獸': ['虎', '武', '龍', '雀', '陳', '蛇'], '納甲': ['丙辰', '丙午', '丙申', '癸丑', '癸亥', '癸酉'], '建月': ['庚申', '辛酉', '壬戌', '癸亥', '甲子', '乙丑'], '積算': [['乙丑', '丙寅', '丁卯', '戊辰', '己巳', '庚午'], ['辛未', '壬申', '癸酉', '甲戌', '乙亥', '丙子'], ['丁丑', '戊寅', '己卯', '庚辰', '辛巳', '壬午'], ['癸未', '甲申', '乙酉', '丙戌', '丁亥', '戊子'], ['己丑', '庚寅', '辛卯', '壬辰', '癸巳', '甲午'], ['乙未', '丙申', '丁酉', '戊戌', '己亥', '庚子'], ['辛丑', '壬寅', '癸卯', '甲辰', '乙巳', '丙午'], ['丁未', '戊申', '己酉', '庚戌', '辛亥', '壬子'], ['癸丑', '甲寅', '乙卯', '丙辰', '丁巳', '戊午'], ['己未', '庚申', '辛酉', '壬戌', '癸亥', '甲子']]}, '飛神': ''}
+print(Iching().display_pan(2023,5,27,16,0))
+起卦時間︰2023年5月27日12時0分
+農曆︰二零二三年四月九日
+干支︰癸卯年 丁巳月 乙酉日 壬午時
+
+          泰卦                泰卦
+六神  伏神  本   卦              之   卦
+玄武       星 子癸酉金 應▅▅ ▅▅      星 子癸酉金 應▅▅ ▅▅  
+白虎       張 妻癸亥水 五▅▅ ▅▅      張 妻癸亥水 五▅▅ ▅▅
+螣蛇       翼 兄癸丑土 四▅▅ ▅▅      翼 兄癸丑土 四▅▅ ▅▅
+勾陳       軫 兄甲辰土 世▅▅▅▅▅      軫 兄甲辰土 世▅▅▅▅▅
+朱雀       角 官甲寅木 二▅▅▅▅▅      角 官甲寅木 二▅▅▅▅▅
+青龍       亢 妻甲子水 初▅▅▅▅▅      亢 妻甲子水 初▅▅▅▅▅
+
+
+【大衍筮法】
+求得【泰之泰】,動爻有【0】根。泰,小往大來,吉亨,則是天地交而萬物通也,上下交而其志同也。內陽而外陰,內健而外順,內君子而外小人。君子道長,小人道消也。
+
+泰卦
+【卦辭】︰小往大來,吉亨。
+【彖】︰泰,小往大來,吉亨,則是天地交而萬物通也,上下交而其志同也。內陽而外陰,內健而外順,內君子而外小人。君子道長,小人道消也。
+上六:城復於隍,勿用師。 自邑告命,貞吝。
+六五:帝乙歸妹,以祉元吉。
+六四:翩翩不富,以其鄰,不戒以孚。
+九三:無平不陂,無往不復,艱貞無咎。 勿恤其孚,於食有福。
+九二:包荒,用馮河,不遐遺,朋亡,得尚於中行。
+初九:拔茅茹,以其夤,征吉。
+
```
## **6. 軟件 Application**
A mobile app of Ichingshifa written in Kivy
https://github.com/kentang2017/iching_shifa/blob/master/kinshifa-0.2-release.apk
-
-
%package help
Summary: Development documents and examples for ichingshifa
Provides: python3-ichingshifa-doc
%description help
-# Python IchingShifa Python 周易 筮法 卜卦 (stalk divination)
+# Python IchingShifa Python 周易 筮法 六爻 卜卦 (stalk divination)
[![Python](https://img.shields.io/pypi/pyversions/ichingshifa)](https://pypi.org/project/ichingshifa/)
[![PIP](https://img.shields.io/pypi/v/ichingshifa)](https://pypi.org/project/ichingshifa/)
[![Downloads](https://img.shields.io/pypi/dm/ichingshifa)](https://pypi.org/project/ichingshifa/)
-[![TG](https://img.shields.io/badge/chat-on%20telegram-blue)](https://t.me/gnatnek)
+[![TG Me](https://img.shields.io/badge/chat-on%20telegram-blue)](https://t.me/gnatnek)
+[![TG Channel](https://img.shields.io/badge/chat-on%20telegram-red)](https://t.me/numerology_coding)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?logo=paypal&style=flat-square)](https://www.paypal.me/kinyeah) 
![alt text](https://upload.wikimedia.org/wikipedia/commons/a/af/French_Polished_Yarrow_stalks_from_LPKaster.jpg "Stalk divination")
@@ -277,15 +338,18 @@ _The above method is advocated by ZhuXi, a Confucian of Song Dynasty_
![alt text](https://github.com/kentang2017/iching_shifa/blob/master/data/results.png?raw=true)
-## **3. 納甲 Najia **:
-
+## **3. 納甲 Najia**
其後漢元帝師從梁人焦延壽的京房開創京氏易學,把筮法加入干支納甲,後世學者再加以五行、五星、六親及二十八宿等加以詳推。
-Later on, an iching expert Jing Fang during the Han Dynasty created a najia method of hexagram interpretation amongiching. which correlates their separate lines with elements of the Chinese calendar.
+Later on, an iching expert Jing Fang during the Han Dynasty created a najia method of hexagram interpretation among iching. which correlates their separate lines with elements of the Chinese calendar.
## **4. 安裝套件 Installation**:
```
+pip install sxtwl
+pip install ephem
+pip install numpy
+pip install cn2an
pip install --upgrade ichingshifa
```
@@ -301,16 +365,42 @@ ichingshifa.Iching().current_bookgua() #按現在的年月日時起卦,此法
ichingshifa.Iching().decode_gua("787987", "庚寅") #手動起卦,從下而上,起本卦之卦納甲
ichingshifa.Iching().qigua_now() #{'日期': '辛丑年戊戌月庚寅日甲申時', '大衍筮法': ['887888', '謙', '謙', {0: '亨,君子有終。', 1: '初六:謙謙君子,用涉大川,吉。', 2: '六二,鳴謙,貞吉。', 3: '九三,勞謙,君子有終,吉。', 4: '六四:無不利,撝謙。', 5: '六五:不富,以其鄰,利用侵伐,無不利。', 6: '上六:鳴謙,利用行師,征邑國。', 7: '彖︰謙,亨,天道下濟而光明,地道卑而上行。天道虧盈而益謙,地道變盈而流謙,鬼神害盈而福謙,人道惡盈而好謙。謙尊而光,卑而不可踰,君子之終也。'}, ('動爻有【0】根。', '主要看【謙】卦彖辭。', '謙,亨,天道下濟而光明,地道卑而上行。天道虧盈而益謙,地道變盈而流謙,鬼神害盈而福謙,人道惡盈而好謙。謙尊而光,卑而不可踰,君子之終也。')], '本卦': {'卦': '謙', '五星': '太白', '世應卦': '五世卦', '星宿': ['亢', '角', '軫', '翼', '張', '星'], '天干': ['丙', '丙', '丙', '癸', '癸', '癸'], '地支': ['辰', '午', '申', '丑', '亥', '酉'], '五行': ['土', '火', '金', '土', '水', '金'], '世應爻': ['初', '應', '三', '四', '世', '六'], '身爻': '兄癸酉金', '六親用神': ['父', '官', '兄', '父', '子', '兄'], '伏神': {'伏神所在爻': '官', '伏神六親': '妻', '伏神排爻數字': 1, '本卦伏神所在爻': '官丙午火', '伏神爻': '妻丁卯木'}, '六獸': ['虎', '武', '龍', '雀', '陳', '蛇'], '納甲': ['丙辰', '丙午', '丙申', '癸丑', '癸亥', '癸酉'], '建月': ['庚申', '辛酉', '壬戌', '癸亥', '甲子', '乙丑'], '積算': [['乙丑', '丙寅', '丁卯', '戊辰', '己巳', '庚午'], ['辛未', '壬申', '癸酉', '甲戌', '乙亥', '丙子'], ['丁丑', '戊寅', '己卯', '庚辰', '辛巳', '壬午'], ['癸未', '甲申', '乙酉', '丙戌', '丁亥', '戊子'], ['己丑', '庚寅', '辛卯', '壬辰', '癸巳', '甲午'], ['乙未', '丙申', '丁酉', '戊戌', '己亥', '庚子'], ['辛丑', '壬寅', '癸卯', '甲辰', '乙巳', '丙午'], ['丁未', '戊申', '己酉', '庚戌', '辛亥', '壬子'], ['癸丑', '甲寅', '乙卯', '丙辰', '丁巳', '戊午'], ['己未', '庚申', '辛酉', '壬戌', '癸亥', '甲子']]}, '之卦': {'卦': '謙', '五星': '太白', '世應卦': '五世卦', '星宿': ['亢', '角', '軫', '翼', '張', '星'], '天干': ['丙', '丙', '丙', '癸', '癸', '癸'], '地支': ['辰', '午', '申', '丑', '亥', '酉'], '五行': ['土', '火', '金', '土', '水', '金'], '世應爻': ['初', '應', '三', '四', '世', '六'], '身爻': '兄癸酉金', '六親用神': ['父', '官', '兄', '父', '子', '兄'], '伏神': {'伏神所在爻': '官', '伏神六親': '妻', '伏神排爻數字': 1, '本卦伏神所在爻': '官丙午火', '伏神爻': '妻丁卯木'}, '六獸': ['虎', '武', '龍', '雀', '陳', '蛇'], '納甲': ['丙辰', '丙午', '丙申', '癸丑', '癸亥', '癸酉'], '建月': ['庚申', '辛酉', '壬戌', '癸亥', '甲子', '乙丑'], '積算': [['乙丑', '丙寅', '丁卯', '戊辰', '己巳', '庚午'], ['辛未', '壬申', '癸酉', '甲戌', '乙亥', '丙子'], ['丁丑', '戊寅', '己卯', '庚辰', '辛巳', '壬午'], ['癸未', '甲申', '乙酉', '丙戌', '丁亥', '戊子'], ['己丑', '庚寅', '辛卯', '壬辰', '癸巳', '甲午'], ['乙未', '丙申', '丁酉', '戊戌', '己亥', '庚子'], ['辛丑', '壬寅', '癸卯', '甲辰', '乙巳', '丙午'], ['丁未', '戊申', '己酉', '庚戌', '辛亥', '壬子'], ['癸丑', '甲寅', '乙卯', '丙辰', '丁巳', '戊午'], ['己未', '庚申', '辛酉', '壬戌', '癸亥', '甲子']]}, '飛神': ''}
+print(Iching().display_pan(2023,5,27,16,0))
+起卦時間︰2023年5月27日12時0分
+農曆︰二零二三年四月九日
+干支︰癸卯年 丁巳月 乙酉日 壬午時
+
+          泰卦                泰卦
+六神  伏神  本   卦              之   卦
+玄武       星 子癸酉金 應▅▅ ▅▅      星 子癸酉金 應▅▅ ▅▅  
+白虎       張 妻癸亥水 五▅▅ ▅▅      張 妻癸亥水 五▅▅ ▅▅
+螣蛇       翼 兄癸丑土 四▅▅ ▅▅      翼 兄癸丑土 四▅▅ ▅▅
+勾陳       軫 兄甲辰土 世▅▅▅▅▅      軫 兄甲辰土 世▅▅▅▅▅
+朱雀       角 官甲寅木 二▅▅▅▅▅      角 官甲寅木 二▅▅▅▅▅
+青龍       亢 妻甲子水 初▅▅▅▅▅      亢 妻甲子水 初▅▅▅▅▅
+
+
+【大衍筮法】
+求得【泰之泰】,動爻有【0】根。泰,小往大來,吉亨,則是天地交而萬物通也,上下交而其志同也。內陽而外陰,內健而外順,內君子而外小人。君子道長,小人道消也。
+
+泰卦
+【卦辭】︰小往大來,吉亨。
+【彖】︰泰,小往大來,吉亨,則是天地交而萬物通也,上下交而其志同也。內陽而外陰,內健而外順,內君子而外小人。君子道長,小人道消也。
+上六:城復於隍,勿用師。 自邑告命,貞吝。
+六五:帝乙歸妹,以祉元吉。
+六四:翩翩不富,以其鄰,不戒以孚。
+九三:無平不陂,無往不復,艱貞無咎。 勿恤其孚,於食有福。
+九二:包荒,用馮河,不遐遺,朋亡,得尚於中行。
+初九:拔茅茹,以其夤,征吉。
+
```
## **6. 軟件 Application**
A mobile app of Ichingshifa written in Kivy
https://github.com/kentang2017/iching_shifa/blob/master/kinshifa-0.2-release.apk
-
-
%prep
-%autosetup -n ichingshifa-3.1.8
+%autosetup -n ichingshifa-3.1.9
%build
%py3_build
@@ -324,20 +414,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
- find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
- find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
- find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
- find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
- find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -350,5 +440,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 3.1.8-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 3.1.9-1
- Package Spec generated
diff --git a/sources b/sources
index 6fd7369..738ef99 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d938084ea8e7ce976f5a2171ab81492d ichingshifa-3.1.8.tar.gz
+7f67a4892d115d95ab1c292a5a96e0db ichingshifa-3.1.9.tar.gz