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