doushu(斗数)
doushu是ziwei的安装与导入别名,提供紫微斗数排盘和有出处的知识查询。
它安装同版本的ziwei,从对应子模块转发公开函数、类型、枚举与数据,不包含另一套排盘实现。
python -m pip install doushu
from doushu.knowledge import load_catalog
print(load_catalog().get("concept.star.ziwei").id)
输出为concept.star.ziwei。排盘所需的出生资料与口径配置见完整命盘指南。
原有ziwei.*导入继续可用,两种路径的公开对象相同。
请从对应子模块路径导入,不依赖包入口自动加载子模块;公开模块见API参考。
只提供纯Python wheel,Python与平台范围和主包相同;主包的原生历法依赖仍有平台限制。 使用独立虚拟环境,详见安装要求。
Metadata
Release files for doushu 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| doushu-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for doushu-0.4.1-py3-none-any.whl |
Release files / doushu-0.4.1-py3-none-any.whl
| Download URL | doushu-0.4.1-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7162aa6c565870c1293372cb7f8e22de808bd28c2ef5238f116501f04d1dcaf
|
|
BLAKE2b-256 checksum How to use checksums |
70da3f7909ec1f2435131e59663afc7f8ddf553add487d477d1332dca08ad179
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logSecurity for doushu 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for doushu-0.4.1-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.