基于周易蓍草占卜原理实现的中国古占卜.
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 details)
Built Distribution
uvdiviner-2.2.0-py3-none-any.whl
(29.3 kB
view details)
File details
Details for the file uvdiviner-2.2.0.tar.gz
.
File metadata
- Download URL: uvdiviner-2.2.0.tar.gz
- Upload date:
- Size: 28.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7507f4a6ca99f69cd9de379e7a655134b3e6ab2d08d974b4a6a6de37b4ff22e2 |
|
MD5 | b76ccc98577100e6b088eca27d9ee9d1 |
|
BLAKE2b-256 | 990ce30726ce3142a6966160c800e0871340aa217290b513614f4f14c055bcae |
Provenance
File details
Details for the file uvdiviner-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: uvdiviner-2.2.0-py3-none-any.whl
- Upload date:
- Size: 29.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8df1e55374e6f3c533238e12248742b7c357b1ded6fb9549c6dbc63dba886174 |
|
MD5 | 6c97b494a38da5d864e9d37423d06fcc |
|
BLAKE2b-256 | cba7b8e598fd768c03a98847415a65c5d2106312a054fffa4b0442440a530825 |