An alternative Iching divination tool name Tai Xuan created by a Chinese Confucian Yang Xiong (BC53 - 18CE) from Xi Han Dynasty.
Project description
# Python Taixuanshifa 太玄筮法
1. Introduction 導讀︰
n alternative Iching divination tool name Tai Xuan created by a Chinese Confucian Yang Xiong (BC53 - 18CE) from Xi Han Dynasty.
《太玄》,又稱《太玄經》、《揚子太玄經》或《玄經》,是西漢學者揚雄的一部著作,用來闡述他的哲學體系和宇宙論。《四庫全書》中為避康熙皇帝的名諱,改稱其為《太元經》。《新唐書·藝文志》作十二卷,《文獻通考》作十卷。
《太玄》糅合了儒家、道家和陰陽家的學說。其首先從《老子》「玄之又玄」中概括出「玄」(玄奧)的概念,以玄為中心,按天地人三道的分類建立了一個形上學體系。《太玄》認為一切事物從發展到旺盛到消亡都可分成九個階段。
唐朝詩人李白的《俠客行》最後一句「白首太玄經」,即指此書。
太元方州部家八十一首圖
2. Installation 安裝套件
pip install taixuanshifa
3. Start Divination 起卦
from taixuanshifa import taixuanshifa
taixuanshifa.qigua( )
{'卦': {'眾': '陽氣信高懷齊,萬物宣明嫭大眾多。'}, '初一': '冥兵始,火入耳,農輟馬穀,尸將班于田。測曰,「冥兵」之「始」、始則不臧也。', '次二': '兵無刃,師無陳,麟或賓之,溫。測曰,「兵無刃」、德服無方也。', '次三': '軍或纍車,丈人摧孥,內蹈之瑕。測曰,「軍或纍車」、廟戰內傷也。', '次四': '虎虓振廞,豹勝其祕否。測曰,「虎虓振廞」、如鷹之揚也。', '次五': '躆戰喈喈,若熊若螭。測曰,「躆戰喈喈」、恃力作王也。', '次六': '大兵雷霆,震其耳,維用詘腹。測曰,「大兵雷霆」、威震無疆也。', '次七': '旌旗絓羅,干戈蛾蛾,師孕言之,哭且䁲。測曰,「旌旗絓羅」、大恨民也。', '次八': '兵衰衰,見其病,不見輿尸。測曰,「兵衰衰」、不血刃也。', '上九': '斧刃缺,其柯折,可以止,不可以伐,往血。測曰,「刃缺」「柯折」、將不足往也。'}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file taixuanshifa-1.0.8.tar.gz
.
File metadata
- Download URL: taixuanshifa-1.0.8.tar.gz
- Upload date:
- Size: 34.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be2dfc1f6d6972581d36f8c68c3514688da0d013d8e6038086e9e1db7e7dc89a |
|
MD5 | bcee1a66326fc9e1b5d04aedb9c071bd |
|
BLAKE2b-256 | bfabeaa784877ba23cdf61e9a5e654d4c46e919f29e8acebd04fac252d0042db |
File details
Details for the file taixuanshifa-1.0.8-py3-none-any.whl
.
File metadata
- Download URL: taixuanshifa-1.0.8-py3-none-any.whl
- Upload date:
- Size: 88.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbb425017d3a86bb97fed1b9f3935918a3629437a47f5b801e18ee470e3943e7 |
|
MD5 | 0a653af3dead0bde4a3371cc2f3c6bc2 |
|
BLAKE2b-256 | 46d7d0d495974c6edde90e16880a4f28dc2bb1645374a9ea4659ddd4ef50571c |