command
module
Version:
v0.0.0-...-d14e825
Opens a new window with list of versions in this module.
Published: Oct 26, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
功能简述:
主要功能:
- 随机产生一卦,并给予描述;
- 查询卦象的具体描述;
- 每一爻的含义,爻变的结果等;
辅助功能:
- 爬虫获取卦象信息;
- 数据存储在本地文件;
- 在控制台画出对应的卦象;
卦数据结构抽象:
- 6位0-1字符串;
- 0代表阴爻,1代表阳爻;
- 索引0为上爻,索引5为初爻;
- 例如:"000000":坤为地卦 "111111":乾为天卦
先天卦算法:
元堂爻算法:
后天卦算法:
先天卦元堂爻变卦后得到后天卦
64卦卦序:
易经64卦的顺序如下:
1.乾卦
2.坤卦
3.屯卦
4.蒙卦
5.需卦
6.讼卦
7.师卦
8.比卦
9.小畜卦
10.履卦
11.泰卦
12.否卦
13.同人卦
14.大有卦
15.谦卦
16.豫卦
17.随卦
18.蛊卦
19.临卦
20.观卦
21.噬嗑卦
22.贲卦
23.剥卦
24.复卦
25.无妄卦
26.大畜卦
27.颐卦
28.大过卦
29.坎卦
30.离卦
31.咸卦
32.恒卦
33.遁卦
34.大壮卦
35.晋卦
36.明夷卦
37.家人卦
38.睽卦
39.蹇卦
40.解卦
41.损卦
42.益卦
43.夬卦
44.姤卦
45.萃卦
46.升卦
47.困卦
48.井卦
49.革卦
50.鼎卦
51.震卦
52.艮卦
53.渐卦
54.归妹卦
55.丰卦
56.旅卦
57.巽卦
58.兑卦
59.涣卦
60.节卦
61.中孚卦
62.小过卦
63.既济卦
64.未济卦
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
|
|
|
|
|
|
|
|
tools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.