基于周易蓍草占卜原理实现的中国古占卜.
Project description
Diviner
基于周易蓍草占卜原理实现的中国古占卜.
感谢熊逸先生的《周易江湖》对本项目提供的基本原理支持.
安装
使用pip
安装:
pip install uvdiviner
使用
完整占卜
from uvdiviner.main import main
if __name__ == "__main__":
main()
快速占卜
from uvdiviner.divine import divine
def main():
diagram = divine()
print("本卦: ", diagram.name)
diagram.variate()
print("变卦: ", diagram.name)
if __name__ == "__main__":
main()
快速检定
执行以下代码进行快速吉凶检定:
from uvdiviner.divine import quick_check
print(quick_check()) # 返回 True 或 False
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
uvdiviner-2.2.0.tar.gz
(28.7 kB
view hashes)
Built Distribution
uvdiviner-2.2.0-py3-none-any.whl
(29.3 kB
view hashes)
Close
Hashes for uvdiviner-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8df1e55374e6f3c533238e12248742b7c357b1ded6fb9549c6dbc63dba886174 |
|
MD5 | 6c97b494a38da5d864e9d37423d06fcc |
|
BLAKE2b-256 | cba7b8e598fd768c03a98847415a65c5d2106312a054fffa4b0442440a530825 |